Skill
harbor-compose
Compose Harbor product UI from shadcn primitives with fail-closed gates. Use when building screens.
Harborharbor-compose
Harbor compose
Compose product wholes from shadcn primitives under Harbor DNA.
Required loop (fail closed)
- Load
contracts/harbor/DESIGN.md+AGENTS.md. - Open this skill +
harbor-ops. - Prefer a task recipe over freeform layout.
listapproved primitives — install missing vianpx shadcn@latest add ….- Remap icons to
@/lib/icons. - Compose under closed tokens (
bg-*,edge,depth-*, radius intents). - Done only when
npm run check:design(and platform/contrast as needed) is green. - Optional: MCP
get_contract→validate_uiif the session is tool-wired.
Anatomy
Surface [data-contract="harbor"]
├─ quiet chrome
├─ main (recipe-driven)
└─ optional object-bound AI rail
Done
- Reused primitives — no twin Button/Card/shell
- Matches Harbor MUST / MUST NOT
- Gates green