一键导入
skill-router
Automatically loaded at session start. Maps tasks to the right skill. Do not invoke manually.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automatically loaded at session start. Maps tasks to the right skill. Do not invoke manually.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Apply standard development permissions to the current project by creating .claude/settings.local.json with pre-approved tools and bash commands. Use when setting up a new project or when the user wants to configure Claude permissions.
Manage Resend email platform via CLI — send emails, manage contacts, broadcasts, templates, segments, domains, webhooks, and more. Use when the user wants to send emails, manage contacts/segments, create broadcasts, manage templates, check domain status, or any Resend-related task. Trigger words: "resend", "send email", "broadcast", "contacts", "email template", "domain verify", "webhook".
Explore and validate product ideas through structured brainstorming. Creates a product brief.
Stage all changes, create a commit with auto-generated or custom message, and push to current branch. Use when the user says "commit", "push", "save changes", or wants to finalize their work.
Complete implementation workflow for a task - understand context, plan, implement, validate, review, and commit. Use when the user wants to implement a feature, fix a bug, or complete a specific development task.
Create a detailed implementation plan with stories. Also creates an empty progress.md for tracking.
| name | skill-router |
| description | Automatically loaded at session start. Maps tasks to the right skill. Do not invoke manually. |
| user-invocable | false |
Before starting any task, check if a skill applies. If one does, invoke it. This is not optional.
User request
│
├── Wants to build something new?
│ └── /brainstorm → /implementation-plan → /implement
│
├── Wants to implement from an existing plan?
│ └── /implement (reads plan + progress, picks next story)
│
├── Wants to know what's next?
│ └── /next-task (reads progress, shows next story)
│
├── Wants to write a PRD?
│ └── /prd (invokes product-manager agent)
│
├── Wants to define the tech stack?
│ └── /tech-stack (invokes architect agent)
│
├── Bug or issue to fix?
│ └── /debug (systematic 4-phase investigation)
│
├── Received review feedback (PR comments, CI feedback)?
│ └── receiving-code-review (verify before implementing, no performative agreement)
│
├── Writing new functionality?
│ └── /tdd (RED-GREEN-REFACTOR, tests first)
│
├── Multiple independent tasks?
│ └── /dispatch (parallel subagents)
│
├── Wants to validate code?
│ └── /validate (lint + build + tests)
│ └── /validate-quick (lint only)
│
├── Ready to commit and push?
│ └── /git-add-commit-push
│ └── /validate-update-push (validate + update docs + push)
│
├── Security-sensitive code (auth, API, DB, payments)?
│ └── /security-check (red-team audit)
│
├── Database changes?
│ └── /db-check (schema + RLS review)
│
├── SEO-related page changes?
│ └── /seo-check (SEO audit)
│
├── Needs to update docs or progress?
│ └── /update-docs or /update-progress
│
├── Marketing / content task?
│ └── /copywriting, /content-strategy, /email-sequence,
│ /launch-strategy, /marketing-ideas, /page-cro
│
└── None of the above?
└── Proceed normally
These agents and tools MUST be used automatically when working in their domain. Do not wait for the user to ask.
When: Creating or modifying any visual component, page, or layout. Action — choose based on scope:
create_frontend, modify_frontend, snippet_frontend as defined in CLAUDE.md. Never write frontend/UI code yourself for full pages, sections, or complex components.Pre-check: Verify design-system.md exists at project root. If missing, run generate_vibes first (required for both approaches).
Post-check (browser verification): After any frontend change, verify the result in the browser before committing:
pnpm dev is runningdev-browser <<'EOF'
const page = await browser.getPage("verify");
await page.goto("http://localhost:3000/affected-page");
const snapshot = await page.snapshotForAI();
console.log(snapshot);
EOF
page.fill), submit, verify statespage.click) and verify expected outcomepage.evaluateWhen: Working on App Router, Server Components, Server Actions, API routes, or any Next.js-specific code. Action: Spawn the nextjs-developer agent for implementation guidance on async APIs, data fetching patterns, caching strategies, and performance best practices.
When: Writing queries, creating migrations, setting up auth, or configuring RLS policies. Action: Spawn the supabase-developer agent for correct client initialization (server vs client), RLS patterns, and query optimization.
When: Creating or modifying user-facing pages, changing routes, updating metadata, or adding images. Action: Spawn the seo-specialist agent to audit the changes (metadata, headings, structured data, Core Web Vitals).
When: A user-facing flow is created or modified — auth, checkout, onboarding, multi-step forms, or backend changes that affect visible behavior (new routes, validation changes, redirects). Skip when: Automated tests already cover the flow, or the change is internal with no visible impact (refactoring, query optimization). Action: Via claude-in-chrome, walk through the flow as a user would:
read_console_messages) and network (read_network_requests) for errorsWhen: After completing any implementation task (story, feature, bug fix).
Action: Spawn the code-reviewer agent with fresh eyes on the diff. This is already part of /implement Phase 4 but applies to all code changes, not just plan-based work.
If you catch yourself thinking any of these, STOP — you are rationalizing:
Every one of these thoughts is a signal that you SHOULD use the skill. Simple tasks are where unexamined assumptions cause the most wasted work.
| Skill | Trigger | When |
|---|---|---|
| brainstorm | /brainstorm | New feature or idea to explore |
| prd | /prd | Define product requirements |
| tech-stack | /tech-stack | Define or review technical stack |
| implementation-plan | /implementation-plan | Break feature into stories |
| implement | /implement | Execute next story from plan |
| next-task | /next-task | See what's next in the plan |
| tdd | /tdd | Write tests first, then code |
| debug | /debug | Investigate a bug systematically |
| dispatch | /dispatch | Parallel work on independent tasks |
| validate | /validate | Full validation (lint + build + tests) |
| validate-quick | /validate-quick | Quick lint check |
| security-check | /security-check | Red-team security audit |
| db-check | /db-check | Database schema + RLS review |
| seo-check | /seo-check | SEO audit on page changes |
| git-add-commit-push | /git-add-commit-push | Commit and push |
| validate-update-push | /validate-update-push | Validate + update docs + push |
| update-progress | /update-progress | Update progress file |
| update-docs | /update-docs | Update documentation |
| receiving-code-review | (auto) | When receiving PR comments, review feedback, or CI results |
| writing-skills | /writing-skills | Create a new skill for the config |
| refresh-context | /refresh-context | Reload project context |