Develop
Agent skill
Give a coding agent the design rules along with the components.
The repository publishes an agent skill, faifo-design, that teaches a coding agent how to
choose components, where spacing and borders belong, and how to verify a screen. It is the
written form of the rules on this site, in the order an agent needs them.
#Install
From the project where the agent works:
npx faifo-design-skill@latestThis installs .agents/skills/faifo-design. Other targets:
npx faifo-design-skill@latest --global
npx faifo-design-skill@latest --dir .claude/skills
npx faifo-design-skill@latest --dir .cursor/skillsThe installer does not alter project instructions and does not install the component package.
Repeating an unchanged install is safe; an edited installation needs --force and keeps the
old directory as a sibling backup.
#Use
Invoke Faifo Design, or $faifo-design, and describe the screen or the task. The skill reads
its references as it needs them:
| Reference | When |
|---|---|
| Visual contract | Every interface task: levels, type, spacing, controls, states |
| Shell | Shell, navigation, application switching, screen help |
| Verification | Before calling a screen done |
Explicit instructions from a person, security and business rules keep their authority; the skill governs design decisions.