/assistant-framework:assistant-tddfrom assistant-framework
Guides test-first TDD cycles (RED-GREEN-REFACTOR) with shared operating guidance, test craft references, and workflow ownership rules.
Ships in assistant-framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Load the common outcome guidance and shared stagnation policy for this activity. Keep specialist methods, authority and completion evidence below; single-pass work needs no progress artifact.
Use TDD only when requested, required by project policy, or activated for selected checks by the carried verification decision. Scope, technique, and TDD are independent; inactive TDD never needs a fabricated RED.
none needed is valid. Record actual changes. After edits, run affected checks. No edits after
GREEN and nothing changed since means no rerun: record v3 reuse_green
with green.reuse_digest (contracts/output.yaml recipe) from that passing
GREEN run. Reuse creates zero new invocation, result or test count.
Failed GREEN, an unknown digest, or a changed one reruns. Only persisted
packets opting into reuse_identity_mode: detailed add the seven-category
identity. Historical v2 cycle entries stay readable, without invocation_ref or reuse.Keep actual test identity, commands/argv, cwd, observed outcomes, and why RED failed for the right reason. Partial cycles remain partial; an exception needs its recorded approval/reason and cannot be called TDD completion. Reused checks need no fabricated test edits.
For workflow/producer boundaries, load contracts/index.yaml: entry, active
current_phase, and completion preserve the existing canonical cycle log and
gates. Missing/invalid selectors load the full named file. Workflow owns dispatch.
Load workflow's references/build-worker-protocol.md only when that execution
path is selected.
bounded_executor: one owner authors tests, observes RED, implements, and
verifies GREEN and REFACTOR.separated_workers: the SAME selected writer authors tests (test_authoring),
implements after current RED (production), and refactors after current GREEN
(refactor). Builder/Tester executes checks only. Test-authoring DONE is
stage-only and cannot complete Build or permit Review.Preserve the unchanged decision, task-wide tdd_mode, and selected IDs. Workflow
activation is their intersection with tdd_choice.applicable_check_ids; split
active packets until exactly one ID intersects. Authorizing RED must match that
CheckSpec's exact ID, test file/name, argv/cwd, and meaningful-failure oracle.
Changed authorizing inputs require fresh RED without erasing history. Standalone
TDD without a decision invents no CheckSpec ID.
For a carried Architecture Decision Pack, test its semantic conversions, validation, compatibility, design-pressure behavior, and stated quality scenarios. Do not invent a Pack, benchmark, or quality claim. Unknown-cause bugs go through assistant-debugging before selecting the regression oracle.
Return the cycle evidence, changed test/production files, relevant verification,
exceptions, and blockers; preserve the canonical log for actual consumers.
Missing or invalid required RED blocks production (NEEDS_CONTEXT for delegated
writers). Wrong-reason RED requires a test/environment repair; failed GREEN or
REFACTOR blocks the next behavior. Ask only about unresolved material behavior
or oracle choices, with no numeric question quota.
contracts/index.yaml (opens in a new tab)contracts/input.yaml (opens in a new tab)contracts/output.yaml (opens in a new tab)contracts/phase-gates.yaml (opens in a new tab)references/operating-guidance.md (opens in a new tab)references/test-craft.md (opens in a new tab)references/wire-boundary.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
16 skills in this plugin
/assistant-advisory-triageDecides what to do with an incoming security advisory, advisory draft, or vulnerability report such as a GHSA or CVE report: close, keep open, or keep open but narrow, checked against shipped releases. Use when triaging or dispositioning a reported vulnerability; not for threat modelling, code or dependency vulnerability audits (assistant-security), implementing a known fix, or writing release notes./assistant-ci-auditAudits CI and test suites for false passes, discovery gaps, stale fixtures, brittle or duplicate tests, and cost. Use when a suite is weak, slow, or hard to trust; not for fixing one failing test or CI run./assistant-clarifyClarify ambiguous or multi-intent requests. Use when the user asks to untangle, structure, or restate what they mean./assistant-debuggingDiagnose an unknown failure by reproducing and isolating before fixing. Use for debugging, root causes, flaky tests, or unexplained breakage./assistant-docsCreate or update README, API, architecture, changelog, or migration docs, or diagrams of existing code. Use for explicit documentation work or a diagram of existing code./assistant-onboardMap an unfamiliar codebase and its patterns. Use for onboarding, project orientation, or explicit codebase-learning requests.npx claudepluginhub laimis91/assistant-framework --plugin assistant-frameworkOther plugins' skills for the same job