with one click
shadcn-ui
Must always be enabled when working with shadcn-ui.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Must always be enabled when working with shadcn-ui.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Build autonomous AI agents with Claude Agent SDK. TypeScript v0.2.96 | Python v0.1.56. Covers: query(), hooks, subagents, MCP, permissions, sandbox, structured outputs, and sessions. Use when: building AI agents, configuring MCP servers, setting up permissions/hooks, using structured outputs, troubleshooting SDK errors, or working with subagents.
Xiaolai's Claude tools collection. Use when user types /xiaolai. Routes to: (1) claude-agent-sdk — Agent SDK reference for building autonomous AI agents, or (2) nlpm — Natural-Language Programming Manager for scanning, scoring, and fixing NL artifacts.
Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with elements, verify page state, diff before/after actions, take annotated screenshots, check responsive layouts, test forms and uploads, handle dialogs, and assert element states. ~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a user flow, or file a bug with evidence. Use when asked to "open in browser", "test the site", "take a screenshot", or "dogfood this". (gstack)
OpenAI Codex CLI wrapper — three modes. Code review: independent diff review via codex review with pass/fail gate. Challenge: adversarial mode that tries to break your code. Consult: ask codex anything with session continuity for follow-ups. The "200 IQ autistic developer" second opinion. Use when asked to "codex review", "codex challenge", "ask codex", "second opinion", or "consult codex". (gstack) Voice triggers (speech-to-text aliases): "code x", "code ex", "get another opinion".
记录和跟踪个人重大决策。当用户说"记决策"、"记个决策"、"决策跟踪"、"回填"、"decision",或描述一个刚做的/正在考虑的重大决策(创业/事业/财务/人生)并希望系统化记录与复盘时使用。自动四层拆解(原始信息/决策事实/假设推断/结果验证),生成 2 个文件,维护索引与行为模式库,并在记新决策时用历史教训主动拦截。
Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with elements, verify page state, diff before/after actions, take annotated screenshots, check responsive layouts, test forms and uploads, handle dialogs, and assert element states. ~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a user flow, or file a bug with evidence. Use when asked to "open in browser", "test the site", "take a screenshot", or "dogfood this". (gstack)
| name | shadcn-ui |
| description | Must always be enabled when working with shadcn-ui. |
<fundamental_concept>
shadcn-ui is NOT an npm package. It's a code distribution platform that copies component source code directly into your project.
Key principle: Components are added via CLI (pnpx shadcn@latest add) from a remote registry, NOT installed as dependencies.
</fundamental_concept>
<component_management>
<cli_usage>
# Add single component
pnpx shadcn@latest add button
# Add multiple components
pnpx shadcn@latest add button card dialog
# Add all components
pnpx shadcn@latest add --all
# Preview component before adding
pnpx shadcn@latest view button
Important: Always use the CLI to add components. Do NOT create component files manually in components/ui/ unless explicitly instructed.
</cli_usage>
<catalog_discovery>
pnpx shadcn@latest view <component-name> to preview before adding<custom_registries>
# Add from namespaced registry
pnpx shadcn@latest add @v0/dashboard
# Add from URL
pnpx shadcn@latest add https://example.com/r/custom-component.json
Registry configuration is in components.json:
{
"registries": {
"@acme": "https://registry.acme.com/r/{name}.json"
}
}
</custom_registries> </component_management>
<critical_constraints>
NEVER directly edit files in these directories without explicit user instruction:
components/ui/ - CLI-generated component filescomponents.json aliasesWhy?: These files are managed by the CLI. Direct edits will be lost on updates.
<modification_workflow>
Step 1: Try usage-side control first
// ✅ Best: Control via props/className/composition at usage site
<Button className="custom-styling" onClick={customHandler} />
Step 2: If usage-side control is insufficient
You MUST ask the user for permission before modifying components/ui/ files.
Required information for user approval:
Example request:
The Button component needs to support an
iconprop for consistent icon positioning. This cannot be achieved via className alone because it requires conditional rendering logic. I propose adding an optionalicon?: React.ReactNodeprop and rendering it with fixed spacing before children. May I modifycomponents/ui/button.tsx?
Only proceed with modification after receiving explicit user approval. </modification_workflow> </critical_constraints>
<common_tasks>
For comprehensive reference when documentation is insufficient, consult: https://ui.shadcn.com/llms.txt </common_tasks>
<architecture_notes>
components.json at project rootpnpx shadcn@latest add <component> --overwrite to updateRemember: shadcn-ui provides the code, not the package. You maintain full control and ownership. </architecture_notes>