.claude/skills/align-design/SKILL.md
Align frontend component styling to match HTML mockup pixel-for-pixel. Reads mockup CSS, compares with component, fixes all differences. Use when user wants to match a component to its mockup or mentions /align-design command.
npx skillsauth add rakovi4/continue-example align-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Update a frontend component's appearance to match its HTML mockup exactly.
/align-design "Registration"
/align-design 02 # By story number
/align-design RegistrationPage.tsx # By component file
/align-design # Interactive selection
.claude/tech/{browser-testing}/templates/align-design-checklist.mdProductSpecification/stories/NN-story-name/mockups/desktop/ and component in frontend/src/features/technology.md Conventions), Selenium test if exists, visual checkdata-testid attributes — Selenium tests depend on them<form> in mockup must be outside <form> in componentRead ProductSpecification/stories.md for story number resolution.
testing
Run use-case module tests quickly. Use when user wants to run use-case tests or mentions /test-usecase command.
development
Generate BDD test specifications for story in 6 categories (API, UI, Load, Infrastructure, Security, Integration). Use when user wants to create test cases or mentions /test-spec command.
testing
Review tests to replace loose validation (contains, isNotNull, isNotEmpty) with strict validation (isEqualTo on parsed fields). Use when user wants to improve test assertions or mentions /test-review command.
development
Run frontend tests. Use when user wants to run frontend unit tests or mentions /test-frontend command.