Faion Dev Frontend
Designfaion-dev-frontendFaion Dev Frontend is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
UI design: brainstorming, prototyping, Storybook. Triggers: ui design, component library.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/design/faion-dev-frontend/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/faion-dev-frontend, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
UI Design Skill
Communication: User's language. Code: English.
Agents
| Agent | Purpose |
|---|---|
| faion-frontend-brainstormer-agent | Generate 3-5 design variants |
| faion-storybook-agent | Setup/maintain Storybook |
| faion-frontend-component-agent | Develop components with stories |
Workflow
Requirements → Brainstorm (3-5 variants) → User selects → Refine → Storybook → Components
Phase 1: Requirements
AskUserQuestion([
{"question": "Type?", "options": ["Landing", "Dashboard", "Form", "Components"]},
{"question": "Style?", "options": ["Minimalist", "Bold", "Corporate", "Playful"]},
{"question": "Tech?", "options": ["HTML/CSS", "React+TS", "Vue", "Next.js"]}
])
Phase 2: Brainstorming
Task(
subagent_type="faion-frontend-brainstormer-agent",
prompt=f"""Create 3-5 DISTINCT design variants for: {requirements}
Tech: {tech}, Style: {style}
Each variant: unique aesthetic, working code, rationale"""
)
Output: designs/variant-{N}-{name}/
Phase 3: Selection & Refinement
User picks variant → Skill("frontend-design") to refine → iterate until approved
Phase 4: Storybook
Task(
subagent_type="faion-storybook-agent",
prompt=f"Setup Storybook for {project}. Design: {approved_design}"
)
Phase 5: Components
Task(
subagent_type="faion-frontend-component-agent",
prompt=f"Develop {component_name} with story file"
)
Structure:
src/components/{Name}/
├── {Name}.tsx
├── {Name}.stories.tsx
├── {Name}.module.css
└── index.ts
Design Tokens
// tokens/
colors = { primary: {...}, semantic: {success, error, warning} }
typography = { fontFamily, fontSize, fontWeight }
spacing = { 0, 1, 2, 4, 8, 16 }
Storybook Commands
npm run storybook— dev servernpm run build-storybook— static build