@fragments-sdk/skills
v0.1.0
Published
Agent skills for Fragments — the design governance platform and UI component library
Maintainers
Readme
Fragments Skills
Agent skills for Fragments -- the design governance platform and UI component library. Works with Claude Code, Cursor, Copilot, and any agent supporting the Agent Skills standard. Listed on the TanStack Intent registry.
Install
Via TanStack Intent (auto-discovered from npm):
npm install @fragments-sdk/skills
npx @tanstack/intent listVia Agent Skills:
npx skills add fragments-sdk/skillsInstall a specific skill:
npx skills add fragments-sdk/skills --skill ui-setupSkills
Setup
Two setup paths depending on what you need:
| Skill | Description | Invocation |
|-------|-------------|------------|
| ui-setup | Set up @fragments-sdk/ui -- install, theming, provider, MCP server, sample component | /ui-setup |
| cloud-setup | Set up Fragments Cloud governance -- install @fragments-sdk/govern, API key, config, first check, CI/CD | /cloud-setup |
Governance
| Skill | Description | Invocation |
|-------|-------------|------------|
| govern | Run governance checks, review staged changes pre-commit, auto-fix violations | /govern check, /govern review --staged |
| policy | Create custom design policies from natural language | /policy create "buttons must be 44px min" |
Reference (auto-loaded)
These skills load automatically when relevant -- no need to invoke them directly:
| Skill | Description |
|-------|-------------|
| ui | Best practices for @fragments-sdk/ui -- component selection, tokens, patterns, accessibility |
| mcp | Reference for all Fragments MCP tools -- discover, generate, validate, inspect |
What is Fragments?
UI Components (@fragments-sdk/ui) -- A complete design system with tokens, components, composition blocks, and MCP tools for AI-assisted development.
Governance (@fragments-sdk/govern) -- Run checks from CLI or CI, track violations, and enforce design policies. View results in the Fragments Cloud dashboard.
License
MIT
