[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MD881RABR7XH2GTB3SQ7E8":3,"skill-same:01M6MD881RABR7XH2GTB3SQ7E8":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":50,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6MD881RABR7XH2GTB3SQ7E8","shadcn",null,"Best practices for building UI components with shadcn\u002Fui. Use when creating, customizing, or styling components with shadcn, working with Radix UI primitives, implementing design tokens, or following compound component patterns.","compozy\u002Fcompozy","compozy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F205107042?v=4","01M6JWVTXX4DX38AWZ7SPFEKEV","CompozyOS","01M6JWVV2P34GM1PDATVB2EV05",2871,"MIT","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"use","when","for","implementing","with","ui components","tokens","compound","patterns","design tokens","styling","design","primitives","radix ui","read","grep","ui","best practices","component","components","2026-11-10 10:12:30",false,"---\nname: shadcn\ndescription: Best practices for building UI components with shadcn\u002Fui. Use when creating, customizing, or styling components with shadcn, working with Radix UI primitives, implementing design tokens, or following compound component patterns.\nallowed-tools: Read, Grep, Glob\n---\n\n# Shadcn UI Developer Guide\n\nThis skill provides guidelines, patterns, and best practices for working with shadcn\u002Fui components in this project.\n\n## Quick Start\n\n1. **Core Patterns**: Read `references\u002Fpatterns.md` for comprehensive styling, theming, and component patterns.\n2. **Tailwind Integration**: For Tailwind CSS patterns, use the `tailwindcss` skill.\n\n## Core Philosophy\n\n- **Ownership**: Shadcn is copy-paste, not a dependency - you own the code.\n- **Customization**: Components are meant to be modified for your needs.\n- **Accessibility**: Built on Radix UI primitives for proper accessibility.\n- **Flexibility**: Styled with Tailwind CSS for easy customization.\n\n## Critical: Design Token Usage\n\n**Always use design system tokens for theme switching compatibility:**\n\n**Required tokens:**\n- Backgrounds: `bg-background`, `bg-card`, `bg-muted`, `bg-popover`\n- Text: `text-foreground`, `text-muted-foreground`, `text-card-foreground`\n- Borders: `border-border`, `border-input`, `border-ring`\n- Actions: `bg-primary text-primary-foreground`, `bg-secondary text-secondary-foreground`\n- States: `bg-destructive text-destructive-foreground`, `bg-accent text-accent-foreground`\n\n**Never use explicit colors** like `bg-white`, `text-black`, `border-gray-200` - they break theme switching.\n\n## Common Tasks\n\n### Adding Components\n\nUse the CLI to add components, then customize as needed:\n\n```bash\nnpx shadcn@latest add button card dialog\n```\n\n### Extending Components\n\nAdd custom props and variants while preserving accessibility:\n\n```typescript\nexport interface ButtonProps\n  extends React.ButtonHTMLAttributes\u003CHTMLButtonElement>,\n    VariantProps\u003Ctypeof buttonVariants> {\n  loading?: boolean\n}\n\nconst Button = React.forwardRef\u003CHTMLButtonElement, ButtonProps>(\n  ({ className, variant, size, loading, children, ...props }, ref) => {\n    return (\n      \u003Cbutton\n        className={cn(buttonVariants({ variant, size, className }))}\n        ref={ref}\n        disabled={loading || props.disabled}\n        {...props}\n      >\n        {loading && \u003CLoader2 className=\"mr-2 h-4 w-4 animate-spin\" \u002F>}\n        {children}\n      \u003C\u002Fbutton>\n    )\n  }\n)\n```\n\n### Compound Components\n\n**Always use separate exports, NOT namespaced properties:**\n\n```tsx\n\u002F\u002F CORRECT\nexport const CardTech = CardTechRoot;\nexport const CardTechHeader = CardHeader;\nexport const CardTechTitle = CardTitle;\nexport const CardTechContent = CardContent;\n\n\u002F\u002F WRONG - Do not use\nexport const CardTech = Object.assign(CardTechRoot, {\n  Header: CardHeader,\n  Content: CardContent,\n});\n```\n\n### Preserving Accessibility\n\nNever remove Radix UI's accessibility attributes:\n\n```tsx\n\u003CDialog>\n  \u003CDialogTrigger asChild>\n    \u003CButton>Open Dialog\u003C\u002FButton>\n  \u003C\u002FDialogTrigger>\n  \u003CDialogContent>\n    \u003CDialogHeader>\n      \u003CDialogTitle>Accessible Title\u003C\u002FDialogTitle>\n      \u003CDialogDescription>\n        This description helps screen readers understand the dialog's purpose\n      \u003C\u002FDialogDescription>\n    \u003C\u002FDialogHeader>\n  \u003C\u002FDialogContent>\n\u003C\u002FDialog>\n```\n\n## Theming\n\nUse CSS variables for all color values in `globals.css`:\n\n```css\n@layer base {\n  :root {\n    --success: 142 76% 36%;\n    --success-foreground: 355 100% 100%;\n  }\n\n  .dark {\n    --success: 142 76% 46%;\n    --success-foreground: 142 76% 10%;\n  }\n}\n```\n\n## Validation Checklist\n\nBefore finishing a task involving shadcn\u002Fui:\n\n- [ ] Verify all colors use design tokens, not explicit values.\n- [ ] Ensure accessibility attributes from Radix UI are preserved.\n- [ ] Test keyboard navigation works correctly.\n- [ ] Use separate exports for compound components (not namespaced).\n- [ ] Run type checks (`pnpm run typecheck`) and tests (`pnpm run test`).\n\nFor comprehensive patterns, component examples, and detailed guidelines, read `references\u002Fpatterns.md`.\n","# Shadcn UI Developer Guide\n\nThis skill provides guidelines, patterns, and best practices for working with shadcn\u002Fui components in this project.\n\n## Quick Start\n\n1. **Core Patterns**: Read `references\u002Fpatterns.md` for comprehensive styling, theming, and component patterns.\n2. **Tailwind Integration**: For Tailwind CSS patterns, use the `tailwindcss` skill.\n\n## Core Philosophy\n\n- **Ownership**: Shadcn is copy-paste, not a dependency - you own the code.\n- **Customization**: Components are meant to be modified for your needs.\n- **Accessibility**: Built on Radix UI primitives for proper accessibility.\n- **Flexibility**: Styled with Tailwind CSS for easy customization.\n\n## Critical: Design Token Usage\n\n**Always use design system tokens for theme switching compatibility:**\n\n**Required tokens:**\n- Backgrounds: `bg-background`, `bg-card`, `bg-muted`, `bg-popover`\n- Text: `text-foreground`, `text-muted-foreground`, `text-card-foreground`\n- Borders: `border-border`, `border-input`, `border-ring`\n- Actions: `bg-primary text-primary-foreground`, `bg-secondary text-secondary-foreground`\n- States: `bg-destructive text-destructive-foreground`, `bg-accent text-accent-foreground`\n\n**Never use explicit colors** like `bg-white`, `text-black`, `border-gray-200` - they break theme switching.\n\n## Common Tasks\n\n### Adding Components\n\nUse the CLI to add components, then customize as needed:\n\n```bash\nnpx shadcn@latest add button card dialog\n```\n\n### Extending Components\n\nAdd custom props and variants while preserving accessibility:\n\n```typescript\nexport interface ButtonProps\n  extends React.ButtonHTMLAttributes\u003CHTMLButtonElement>,\n    VariantProps\u003Ctypeof buttonVariants> {\n  loading?: boolean\n}\n\nconst Button = React.forwardRef\u003CHTMLButtonElement, ButtonProps>(\n  ({ className, variant, size, loading, children, ...props }, ref) => {\n    return (\n      \u003Cbutton\n        className={cn(buttonVariants({ variant, size, className }))}\n        ref={ref}\n        disabled={loading || props.disabled}\n        {...props}\n      >\n        {loading && \u003CLoader2 className=\"mr-2 h-4 w-4 animate-spin\" \u002F>}\n        {children}\n      \u003C\u002Fbutton>\n    )\n  }\n)\n```\n\n### Compound Components\n\n**Always use separate exports, NOT namespaced properties:**\n\n```tsx\n\u002F\u002F CORRECT\nexport const CardTech = CardTechRoot;\nexport const CardTechHeader = CardHeader;\nexport const CardTechTitle = CardTitle;\nexport const CardTechContent = CardContent;\n\n\u002F\u002F WRONG - Do not use\nexport const CardTech = Object.assign(CardTechRoot, {\n  Header: CardHeader,\n  Content: CardContent,\n});\n```\n\n### Preserving Accessibility\n\nNever remove Radix UI's accessibility attributes:\n\n```tsx\n\u003CDialog>\n  \u003CDialogTrigger asChild>\n    \u003CButton>Open Dialog\u003C\u002FButton>\n  \u003C\u002FDialogTrigger>\n  \u003CDialogContent>\n    \u003CDialogHeader>\n      \u003CDialogTitle>Accessible Title\u003C\u002FDialogTitle>\n      \u003CDialogDescription>\n        This description helps screen readers understand the dialog's purpose\n      \u003C\u002FDialogDescription>\n    \u003C\u002FDialogHeader>\n  \u003C\u002FDialogContent>\n\u003C\u002FDialog>\n```\n\n## Theming\n\nUse CSS variables for all color values in `globals.css`:\n\n```css\n@layer base {\n  :root {\n    --success: 142 76% 36%;\n    --success-foreground: 355 100% 100%;\n  }\n\n  .dark {\n    --success: 142 76% 46%;\n    --success-foreground: 142 76% 10%;\n  }\n}\n```\n\n## Validation Checklist\n\nBefore finishing a task involving shadcn\u002Fui:\n\n- [ ] Verify all colors use design tokens, not explicit values.\n- [ ] Ensure accessibility attributes from Radix UI are preserved.\n- [ ] Test keyboard navigation works correctly.\n- [ ] Use separate exports for compound components (not namespaced).\n- [ ] Run type checks (`pnpm run typecheck`) and tests (`pnpm run test`).\n\nFor comprehensive patterns, component examples, and detailed guidelines, read `references\u002Fpatterns.md`.\n",{"name":5,"description":7,"allowed-tools":44},"Read, Grep, Glob","main","65613632bb94072e27fc5015d17387e28a870111",".agents\u002Fskills\u002Fshadcn",187,"https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy","https:\u002F\u002Fcompozy.com","https:\u002F\u002Fgithub.com\u002Fcompozy","An OS for AI agents","2026-11-15 03:55:11",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add compozy\u002Fcompozy --skill shadcn",{"tool":60,"command":61},"bunx","bunx skills add compozy\u002Fcompozy --skill shadcn",{"tool":63,"command":64},"pnpm","pnpm dlx skills add compozy\u002Fcompozy --skill shadcn","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshadcn\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fpatterns.md","REFERENCE","参考文档",14397,"https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshadcn\u002Freferences\u002Fpatterns.md",[75,102,122,144,155,167],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":39},"01M6MD7W312X49RNEJRKKVKTTD","security-review","Security code review for vulnerabilities. Use when asked to \"security review\", \"find vulnerabilities\", \"check for security issues\", \"audit security\", \"OWASP review\", or review code for injection, XSS, authentication, authorization, cryptography issues. Provides systematic review with confidence-based reporting.","CC-BY-SA-4.0","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-review\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[84,85,86,87,88,89,90,91,92,93,94,95,33,96,97,98,99,21,19,100,20,101],"security","security review","review","injection","authentication","code review","issues","Bash","code","xss","audit","systematic","reporting","cryptography","owasp","systematic review","task","audit security",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":39},"01M6MD5K93G1GP8VA56V2FEPZV","lesson-learned","Extract evidence-backed engineering lessons from recent changes or incidents. Use for requested reflection, lesson updates, or retiring an obsolete workflow rule.","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flesson-learned\u002FSKILL.md",[],[109,110,111,21,112,113,114,115,116,117,118,119,19,120,121],"learned","lesson learned","lesson","changes","evidence","incidents","workflow","engineering","updates","extract","rule","lessons","reflection",{"skillNo":123,"name":9,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"01M6MDPNH3J60VRCGTPHVTHZR8","Operate CompozyOS. Use when working with CompozyOS sessions, agents, native tools, skills, tasks, Loops, Goals, Terminal, desktops and windows, automation, extensions, or configuration. Don't use for unrelated projects.","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002Fskills\u002Fcompozy\u002FSKILL.md",[],[9,128,129,130,131,21,132,133,19,134,135,136,23,137,138,139,140,141,142,143,20],"sessions","windows","projects","operate","runtime","true","automation","tasks","extensions","loops","unrelated","goals","native","terminal","configuration","Tools",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":39},"01M6MDPHKNPQHJ1TF21E1HSFNF","remotion-upgrade","Upgrade Remotion, and related packages","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002Fpackages\u002Flaunch-video\u002F.agents\u002Fskills\u002Fremotion-upgrade\u002FSKILL.md",[],[151,152,153,154],"remotion upgrade","upgrade","Remotion","packages",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":39},"01M6MDPFT91ZWC7Z09MRNZPAJG","remotion-studio","Preview a Remotion video","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002Fpackages\u002Flaunch-video\u002F.agents\u002Fskills\u002Fremotion-studio\u002FSKILL.md",[],[162,163,153,164,165,166],"studio","remotion studio","Video","preview","remotion video",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":39},"01M6MDPD5XDZPYB5NAZGKMPXWC","remotion-saas","Build an app with Remotion","https:\u002F\u002Fgithub.com\u002Fcompozy\u002Fcompozy\u002Fblob\u002Fmain\u002Fpackages\u002Flaunch-video\u002F.agents\u002Fskills\u002Fremotion-saas\u002FSKILL.md",[],[174,175,153,23,176,177],"saas","remotion saas","app","build"]