[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M723TW78MCMBVN3RSZG63ZTA":3,"skill-same:01M723TW78MCMBVN3RSZG63ZTA":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M723TW78MCMBVN3RSZG63ZTA","tdd",null,"Verify authorized feature, fix, and refactor work with scoped obligations, regression-first fixes, behavioral checks, characterization baselines, coverage, and lint.","arbiterForge\u002FcodeArbiter","arbiterForge","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F292945970?v=4","01M723CJ1FZ9YBVA7XXT0NJESP","01M723CJ23SYBFFTGBA7Q63BKH",153,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: tdd\ndescription: Verify authorized feature, fix, and refactor work with scoped obligations, regression-first fixes, behavioral checks, characterization baselines, coverage, and lint.\ndisable-model-invocation: true\n---\n\n# tdd\n\nSelect the verification approach before changing code. Keep the intended behavior,\nobserved results, and pending checks explicit throughout implementation.\n\n## Pre-flight\n\nUse the selected specification or inline criteria for a feature, the observed defect\nand expected behavior for a fix, and the agreed surface plus existing behavior for a\nrefactor. Read applicable project instructions and the test, coverage, and lint\ncommands in `${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002Ftech-stack.md`. Follow\n`${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fverification-boundary.md` for local versus hosted checks.\nIn an HTML-knowledge repository, `\"$PY\" \"${CLAUDE_PLUGIN_ROOT}\u002Fhooks\u002Fknowledge.py\" relevant \u003Cpaths>`\n(or the plan task's `task-context`) returns those commands with the constraints and\ncomponents that govern the paths you will touch; otherwise read\n`${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002Ftech-stack.md`, the security controls when the behavior\ncrosses a security boundary, and `.codearbiter\u002Fcode-map.md` on demand\n(`${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fknowledge.md`). A missing unrelated fact does not hold this work.\n\nFor artifact I\u002FO, load `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fartifacts.md`. Use the selected\nspec\u002Fplan identities and typed criterion records for HTML. Direct implementation\nreads the same relevant inputs; it does not require a child or delivery receipt.\n\nFor actual delegation, send bounded context to the named actor. Feature actors use\n`_artifactpromptlib.compose_feature_actor_input`; fix and test-only actors use\n`_contextselectlib.compose_fix_or_test_actor_input`. Bind the actual task paths,\ncommands and cwd, applicable constraints, and effective instructions. A small-lane\nfeature supplies `confirmed_mini_spec` with absent spec\u002Fplan IDs. A fix supplies\n`route='fix'`, `caller='fix'`, bug-origin evidence and the named regression. Test-only\nwork uses `route='test_change'` under its existing feature, fix, or refactor caller.\nUse `required_refs` for particular task-critical inputs. Missing optional map or\nprovenance information permits focused source inspection.\n\n`_contextselectlib.prepare_actor_delivery` can prepare the actor's bounded input.\nSend the returned delivery text when requested and retain observed delivery facts.\nAn advisory delivery result needs no further retry. Re-select after a material\nsource, scope or worktree change. Resolve actual critical missing or conflicting\ninputs before the affected action, and preserve host permissions.\n\n## Phase 1 — Obligations and verification approach\n\nRecord each required claim with an ID, its source, and its proving check. Include\napplicable contract and security boundaries. Retain the existing feature criteria,\nfix expectation, or refactor surface; ask only about a consequential missing choice.\n\n| Work | Evidence required |\n|---|---|\n| Confirmed fix | Observe a named regression failing for the defect before repair, then passing after repair. Reuse an adequate current bug-origin RED. |\n| Feature | Prefer test-first behavior checks. Existing implementation can be verified through current criterion-focused tests and meaningful negative controls where needed; report the observed sequence accurately. |\n| Refactor or coverage backfill | Run characterization tests against existing behavior before restructuring. An initially passing test is a valid baseline. Preserve that baseline and its assertions through the refactor. |\n| Documentation or non-executable change | Use the relevant reference, generation, schema, or rendering validation. Mark test and coverage phases inapplicable with the concrete reason. |\n\nEach obligation moves `OPEN → MAPPED → COVERED`; a claim without adequate evidence\nremains `MISSING`. Declare the approach and needed checks up front. Record only\nobserved results, including failures, skips, and unavailable checks.\n\n## Phase 2 — Establish the baseline\n\nRun the selected checks and read their output. For a confirmed fix, verify that the\nnamed regression fails for the target assertion, not an import, setup, or unrelated\nerror. Reuse a suitable existing test rather than duplicating it. Add tests for\nuncovered behavior. Keep unrelated baseline failures separately identified.\n\nFor test-first feature work, observe the intended missing behavior before adding\nit. For characterization, observe the existing behavior passing. A negative control\nor isolated fault fixture can establish that a test detects a relevant deviation;\ndo not alter correct production behavior merely to obtain a failure.\n\nFor timing defects, prefer a deterministic seam. When repeated trials are necessary,\nstate a finite trial bound and failure oracle before running them. Report sample\nlimits; a passing sample is not deterministic proof.\n\nProceed when the selected baseline supports the intended change. A confirmed fix\nrequires its genuine target RED. Missing characterization coverage requires useful\nbaseline tests before restructuring. Never weaken assertions or suppress failures.\n\n## Phase 3 — Implement and check\n\nImplement the scoped change using project conventions. Run the proving checks on\nthe resulting source, followed by affected pre-existing contracts. Repair regressions\nand retain failed results until superseded by an actual rerun.\n\nFor a regression-first fix, run the same named test for fresh GREEN. Keep its\nassertions unchanged between RED and GREEN. A material fixture or setup change\nrequires renewed target RED against the broken source before claiming that sequence.\nFor refactors, preserve the behavior and baseline test assertions.\n\n## Phase 4 — Verify obligations\n\nMatch each obligation to evidence that exercises its claim. Mark it `COVERED` only\nwhen the applicable check passed. An unexplained failure or untested requirement\nremains `MISSING`; repair the affected work and rerun its checks. Reuse current\nresults when the relevant source and inputs are unchanged.\n\nReview the combined change at the scope its risks warrant. Use `coverage-auditor`\n(`${CLAUDE_PLUGIN_ROOT}\u002Fagents\u002Fcoverage-auditor.md`) for an independently required review of security or contract-critical behavior.\nState exactly what the evidence proves and what remains unknown.\n\n## Phase 5 — Coverage\n\nApply `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fmaturity-coverage.md` using the project's declared\ncoverage profile and maturity stage. Run the owning coverage command for the affected\nsurface; every required metric must meet its threshold and critical-path evidence\nrequirements. Keep production scope, exclusions, and metrics unchanged unless the\nuser has authorized a policy change.\n\nName the measurement host and retain the supported host union for platform-forked\ntrees. An unavailable host remains unmeasured. When the surface has no coverage\ntooling, cite its `tech-stack.md` Coverage declaration and use the shared no-tooling\nrule with the Phase 4 evidence. Never invent a command or treat unmeasured coverage\nas passing.\n\n## Phase 6 — Lint and handoff\n\nRun applicable lint and type checks from the project command guide. Resolve errors.\nReturn the scoped obligations, selected verification approach, actual command\u002Fcwd\nand outcomes, and any pending checks to the caller. The commit owner evaluates this\nevidence for the selected staged changes; it does not require a different historical\ntest sequence from the one appropriate to the work.\n\nPreserve failures and actual user stops. Do not skip tests, lower coverage thresholds,\nor suppress security checks to obtain a pass. Use `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fharvest.md`\nfor genuine out-of-scope findings. Completion reports must distinguish implementation,\nverification, review, and release.\n","# tdd\n\nSelect the verification approach before changing code. Keep the intended behavior,\nobserved results, and pending checks explicit throughout implementation.\n\n## Pre-flight\n\nUse the selected specification or inline criteria for a feature, the observed defect\nand expected behavior for a fix, and the agreed surface plus existing behavior for a\nrefactor. Read applicable project instructions and the test, coverage, and lint\ncommands in `${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002Ftech-stack.md`. Follow\n`${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fverification-boundary.md` for local versus hosted checks.\nIn an HTML-knowledge repository, `\"$PY\" \"${CLAUDE_PLUGIN_ROOT}\u002Fhooks\u002Fknowledge.py\" relevant \u003Cpaths>`\n(or the plan task's `task-context`) returns those commands with the constraints and\ncomponents that govern the paths you will touch; otherwise read\n`${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002Ftech-stack.md`, the security controls when the behavior\ncrosses a security boundary, and `.codearbiter\u002Fcode-map.md` on demand\n(`${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fknowledge.md`). A missing unrelated fact does not hold this work.\n\nFor artifact I\u002FO, load `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fartifacts.md`. Use the selected\nspec\u002Fplan identities and typed criterion records for HTML. Direct implementation\nreads the same relevant inputs; it does not require a child or delivery receipt.\n\nFor actual delegation, send bounded context to the named actor. Feature actors use\n`_artifactpromptlib.compose_feature_actor_input`; fix and test-only actors use\n`_contextselectlib.compose_fix_or_test_actor_input`. Bind the actual task paths,\ncommands and cwd, applicable constraints, and effective instructions. A small-lane\nfeature supplies `confirmed_mini_spec` with absent spec\u002Fplan IDs. A fix supplies\n`route='fix'`, `caller='fix'`, bug-origin evidence and the named regression. Test-only\nwork uses `route='test_change'` under its existing feature, fix, or refactor caller.\nUse `required_refs` for particular task-critical inputs. Missing optional map or\nprovenance information permits focused source inspection.\n\n`_contextselectlib.prepare_actor_delivery` can prepare the actor's bounded input.\nSend the returned delivery text when requested and retain observed delivery facts.\nAn advisory delivery result needs no further retry. Re-select after a material\nsource, scope or worktree change. Resolve actual critical missing or conflicting\ninputs before the affected action, and preserve host permissions.\n\n## Phase 1 — Obligations and verification approach\n\nRecord each required claim with an ID, its source, and its proving check. Include\napplicable contract and security boundaries. Retain the existing feature criteria,\nfix expectation, or refactor surface; ask only about a consequential missing choice.\n\n| Work | Evidence required |\n|---|---|\n| Confirmed fix | Observe a named regression failing for the defect before repair, then passing after repair. Reuse an adequate current bug-origin RED. |\n| Feature | Prefer test-first behavior checks. Existing implementation can be verified through current criterion-focused tests and meaningful negative controls where needed; report the observed sequence accurately. |\n| Refactor or coverage backfill | Run characterization tests against existing behavior before restructuring. An initially passing test is a valid baseline. Preserve that baseline and its assertions through the refactor. |\n| Documentation or non-executable change | Use the relevant reference, generation, schema, or rendering validation. Mark test and coverage phases inapplicable with the concrete reason. |\n\nEach obligation moves `OPEN → MAPPED → COVERED`; a claim without adequate evidence\nremains `MISSING`. Declare the approach and needed checks up front. Record only\nobserved results, including failures, skips, and unavailable checks.\n\n## Phase 2 — Establish the baseline\n\nRun the selected checks and read their output. For a confirmed fix, verify that the\nnamed regression fails for the target assertion, not an import, setup, or unrelated\nerror. Reuse a suitable existing test rather than duplicating it. Add tests for\nuncovered behavior. Keep unrelated baseline failures separately identified.\n\nFor test-first feature work, observe the intended missing behavior before adding\nit. For characterization, observe the existing behavior passing. A negative control\nor isolated fault fixture can establish that a test detects a relevant deviation;\ndo not alter correct production behavior merely to obtain a failure.\n\nFor timing defects, prefer a deterministic seam. When repeated trials are necessary,\nstate a finite trial bound and failure oracle before running them. Report sample\nlimits; a passing sample is not deterministic proof.\n\nProceed when the selected baseline supports the intended change. A confirmed fix\nrequires its genuine target RED. Missing characterization coverage requires useful\nbaseline tests before restructuring. Never weaken assertions or suppress failures.\n\n## Phase 3 — Implement and check\n\nImplement the scoped change using project conventions. Run the proving checks on\nthe resulting source, followed by affected pre-existing contracts. Repair regressions\nand retain failed results until superseded by an actual rerun.\n\nFor a regression-first fix, run the same named test for fresh GREEN. Keep its\nassertions unchanged between RED and GREEN. A material fixture or setup change\nrequires renewed target RED against the broken source before claiming that sequence.\nFor refactors, preserve the behavior and baseline test assertions.\n\n## Phase 4 — Verify obligations\n\nMatch each obligation to evidence that exercises its claim. Mark it `COVERED` only\nwhen the applicable check passed. An unexplained failure or untested requirement\nremains `MISSING`; repair the affected work and rerun its checks. Reuse current\nresults when the relevant source and inputs are unchanged.\n\nReview the combined change at the scope its risks warrant. Use `coverage-auditor`\n(`${CLAUDE_PLUGIN_ROOT}\u002Fagents\u002Fcoverage-auditor.md`) for an independently required review of security or contract-critical behavior.\nState exactly what the evidence proves and what remains unknown.\n\n## Phase 5 — Coverage\n\nApply `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fmaturity-coverage.md` using the project's declared\ncoverage profile and maturity stage. Run the owning coverage command for the affected\nsurface; every required metric must meet its threshold and critical-path evidence\nrequirements. Keep production scope, exclusions, and metrics unchanged unless the\nuser has authorized a policy change.\n\nName the measurement host and retain the supported host union for platform-forked\ntrees. An unavailable host remains unmeasured. When the surface has no coverage\ntooling, cite its `tech-stack.md` Coverage declaration and use the shared no-tooling\nrule with the Phase 4 evidence. Never invent a command or treat unmeasured coverage\nas passing.\n\n## Phase 6 — Lint and handoff\n\nRun applicable lint and type checks from the project command guide. Resolve errors.\nReturn the scoped obligations, selected verification approach, actual command\u002Fcwd\nand outcomes, and any pending checks to the caller. The commit owner evaluates this\nevidence for the selected staged changes; it does not require a different historical\ntest sequence from the one appropriate to the work.\n\nPreserve failures and actual user stops. Do not skip tests, lower coverage thresholds,\nor suppress security checks to obtain a pass. Use `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fharvest.md`\nfor genuine out-of-scope findings. Completion reports must distinguish implementation,\nverification, review, and release.\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","fd7eb34b2da439551443d09526ab48fd1d1bb9bf","plugins\u002Fca\u002Fskills\u002Ftdd",9,"https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter","https:\u002F\u002Fcodearbiter.dev\u002F","https:\u002F\u002Fgithub.com\u002FarbiterForge","https:\u002F\u002FArbiterForge.com","2026-11-15 04:04:31",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":23},[35,38,41],{"tool":36,"command":37},"npx","npx skills add arbiterForge\u002FcodeArbiter --skill tdd",{"tool":39,"command":40},"bunx","bunx skills add arbiterForge\u002FcodeArbiter --skill tdd",{"tool":42,"command":43},"pnpm","pnpm dlx skills add arbiterForge\u002FcodeArbiter --skill tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Ftdd\u002FSKILL.md",[],[47,54,61,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M723VC2J3R1BJ20XW56WZG3K","myskill","A sample skill for fixtures — does one gated thing well.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin\u002Fskills\u002Fmyskill\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M723VAQ3APJEW6G1ESJ7AGFN","dup","Second of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-b\u002FSKILL.md",[],[],{"skillNo":62,"name":56,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M723V963M5R77EQM2N36KRTK","First of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-a\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M723V7VKBK473J4WMKV758B5","debug","A fixture skill named debug, colliding with the debug command\u002Fagent.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdebug\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M723V5PS7H5QY903F2WB8MJY","writing-plans","Turn the selected specification into a maintained implementation plan with clear outcomes, useful tasks, dependencies, and verification steps. Drafting uses the existing authorization and does not require artifact approval codes, reviewer receipts, or a frozen implementation script.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M723V22QK0R2VJ4HA74PRRW5","using-git-worktrees","OPTIONAL per-task isolation for autonomous parallel work. Routed to only on explicit opt-in by subagent-driven-development or dispatching-parallel-agents, so parallel units mutate files without colliding. Stands up one worktree per unit, works it in isolation, then integrates each unit back onto the caller's working branch for the caller's single commit-gate + finishing-a-development-branch exit. Never on the default path; it does not bypass a gate or finish per unit.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[]]