[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79B26Z8Y32JHSRFYYRA0TCZ":3,"skill-same:01M79B26Z8Y32JHSRFYYRA0TCZ":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},"01M79B26Z8Y32JHSRFYYRA0TCZ","source-driven-development",null,"Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.","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\u002Fsource-driven-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: source-driven-development\ndescription: Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.\n---\n\n# Source-Driven Development\n\n## Overview\n\nEvery framework-specific code decision must be backed by official documentation. Don't implement from memory — verify, cite, and let the user see your sources. Training data goes stale, APIs get deprecated, best practices evolve. This skill ensures the user gets code they can trust because every pattern traces back to an authoritative source they can check.\n\n## When to Use\n\n- The user wants code that follows current best practices for a given framework\n- Building boilerplate, starter code, or patterns that will be copied across a project\n- The user explicitly asks for documented, verified, or \"correct\" implementation\n- Implementing features where the framework's recommended approach matters (forms, routing, data fetching, state management, auth)\n- Reviewing or improving code that uses framework-specific patterns\n- Any time you are about to write framework-specific code from memory\n\n**When NOT to use:**\n\n- Correctness does not depend on a specific version (renaming variables, fixing typos, moving files)\n- Pure logic that works the same across all versions (loops, conditionals, data structures)\n- The user explicitly wants speed over verification (\"just do it quickly\")\n\n## The Process\n\n```\nDETECT ──→ FETCH ──→ IMPLEMENT ──→ CITE\n  │          │           │            │\n  ▼          ▼           ▼            ▼\n What       Get the    Follow the   Show your\n stack?     relevant   documented   sources\n            docs       patterns\n```\n\n### Step 1: Detect Stack and Versions\n\nRead the project's dependency file to identify exact versions:\n\n```\npackage.json    → Node\u002FReact\u002FVue\u002FAngular\u002FSvelte\ncomposer.json   → PHP\u002FSymfony\u002FLaravel\nrequirements.txt \u002F pyproject.toml → Python\u002FDjango\u002FFlask\ngo.mod          → Go\nCargo.toml      → Rust\nGemfile         → Ruby\u002FRails\n```\n\nState what you found explicitly:\n\n```\nSTACK DETECTED:\n- React 19.1.0 (from package.json)\n- Vite 6.2.0\n- Tailwind CSS 4.0.3\n→ Fetching official docs for the relevant patterns.\n```\n\nIf versions are missing or ambiguous, **ask the user**. Don't guess — the version determines which patterns are correct.\n\n### Step 2: Fetch Official Documentation\n\nFetch the specific documentation page for the feature you're implementing. Not the homepage, not the full docs — the relevant page.\n\n**Source hierarchy (in order of authority):**\n\n| Priority | Source | Example |\n|----------|--------|---------|\n| 1 | Official documentation | react.dev, docs.djangoproject.com, symfony.com\u002Fdoc |\n| 2 | Official blog \u002F changelog | react.dev\u002Fblog, nextjs.org\u002Fblog |\n| 3 | Web standards references | MDN, web.dev, html.spec.whatwg.org |\n| 4 | Browser\u002Fruntime compatibility | caniuse.com, node.green |\n\n**Not authoritative — never cite as primary sources:**\n\n- Stack Overflow answers\n- Blog posts or tutorials (even popular ones)\n- AI-generated documentation or summaries\n- Your own training data (that is the whole point — verify it)\n\n**Be precise with what you fetch:**\n\n```\nBAD:  Fetch the React homepage\nGOOD: Fetch react.dev\u002Freference\u002Freact\u002FuseActionState\n\nBAD:  Search \"django authentication best practices\"\nGOOD: Fetch docs.djangoproject.com\u002Fen\u002F6.0\u002Ftopics\u002Fauth\u002F\n```\n\nAfter fetching, extract the key patterns and note any deprecation warnings or migration guidance.\n\nWhen official sources conflict with each other (e.g. a migration guide contradicts the API reference), surface the discrepancy to the user and verify which pattern actually works against the detected version.\n\n### Step 3: Implement Following Documented Patterns\n\nWrite code that matches what the documentation shows:\n\n- Use the API signatures from the docs, not from memory\n- If the docs show a new way to do something, use the new way\n- If the docs deprecate a pattern, don't use the deprecated version\n- If the docs don't cover something, flag it as unverified\n\n**When docs conflict with existing project code:**\n\n```\nCONFLICT DETECTED:\nThe existing codebase uses useState for form loading state,\nbut React 19 docs recommend useActionState for this pattern.\n(Source: react.dev\u002Freference\u002Freact\u002FuseActionState)\n\nOptions:\nA) Use the modern pattern (useActionState) — consistent with current docs\nB) Match existing code (useState) — consistent with codebase\n→ Which approach do you prefer?\n```\n\nSurface the conflict. Don't silently pick one.\n\n### Step 4: Cite Your Sources\n\nEvery framework-specific pattern gets a citation. The user must be able to verify every decision.\n\n**In code comments:**\n\n```typescript\n\u002F\u002F React 19 form handling with useActionState\n\u002F\u002F Source: https:\u002F\u002Freact.dev\u002Freference\u002Freact\u002FuseActionState#usage\nconst [state, formAction, isPending] = useActionState(submitOrder, initialState);\n```\n\n**In conversation:**\n\n```\nI'm using useActionState instead of manual useState for the\nform submission state. React 19 replaced the manual\nisPending\u002FsetIsPending pattern with this hook.\n\nSource: https:\u002F\u002Freact.dev\u002Fblog\u002F2024\u002F12\u002F05\u002Freact-19#actions\n\"useTransition now supports async functions [...] to handle\npending states automatically\"\n```\n\n**Citation rules:**\n\n- Full URLs, not shortened\n- Prefer deep links with anchors where possible (e.g. `\u002FuseActionState#usage` over `\u002FuseActionState`) — anchors survive doc restructuring better than top-level pages\n- Quote the relevant passage when it supports a non-obvious decision\n- Include browser\u002Fruntime support data when recommending platform features\n- If you cannot find documentation for a pattern, say so explicitly:\n\n```\nUNVERIFIED: I could not find official documentation for this\npattern. This is based on training data and may be outdated.\nVerify before using in production.\n```\n\nHonesty about what you couldn't verify is more valuable than false confidence.\n\n## Common Rationalizations\n\n| Rationalization | Reality |\n|---|---|\n| \"I'm confident about this API\" | Confidence is not evidence. Training data contains outdated patterns that look correct but break against current versions. Verify. |\n| \"Fetching docs wastes tokens\" | Hallucinating an API wastes more. The user debugs for an hour, then discovers the function signature changed. One fetch prevents hours of rework. |\n| \"The docs won't have what I need\" | If the docs don't cover it, that's valuable information — the pattern may not be officially recommended. |\n| \"I'll just mention it might be outdated\" | A disclaimer doesn't help. Either verify and cite, or clearly flag it as unverified. Hedging is the worst option. |\n| \"This is a simple task, no need to check\" | Simple tasks with wrong patterns become templates. The user copies your deprecated form handler into ten components before discovering the modern approach exists. |\n\n## Red Flags\n\n- Writing framework-specific code without checking the docs for that version\n- Using \"I believe\" or \"I think\" about an API instead of citing the source\n- Implementing a pattern without knowing which version it applies to\n- Citing Stack Overflow or blog posts instead of official documentation\n- Using deprecated APIs because they appear in training data\n- Not reading `package.json` \u002F dependency files before implementing\n- Delivering code without source citations for framework-specific decisions\n- Fetching an entire docs site when only one page is relevant\n\n## Verification\n\nAfter implementing with source-driven development:\n\n- [ ] Framework and library versions were identified from the dependency file\n- [ ] Official documentation was fetched for framework-specific patterns\n- [ ] All sources are official documentation, not blog posts or training data\n- [ ] Code follows the patterns shown in the current version's documentation\n- [ ] Non-trivial decisions include source citations with full URLs\n- [ ] No deprecated APIs are used (checked against migration guides)\n- [ ] Conflicts between docs and existing code were surfaced to the user\n- [ ] Anything that could not be verified is explicitly flagged as unverified\n","# Source-Driven Development\n\n## Overview\n\nEvery framework-specific code decision must be backed by official documentation. Don't implement from memory — verify, cite, and let the user see your sources. Training data goes stale, APIs get deprecated, best practices evolve. This skill ensures the user gets code they can trust because every pattern traces back to an authoritative source they can check.\n\n## When to Use\n\n- The user wants code that follows current best practices for a given framework\n- Building boilerplate, starter code, or patterns that will be copied across a project\n- The user explicitly asks for documented, verified, or \"correct\" implementation\n- Implementing features where the framework's recommended approach matters (forms, routing, data fetching, state management, auth)\n- Reviewing or improving code that uses framework-specific patterns\n- Any time you are about to write framework-specific code from memory\n\n**When NOT to use:**\n\n- Correctness does not depend on a specific version (renaming variables, fixing typos, moving files)\n- Pure logic that works the same across all versions (loops, conditionals, data structures)\n- The user explicitly wants speed over verification (\"just do it quickly\")\n\n## The Process\n\n```\nDETECT ──→ FETCH ──→ IMPLEMENT ──→ CITE\n  │          │           │            │\n  ▼          ▼           ▼            ▼\n What       Get the    Follow the   Show your\n stack?     relevant   documented   sources\n            docs       patterns\n```\n\n### Step 1: Detect Stack and Versions\n\nRead the project's dependency file to identify exact versions:\n\n```\npackage.json    → Node\u002FReact\u002FVue\u002FAngular\u002FSvelte\ncomposer.json   → PHP\u002FSymfony\u002FLaravel\nrequirements.txt \u002F pyproject.toml → Python\u002FDjango\u002FFlask\ngo.mod          → Go\nCargo.toml      → Rust\nGemfile         → Ruby\u002FRails\n```\n\nState what you found explicitly:\n\n```\nSTACK DETECTED:\n- React 19.1.0 (from package.json)\n- Vite 6.2.0\n- Tailwind CSS 4.0.3\n→ Fetching official docs for the relevant patterns.\n```\n\nIf versions are missing or ambiguous, **ask the user**. Don't guess — the version determines which patterns are correct.\n\n### Step 2: Fetch Official Documentation\n\nFetch the specific documentation page for the feature you're implementing. Not the homepage, not the full docs — the relevant page.\n\n**Source hierarchy (in order of authority):**\n\n| Priority | Source | Example |\n|----------|--------|---------|\n| 1 | Official documentation | react.dev, docs.djangoproject.com, symfony.com\u002Fdoc |\n| 2 | Official blog \u002F changelog | react.dev\u002Fblog, nextjs.org\u002Fblog |\n| 3 | Web standards references | MDN, web.dev, html.spec.whatwg.org |\n| 4 | Browser\u002Fruntime compatibility | caniuse.com, node.green |\n\n**Not authoritative — never cite as primary sources:**\n\n- Stack Overflow answers\n- Blog posts or tutorials (even popular ones)\n- AI-generated documentation or summaries\n- Your own training data (that is the whole point — verify it)\n\n**Be precise with what you fetch:**\n\n```\nBAD:  Fetch the React homepage\nGOOD: Fetch react.dev\u002Freference\u002Freact\u002FuseActionState\n\nBAD:  Search \"django authentication best practices\"\nGOOD: Fetch docs.djangoproject.com\u002Fen\u002F6.0\u002Ftopics\u002Fauth\u002F\n```\n\nAfter fetching, extract the key patterns and note any deprecation warnings or migration guidance.\n\nWhen official sources conflict with each other (e.g. a migration guide contradicts the API reference), surface the discrepancy to the user and verify which pattern actually works against the detected version.\n\n### Step 3: Implement Following Documented Patterns\n\nWrite code that matches what the documentation shows:\n\n- Use the API signatures from the docs, not from memory\n- If the docs show a new way to do something, use the new way\n- If the docs deprecate a pattern, don't use the deprecated version\n- If the docs don't cover something, flag it as unverified\n\n**When docs conflict with existing project code:**\n\n```\nCONFLICT DETECTED:\nThe existing codebase uses useState for form loading state,\nbut React 19 docs recommend useActionState for this pattern.\n(Source: react.dev\u002Freference\u002Freact\u002FuseActionState)\n\nOptions:\nA) Use the modern pattern (useActionState) — consistent with current docs\nB) Match existing code (useState) — consistent with codebase\n→ Which approach do you prefer?\n```\n\nSurface the conflict. Don't silently pick one.\n\n### Step 4: Cite Your Sources\n\nEvery framework-specific pattern gets a citation. The user must be able to verify every decision.\n\n**In code comments:**\n\n```typescript\n\u002F\u002F React 19 form handling with useActionState\n\u002F\u002F Source: https:\u002F\u002Freact.dev\u002Freference\u002Freact\u002FuseActionState#usage\nconst [state, formAction, isPending] = useActionState(submitOrder, initialState);\n```\n\n**In conversation:**\n\n```\nI'm using useActionState instead of manual useState for the\nform submission state. React 19 replaced the manual\nisPending\u002FsetIsPending pattern with this hook.\n\nSource: https:\u002F\u002Freact.dev\u002Fblog\u002F2024\u002F12\u002F05\u002Freact-19#actions\n\"useTransition now supports async functions [...] to handle\npending states automatically\"\n```\n\n**Citation rules:**\n\n- Full URLs, not shortened\n- Prefer deep links with anchors where possible (e.g. `\u002FuseActionState#usage` over `\u002FuseActionState`) — anchors survive doc restructuring better than top-level pages\n- Quote the relevant passage when it supports a non-obvious decision\n- Include browser\u002Fruntime support data when recommending platform features\n- If you cannot find documentation for a pattern, say so explicitly:\n\n```\nUNVERIFIED: I could not find official documentation for this\npattern. This is based on training data and may be outdated.\nVerify before using in production.\n```\n\nHonesty about what you couldn't verify is more valuable than false confidence.\n\n## Common Rationalizations\n\n| Rationalization | Reality |\n|---|---|\n| \"I'm confident about this API\" | Confidence is not evidence. Training data contains outdated patterns that look correct but break against current versions. Verify. |\n| \"Fetching docs wastes tokens\" | Hallucinating an API wastes more. The user debugs for an hour, then discovers the function signature changed. One fetch prevents hours of rework. |\n| \"The docs won't have what I need\" | If the docs don't cover it, that's valuable information — the pattern may not be officially recommended. |\n| \"I'll just mention it might be outdated\" | A disclaimer doesn't help. Either verify and cite, or clearly flag it as unverified. Hedging is the worst option. |\n| \"This is a simple task, no need to check\" | Simple tasks with wrong patterns become templates. The user copies your deprecated form handler into ten components before discovering the modern approach exists. |\n\n## Red Flags\n\n- Writing framework-specific code without checking the docs for that version\n- Using \"I believe\" or \"I think\" about an API instead of citing the source\n- Implementing a pattern without knowing which version it applies to\n- Citing Stack Overflow or blog posts instead of official documentation\n- Using deprecated APIs because they appear in training data\n- Not reading `package.json` \u002F dependency files before implementing\n- Delivering code without source citations for framework-specific decisions\n- Fetching an entire docs site when only one page is relevant\n\n## Verification\n\nAfter implementing with source-driven development:\n\n- [ ] Framework and library versions were identified from the dependency file\n- [ ] Official documentation was fetched for framework-specific patterns\n- [ ] All sources are official documentation, not blog posts or training data\n- [ ] Code follows the patterns shown in the current version's documentation\n- [ ] Non-trivial decisions include source citations with full URLs\n- [ ] No deprecated APIs are used (checked against migration guides)\n- [ ] Conflicts between docs and existing code were surfaced to the user\n- [ ] Anything that could not be verified is explicitly flagged as unverified\n",{"name":5,"description":7},"main","a93764baed707eda5a68d91e19e5719368e6335e","skills-backup\u002Fskills\u002Fsource-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 source-driven-development",{"tool":38,"command":39},"bunx","bunx skills add CCH-HQ\u002Fcchp-automation --skill source-driven-development",{"tool":41,"command":42},"pnpm","pnpm dlx skills add CCH-HQ\u002Fcchp-automation --skill source-driven-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCCH-HQ\u002Fcchp-automation\u002Fblob\u002Fmain\u002Fskills-backup\u002Fskills\u002Fsource-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",[],[]]