sergekostenchuk/ui-ux-agent-skill-system

cursor-reveal-hero

Build, repair, tune, and validate interactive cursor-trail mask reveal hero effects in frontend projects.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/sergekostenchuk/ui-ux-agent-skill-system --skill cursor-reveal-hero

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Cursor Reveal Hero

Use this skill to create or fix a soft cursor-trail reveal effect where a base image is always visible and a reveal image appears only through a fading mask.

Core formula:

text
final = baseImage + revealImage * softCursorTrailMask

Modes

  • build: create the effect from scratch in an existing app or from the vanilla template.
  • repair: diagnose broken image loading, mask compositing, pointer handling, sliders, fade, resize, or cache behavior.
  • tune: adjust radius, feather, fade, strength, opacity, and momentum for the intended feel.
  • validate: run browser/canvas checks and inspect screenshots.

Workflow

  1. If the user is unsure whether the two image layers match, use $image-layer-alignment-validator first.
  2. Identify the project stack. Prefer the existing framework and asset pipeline.
  3. For a vanilla implementation, copy assets/vanilla-template/ and replace the image paths.
  4. Keep the page focused on the actual reveal surface. Do not add marketing copy, hero text, or unrelated content unless requested.
  5. Implement the canvas architecture from references/canvas-compositing.md.
  6. Add direct controls for tuning: radius, feather, fade, strength, opacity, and momentum.
  7. Expose window.revealSettings and a clear-mask function in development builds when useful.
  8. Run scripts/smoke-check-reveal.mjs against the local URL when a browser target is available.
  9. Report exact changed files, current tuning values, and validation outcome.

Implementation Rules

  • Use one visible canvas and offscreen canvases for mask and reveal layers.
  • Render at device-pixel-ratio scale while keeping CSS size stable.
  • Use pointer events and handle mouse, touch, and pen input.
  • Use a soft radial gradient, not a hard hover circle.
  • Fade old mask content with destination-out.
  • Apply the mask to the reveal layer with destination-in.
  • Draw the base layer every frame before drawing the masked reveal layer.
  • Clear the accumulated mask when control values change so old trails do not confuse tuning.
  • Bump cache-buster query strings or hard refresh when static files are cached.

Common Repair Targets

  • Sliders move but settings do not change: bind input and change, update textContent, clear the mask after setting updates.
  • Reveal acts like a hard magnifier: increase feather, radius, and fade smoothness; reduce opacity if the reveal dominates.
  • Trail never disappears: increase fade or verify destination-out is applied to the mask canvas.
  • Reveal image always visible: check globalCompositeOperation, mask reset, and reveal canvas clear order.
  • Canvas is blurry: fix DPR scaling and resize handling.
  • Effect breaks after resize: rebuild all canvas backing stores and redraw.

Safety And Privacy

  • Keep image assets local unless the user explicitly asks for external generation, hosting, or analysis.
  • Do not overwrite original base/reveal assets while tuning the effect.
  • Do not add analytics, remote tracking, or third-party runtime dependencies to the effect unless the project already uses them and the user wants that path.
  • For browser validation, prefer local URLs and file URLs. Do not automate authenticated or private production pages unless the user explicitly scopes that target.

Validation And Eval

  • Use scripts/smoke-check-reveal.mjs when a URL is available.
  • Inspect a screenshot or live page after automated checks; smoke success does not prove visual quality.
  • Verify slider behavior manually when controls were changed.
  • Re-test after resizing the viewport and after cache-buster changes.

Resources

  • Read references/canvas-compositing.md before implementing or repairing the core render loop.
  • Read references/tuning-and-failure-modes.md when adjusting feel or diagnosing controls.
  • Read references/browser-validation.md before final visual checks.
  • Copy assets/vanilla-template/ for a standalone HTML/CSS/JS starter.
  • Run scripts/smoke-check-reveal.mjs for browser evidence when a local URL is available.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
sergekostenchuk
커뮤니티

admin-ui-builder

Use when admin/CMS/back-office screens need to be built or specified after admin-ui-orchestrator defines roles, permissions, workflows, and safety gates. Covers tables, forms, editors, moderation queues, dashboards, CRUD surfaces, and state coverage without production destructive actions.

설치 수
1
GitHub Stars
32
업데이트
9월 13일
sergekostenchuk
커뮤니티

admin-ui-orchestrator

Use when a project needs admin/CMS/back-office UI architecture: roles, permissions, content workflows, AI assistant boundaries, audit logs, destructive-action confirmations, and builder handoff. Planning only; do not perform production admin actions or expose secrets.

설치 수
1
GitHub Stars
32
업데이트
9월 13일
sergekostenchuk
커뮤니티

analytics-setup-architect

Use when a website or web app needs privacy-aware analytics architecture: GA4, Yandex Metrica, self-hosted analytics, consent, UTM, event taxonomy, funnels, dashboards, and launch verification. Do not mutate real analytics accounts or store credentials without explicit approval.

설치 수
1
GitHub Stars
32
업데이트
9월 13일
sergekostenchuk
커뮤니티

figma-canvas-editor

Create and edit native Figma canvas objects with MCP when explicitly scoped. Use this skill when the user asks to add or change frames, sections, components, instances, auto layout, variables, styles, FigJam objects, connectors, Slides objects, or selected nodes in Figma, and when the task requires mutation evidence, rollback-aware scope, and design-system consistency.

설치 수
1
GitHub Stars
32
업데이트
9월 13일