[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B35490A5D3C64ZRSR31N10":3,"skill-same:01M7B35490A5D3C64ZRSR31N10":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7B35490A5D3C64ZRSR31N10","coredoc-tdd",null,"Implement a feature or bug fix test-first with a strict red-green-refactor loop. Use only when the user explicitly asks for TDD or strict test-first work.","yvp-core\u002Fcoredoc-workflows","yvp-core","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174835699?v=4","01M7B326102XNKE5S0W16B6PTF","01M7B32622VD7X5T7TS76MYC63",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-tdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: coredoc-tdd\ndescription: Implement a feature or bug fix test-first with a strict red-green-refactor loop. Use only when the user explicitly asks for TDD or strict test-first work.\n---\n\n# Test-driven implementation\n\nResolve `\u003Cplugin-root>` as two directories above this file. Stay inside the\nuser's authorization boundary.\n\nFor a change whose best proof is not a new failing test (a deletion,\nbehavior-preserving refactor, documentation, configuration, or generated\noutput), use `coredoc-implement` unless the user explicitly requires TDD.\n\n1. Read the requested behavior and the real runtime path. Use Coredoc graph\n   tools read-only for callers, dependents, and impact when available; treat\n   their results as a lower bound and verify critical gaps against source.\n2. Before any edit, apply\n   `\u003Cplugin-root>\u002Fresources\u002Fmethodology\u002Fbranch-start.md` unless the router\n   already did so in this run.\n3. If a routed specification stage preceded this one, read the repository-local\n   specification. Treat its acceptance criteria as the test list and its\n   non-goals as the scope boundary.\n4. Apply the **Over-scope gate** before editing. Search for an existing\n   implementation of each behavior. If a criterion or item has no current\n   observer or consumer, protects an unreachable state, duplicates an\n   authoritative implementation, or hardens a deprecated path outside its\n   support window, stop and request a scope correction.\n5. Inspect existing tests and choose the smallest normal test surface that would\n   catch the regression.\n6. Add one meaningful test and run it before implementation.\n7. If it is not RED for the expected missing behavior, correct the test before\n   touching production code.\n8. Implement the smallest root-cause change that makes the test GREEN.\n9. Run the targeted test, then the relevant package or repository suite. When the\n   suite comes back red beyond your own test, apply\n   `\u003Cplugin-root>\u002Fresources\u002Fmethodology\u002Ftest-failure-triage.md` before deciding\n   whether to stop; never weaken an assertion to reach green.\n10. Refactor only when the green implementation contains concrete duplication or\n   obscures the changed behavior.\n\n**Escalate an under-scoped route.** Routing happens before source inspection. If\nthe change must alter a shared or cross-package contract, create a component or\nsubsystem, or cannot be verified on one test surface, stop and name the affected\ncontract and consumers. Offer to route again at `--scale large` so specification,\ndesign, approval, and review apply.\n\nBefore delegating an item, apply\n`\u003Cplugin-root>\u002Fresources\u002Fmethodology\u002Fsubagent-dispatch.md`.\n\nDo not commit, publish, or deploy unless the user separately asks.\n","# Test-driven implementation\n\nResolve `\u003Cplugin-root>` as two directories above this file. Stay inside the\nuser's authorization boundary.\n\nFor a change whose best proof is not a new failing test (a deletion,\nbehavior-preserving refactor, documentation, configuration, or generated\noutput), use `coredoc-implement` unless the user explicitly requires TDD.\n\n1. Read the requested behavior and the real runtime path. Use Coredoc graph\n   tools read-only for callers, dependents, and impact when available; treat\n   their results as a lower bound and verify critical gaps against source.\n2. Before any edit, apply\n   `\u003Cplugin-root>\u002Fresources\u002Fmethodology\u002Fbranch-start.md` unless the router\n   already did so in this run.\n3. If a routed specification stage preceded this one, read the repository-local\n   specification. Treat its acceptance criteria as the test list and its\n   non-goals as the scope boundary.\n4. Apply the **Over-scope gate** before editing. Search for an existing\n   implementation of each behavior. If a criterion or item has no current\n   observer or consumer, protects an unreachable state, duplicates an\n   authoritative implementation, or hardens a deprecated path outside its\n   support window, stop and request a scope correction.\n5. Inspect existing tests and choose the smallest normal test surface that would\n   catch the regression.\n6. Add one meaningful test and run it before implementation.\n7. If it is not RED for the expected missing behavior, correct the test before\n   touching production code.\n8. Implement the smallest root-cause change that makes the test GREEN.\n9. Run the targeted test, then the relevant package or repository suite. When the\n   suite comes back red beyond your own test, apply\n   `\u003Cplugin-root>\u002Fresources\u002Fmethodology\u002Ftest-failure-triage.md` before deciding\n   whether to stop; never weaken an assertion to reach green.\n10. Refactor only when the green implementation contains concrete duplication or\n   obscures the changed behavior.\n\n**Escalate an under-scoped route.** Routing happens before source inspection. If\nthe change must alter a shared or cross-package contract, create a component or\nsubsystem, or cannot be verified on one test surface, stop and name the affected\ncontract and consumers. Offer to route again at `--scale large` so specification,\ndesign, approval, and review apply.\n\nBefore delegating an item, apply\n`\u003Cplugin-root>\u002Fresources\u002Fmethodology\u002Fsubagent-dispatch.md`.\n\nDo not commit, publish, or deploy unless the user separately asks.\n",{"name":5,"description":7},"main","d88b3e8761a3011352867f38d0815133342c9da5","plugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-tdd",0,"https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows","https:\u002F\u002Fgithub.com\u002Fyvp-core","2026-11-02 00:10:03",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add yvp-core\u002Fcoredoc-workflows --skill coredoc-tdd",{"tool":36,"command":37},"bunx","bunx skills add yvp-core\u002Fcoredoc-workflows --skill coredoc-tdd",{"tool":39,"command":40},"pnpm","pnpm dlx skills add yvp-core\u002Fcoredoc-workflows --skill coredoc-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-tdd\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7B35CK4KY040ABBNGG64ARF","electron-qa","Control an opted-in Electron development app over loopback CDP. Use for QA or review of a real Electron surface where preload, IPC, and an app-owned session matter.","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Felectron-qa\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7B3589133JFXW1P9S9557P1","coredoc-workflows","Route engineering work through the smallest Coredoc workflow for investigation, planning, implementation, review, specification, browser QA, benchmarking, security review, learning, or retrospectives. Use when asked to route, orchestrate, or choose a workflow for a task.","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-workflows\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7B34Z6ZXYDF6Y7T4KGDA2KY","coredoc-spec","Use whenever the user asks to write, draft, or update a spec, specification, ticket, issue, epic, or backlog item, or to \"spec out\" a change, whether the request is vague or already fully detailed. Produces a compact executable specification (scope, use cases, acceptance criteria, implementation plan) grounded in repository evidence and sized to the change.","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-spec\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7B34QBRF0M8JBY82HC1QVAE","coredoc-security-review","Read-only security audit of secrets, dependencies, CI\u002FCD, LLM trust boundaries, and OWASP risks. Use for a security audit, threat model, supply-chain review, or pre-release security assessment.","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-security-review\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7B34JW0B140YCP1D4K1P5RN","coredoc-runtime-qa","Test a running web or desktop app, fix authorized defects with regression tests, and re-verify them. Use for QA with fixes.","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-runtime-qa\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7B34EY3ZPN1YZX62QX574WV","coredoc-runtime-qa-report","Test a running web or desktop app and report bugs with evidence, changing no code. Use for report-only QA or when asked to find bugs but not fix them.","https:\u002F\u002Fgithub.com\u002Fyvp-core\u002Fcoredoc-workflows\u002Fblob\u002Fmain\u002Fplugins\u002Fcoredoc-workflows\u002Fskills\u002Fcoredoc-runtime-qa-report\u002FSKILL.md",[],[]]