Search the documentation

Type to search page titles, component names and descriptions.

    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@latest

    This 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/skills

    The 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:

    ReferenceWhen
    Visual contractEvery interface task: levels, type, spacing, controls, states
    ShellShell, navigation, application switching, screen help
    VerificationBefore calling a screen done

    Explicit instructions from a person, security and business rules keep their authority; the skill governs design decisions.