ui-to-frontend
2
总安装量
2
周安装量
#67933
全站排名
安装命令
npx skills add https://github.com/muffedd/hackathon_finder --skill ui-to-frontend
Agent 安装分布
cline
2
github-copilot
2
codex
2
kimi-cli
2
gemini-cli
2
cursor
2
Skill 文档
UI to Frontend Skill
When implementing UI designs into front-end code, follow these steps:
Build checklist
- Design accuracy: Match spacing, layout, fonts, colors, radius, borders, shadows, and hierarchy exactly.
- Component architecture: Split the UI into reusable components (Button, Card, Badge, Section) with clean props.
- Responsiveness: Ensure the UI adapts correctly for mobile, tablet, and desktop without overflow or broken alignment.
- States & motion: Add hover, focus, active, disabled, loading states, plus transitions/animations if the design implies them.
- Integration safety: Do not modify global CSS, theme files, or shared tokens unless explicitly required. Keep styles scoped.
- Accessibility: Use semantic HTML, keyboard support, visible focus states, and ARIA where needed.
- Performance: Avoid layout shifts, heavy effects, unnecessary wrappers, and repeated rendering.
Implementation workflow
- Identify the layout system first (grid/flex, container width, spacing scale)
- Extract or infer design tokens (font, colors, spacing, radius, shadows)
- Build the base structure first, then refine visuals to pixel-perfect
- Add responsive rules and test for small screens
- Add interactions and UI states last
- Keep code readable, consistent, and easy to integrate
Output requirements
- Start with a short component plan (what files/components will be created)
- Provide complete, ready-to-paste code (not fragments)
- Use the exact stack the user requests (React/Next/Vue/HTML/Flutter, Tailwind/CSS Modules/etc.)
- If assets are missing, use placeholders and specify expected size/format
- If anything is unclear, make the best assumption and list it at the end