[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79B2A9VHR7ZS3P07R5E7PAA":3,"skill-same:01M79B2A9VHR7ZS3P07R5E7PAA":46},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79B2A9VHR7ZS3P07R5E7PAA","spec-driven-development",null,"Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when requirements are unclear, ambiguous, or only exist as a vague idea.","CCH-HQ\u002Fcchp-automation","CCH-HQ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253065381?v=4","01M79AG9QPRTJEVTCT1ZS7TM9J","CCH HQ","01M79AG9RNM4TAB3PJQH71X62P",2,"MIT","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fspec-driven-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: spec-driven-development\ndescription: Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when requirements are unclear, ambiguous, or only exist as a vague idea.\n---\n\n# Spec-Driven Development\n\n## Overview\n\nWrite a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.\n\n## When to Use\n\n- Starting a new project or feature\n- Requirements are ambiguous or incomplete\n- The change touches multiple files or modules\n- You're about to make an architectural decision\n- The task would take more than 30 minutes to implement\n\n**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.\n\n## The Gated Workflow\n\nSpec-driven development has four phases. Do not advance to the next phase until the current one is validated.\n\n```\nSPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT\n   │          │        │          │\n   ▼          ▼        ▼          ▼\n Human      Human    Human      Human\n reviews    reviews  reviews    reviews\n```\n\n### Phase 1: Specify\n\nStart with a high-level vision. Ask the human clarifying questions until requirements are concrete.\n\n**Surface assumptions immediately.** Before writing any spec content, list what you're assuming:\n\n```\nASSUMPTIONS I'M MAKING:\n1. This is a web application (not native mobile)\n2. Authentication uses session-based cookies (not JWT)\n3. The database is PostgreSQL (based on existing Prisma schema)\n4. We're targeting modern browsers only (no IE11)\n→ Correct me now or I'll proceed with these.\n```\n\nDon't silently fill in ambiguous requirements. The spec's entire purpose is to surface misunderstandings *before* code gets written — assumptions are the most dangerous form of misunderstanding.\n\n**Write a spec document covering these six core areas:**\n\n1. **Objective** — What are we building and why? Who is the user? What does success look like?\n\n2. **Commands** — Full executable commands with flags, not just tool names.\n   ```\n   Build: npm run build\n   Test: npm test -- --coverage\n   Lint: npm run lint --fix\n   Dev: npm run dev\n   ```\n\n3. **Project Structure** — Where source code lives, where tests go, where docs belong.\n   ```\n   src\u002F           → Application source code\n   src\u002Fcomponents → React components\n   src\u002Flib        → Shared utilities\n   tests\u002F         → Unit and integration tests\n   e2e\u002F           → End-to-end tests\n   docs\u002F          → Documentation\n   ```\n\n4. **Code Style** — One real code snippet showing your style beats three paragraphs describing it. Include naming conventions, formatting rules, and examples of good output.\n\n5. **Testing Strategy** — What framework, where tests live, coverage expectations, which test levels for which concerns.\n\n6. **Boundaries** — Three-tier system:\n   - **Always do:** Run tests before commits, follow naming conventions, validate inputs\n   - **Ask first:** Database schema changes, adding dependencies, changing CI config\n   - **Never do:** Commit secrets, edit vendor directories, remove failing tests without approval\n\n**Spec template:**\n\n```markdown\n# Spec: [Project\u002FFeature Name]\n\n## Objective\n[What we're building and why. User stories or acceptance criteria.]\n\n## Tech Stack\n[Framework, language, key dependencies with versions]\n\n## Commands\n[Build, test, lint, dev — full commands]\n\n## Project Structure\n[Directory layout with descriptions]\n\n## Code Style\n[Example snippet + key conventions]\n\n## Testing Strategy\n[Framework, test locations, coverage requirements, test levels]\n\n## Boundaries\n- Always: [...]\n- Ask first: [...]\n- Never: [...]\n\n## Success Criteria\n[How we'll know this is done — specific, testable conditions]\n\n## Open Questions\n[Anything unresolved that needs human input]\n```\n\n**Reframe instructions as success criteria.** When receiving vague requirements, translate them into concrete conditions:\n\n```\nREQUIREMENT: \"Make the dashboard faster\"\n\nREFRAMED SUCCESS CRITERIA:\n- Dashboard LCP \u003C 2.5s on 4G connection\n- Initial data load completes in \u003C 500ms\n- No layout shift during load (CLS \u003C 0.1)\n→ Are these the right targets?\n```\n\nThis lets you loop, retry, and problem-solve toward a clear goal rather than guessing what \"faster\" means.\n\n### Phase 2: Plan\n\nWith the validated spec, generate a technical implementation plan:\n\n1. Identify the major components and their dependencies\n2. Determine the implementation order (what must be built first)\n3. Note risks and mitigation strategies\n4. Identify what can be built in parallel vs. what must be sequential\n5. Define verification checkpoints between phases\n\n> Follow `planning-and-task-breakdown` for the dependency-graph mapping and vertical-slicing mechanics behind these steps; it is the canonical source. The bullets above are a lightweight summary; if they ever diverge, `planning-and-task-breakdown` takes precedence.\n>\n> **Output convention:** Save the plan to `tasks\u002Fplan.md` and the task list to `tasks\u002Ftodo.md`, per the `\u002Fplan` command convention. Create `tasks\u002F` if it does not exist. Downstream commands (`\u002Fbuild`, etc.) expect these paths.\n\nThe plan should be reviewable: the human should be able to read it and say \"yes, that's the right approach\" or \"no, change X.\"\n\n### Phase 3: Tasks\n\nBreak the plan into discrete, implementable tasks:\n\n- Each task should be completable in a single focused session\n- Each task has explicit acceptance criteria\n- Each task includes a verification step (test, build, manual check)\n- Tasks are ordered by dependency, not by perceived importance\n- No task should require changing more than ~5 files\n\n> Follow `planning-and-task-breakdown` for the full task-sizing and dependency-ordering mechanics; it is the canonical source. The template below is a lightweight inline form; if they ever diverge, `planning-and-task-breakdown` takes precedence.\n\n**Task template:**\n```markdown\n- [ ] Task: [Description]\n  - Acceptance: [What must be true when done]\n  - Verify: [How to confirm — test command, build, manual check]\n  - Files: [Which files will be touched]\n```\n\n### Phase 4: Implement\n\nExecute tasks one at a time following `skills\u002Fincremental-implementation\u002FSKILL.md` (`incremental-implementation`) and `skills\u002Ftest-driven-development\u002FSKILL.md` (`test-driven-development`). Use `skills\u002Fcontext-engineering\u002FSKILL.md` (`context-engineering`) to load the right spec sections and source files at each step rather than flooding the agent with the entire spec.\n\n## Keeping the Spec Alive\n\nThe spec is a living document, not a one-time artifact:\n\n- **Update when decisions change** — If you discover the data model needs to change, update the spec first, then implement.\n- **Update when scope changes** — Features added or cut should be reflected in the spec.\n- **Commit the spec** — The spec belongs in version control alongside the code.\n- **Reference the spec in PRs** — Link back to the spec section that each PR implements.\n\n## Common Rationalizations\n\n| Rationalization | Reality |\n|---|---|\n| \"This is simple, I don't need a spec\" | Simple tasks don't need *long* specs, but they still need acceptance criteria. A two-line spec is fine. |\n| \"I'll write the spec after I code it\" | That's documentation, not specification. The spec's value is in forcing clarity *before* code. |\n| \"The spec will slow us down\" | A 15-minute spec prevents hours of rework. Waterfall in 15 minutes beats debugging in 15 hours. |\n| \"Requirements will change anyway\" | That's why the spec is a living document. An outdated spec is still better than no spec. |\n| \"The user knows what they want\" | Even clear requests have implicit assumptions. The spec surfaces those assumptions. |\n\n## Red Flags\n\n- Starting to write code without any written requirements\n- Asking \"should I just start building?\" before clarifying what \"done\" means\n- Implementing features not mentioned in any spec or task list\n- Making architectural decisions without documenting them\n- Skipping the spec because \"it's obvious what to build\"\n\n## Verification\n\nBefore proceeding to implementation, confirm:\n\n- [ ] The spec covers all six core areas\n- [ ] The human has reviewed and approved the spec\n- [ ] Success criteria are specific and testable\n- [ ] Boundaries (Always\u002FAsk First\u002FNever) are defined\n- [ ] The spec is saved to a file in the repository\n","# Spec-Driven Development\n\n## Overview\n\nWrite a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.\n\n## When to Use\n\n- Starting a new project or feature\n- Requirements are ambiguous or incomplete\n- The change touches multiple files or modules\n- You're about to make an architectural decision\n- The task would take more than 30 minutes to implement\n\n**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.\n\n## The Gated Workflow\n\nSpec-driven development has four phases. Do not advance to the next phase until the current one is validated.\n\n```\nSPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT\n   │          │        │          │\n   ▼          ▼        ▼          ▼\n Human      Human    Human      Human\n reviews    reviews  reviews    reviews\n```\n\n### Phase 1: Specify\n\nStart with a high-level vision. Ask the human clarifying questions until requirements are concrete.\n\n**Surface assumptions immediately.** Before writing any spec content, list what you're assuming:\n\n```\nASSUMPTIONS I'M MAKING:\n1. This is a web application (not native mobile)\n2. Authentication uses session-based cookies (not JWT)\n3. The database is PostgreSQL (based on existing Prisma schema)\n4. We're targeting modern browsers only (no IE11)\n→ Correct me now or I'll proceed with these.\n```\n\nDon't silently fill in ambiguous requirements. The spec's entire purpose is to surface misunderstandings *before* code gets written — assumptions are the most dangerous form of misunderstanding.\n\n**Write a spec document covering these six core areas:**\n\n1. **Objective** — What are we building and why? Who is the user? What does success look like?\n\n2. **Commands** — Full executable commands with flags, not just tool names.\n   ```\n   Build: npm run build\n   Test: npm test -- --coverage\n   Lint: npm run lint --fix\n   Dev: npm run dev\n   ```\n\n3. **Project Structure** — Where source code lives, where tests go, where docs belong.\n   ```\n   src\u002F           → Application source code\n   src\u002Fcomponents → React components\n   src\u002Flib        → Shared utilities\n   tests\u002F         → Unit and integration tests\n   e2e\u002F           → End-to-end tests\n   docs\u002F          → Documentation\n   ```\n\n4. **Code Style** — One real code snippet showing your style beats three paragraphs describing it. Include naming conventions, formatting rules, and examples of good output.\n\n5. **Testing Strategy** — What framework, where tests live, coverage expectations, which test levels for which concerns.\n\n6. **Boundaries** — Three-tier system:\n   - **Always do:** Run tests before commits, follow naming conventions, validate inputs\n   - **Ask first:** Database schema changes, adding dependencies, changing CI config\n   - **Never do:** Commit secrets, edit vendor directories, remove failing tests without approval\n\n**Spec template:**\n\n```markdown\n# Spec: [Project\u002FFeature Name]\n\n## Objective\n[What we're building and why. User stories or acceptance criteria.]\n\n## Tech Stack\n[Framework, language, key dependencies with versions]\n\n## Commands\n[Build, test, lint, dev — full commands]\n\n## Project Structure\n[Directory layout with descriptions]\n\n## Code Style\n[Example snippet + key conventions]\n\n## Testing Strategy\n[Framework, test locations, coverage requirements, test levels]\n\n## Boundaries\n- Always: [...]\n- Ask first: [...]\n- Never: [...]\n\n## Success Criteria\n[How we'll know this is done — specific, testable conditions]\n\n## Open Questions\n[Anything unresolved that needs human input]\n```\n\n**Reframe instructions as success criteria.** When receiving vague requirements, translate them into concrete conditions:\n\n```\nREQUIREMENT: \"Make the dashboard faster\"\n\nREFRAMED SUCCESS CRITERIA:\n- Dashboard LCP \u003C 2.5s on 4G connection\n- Initial data load completes in \u003C 500ms\n- No layout shift during load (CLS \u003C 0.1)\n→ Are these the right targets?\n```\n\nThis lets you loop, retry, and problem-solve toward a clear goal rather than guessing what \"faster\" means.\n\n### Phase 2: Plan\n\nWith the validated spec, generate a technical implementation plan:\n\n1. Identify the major components and their dependencies\n2. Determine the implementation order (what must be built first)\n3. Note risks and mitigation strategies\n4. Identify what can be built in parallel vs. what must be sequential\n5. Define verification checkpoints between phases\n\n> Follow `planning-and-task-breakdown` for the dependency-graph mapping and vertical-slicing mechanics behind these steps; it is the canonical source. The bullets above are a lightweight summary; if they ever diverge, `planning-and-task-breakdown` takes precedence.\n>\n> **Output convention:** Save the plan to `tasks\u002Fplan.md` and the task list to `tasks\u002Ftodo.md`, per the `\u002Fplan` command convention. Create `tasks\u002F` if it does not exist. Downstream commands (`\u002Fbuild`, etc.) expect these paths.\n\nThe plan should be reviewable: the human should be able to read it and say \"yes, that's the right approach\" or \"no, change X.\"\n\n### Phase 3: Tasks\n\nBreak the plan into discrete, implementable tasks:\n\n- Each task should be completable in a single focused session\n- Each task has explicit acceptance criteria\n- Each task includes a verification step (test, build, manual check)\n- Tasks are ordered by dependency, not by perceived importance\n- No task should require changing more than ~5 files\n\n> Follow `planning-and-task-breakdown` for the full task-sizing and dependency-ordering mechanics; it is the canonical source. The template below is a lightweight inline form; if they ever diverge, `planning-and-task-breakdown` takes precedence.\n\n**Task template:**\n```markdown\n- [ ] Task: [Description]\n  - Acceptance: [What must be true when done]\n  - Verify: [How to confirm — test command, build, manual check]\n  - Files: [Which files will be touched]\n```\n\n### Phase 4: Implement\n\nExecute tasks one at a time following `skills\u002Fincremental-implementation\u002FSKILL.md` (`incremental-implementation`) and `skills\u002Ftest-driven-development\u002FSKILL.md` (`test-driven-development`). Use `skills\u002Fcontext-engineering\u002FSKILL.md` (`context-engineering`) to load the right spec sections and source files at each step rather than flooding the agent with the entire spec.\n\n## Keeping the Spec Alive\n\nThe spec is a living document, not a one-time artifact:\n\n- **Update when decisions change** — If you discover the data model needs to change, update the spec first, then implement.\n- **Update when scope changes** — Features added or cut should be reflected in the spec.\n- **Commit the spec** — The spec belongs in version control alongside the code.\n- **Reference the spec in PRs** — Link back to the spec section that each PR implements.\n\n## Common Rationalizations\n\n| Rationalization | Reality |\n|---|---|\n| \"This is simple, I don't need a spec\" | Simple tasks don't need *long* specs, but they still need acceptance criteria. A two-line spec is fine. |\n| \"I'll write the spec after I code it\" | That's documentation, not specification. The spec's value is in forcing clarity *before* code. |\n| \"The spec will slow us down\" | A 15-minute spec prevents hours of rework. Waterfall in 15 minutes beats debugging in 15 hours. |\n| \"Requirements will change anyway\" | That's why the spec is a living document. An outdated spec is still better than no spec. |\n| \"The user knows what they want\" | Even clear requests have implicit assumptions. The spec surfaces those assumptions. |\n\n## Red Flags\n\n- Starting to write code without any written requirements\n- Asking \"should I just start building?\" before clarifying what \"done\" means\n- Implementing features not mentioned in any spec or task list\n- Making architectural decisions without documenting them\n- Skipping the spec because \"it's obvious what to build\"\n\n## Verification\n\nBefore proceeding to implementation, confirm:\n\n- [ ] The spec covers all six core areas\n- [ ] The human has reviewed and approved the spec\n- [ ] Success criteria are specific and testable\n- [ ] Boundaries (Always\u002FAsk First\u002FNever) are defined\n- [ ] The spec is saved to a file in the repository\n",{"name":5,"description":7},"main","a93764baed707eda5a68d91e19e5719368e6335e","skills-backup\u002Fskills\u002Fspec-driven-development",0,"https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation","https:\u002F\u002Fgithub.com\u002FCCH-HQ","https:\u002F\u002Fclaude-code-hub.app\u002F","2026-11-09 20:50:54",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add CCH-HQ\u002Fcchp-automation --skill spec-driven-development",{"tool":38,"command":39},"bunx","bunx skills add CCH-HQ\u002Fcchp-automation --skill spec-driven-development",{"tool":41,"command":42},"pnpm","pnpm dlx skills add CCH-HQ\u002Fcchp-automation --skill spec-driven-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fspec-driven-development\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M79B44RKSB6Z0GENGYFCCZYA","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M79B410BHDSNHZ7MKAYXWJHS","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79B3XK29MCD5HGD50YGYXQZ","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M79B3TFQEXXM2KK5V44H64DV","wayfinder","Plan a huge chunk of work — more than one agent session can hold — as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M79B3Q3WTMJDM6NNGG1X4NYK","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79B3GW8YCKT7W489HKWFMNC","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[]]