/tdd
Test-driven development with observed red and green evidence
> /plugin marketplace add nyldn/claude-octopus
Command definition
tdd.mdcommand: tdd
disable-model-invocation: true
description: Test-driven development with observed red and green evidence
Octopus TDD
Load `skills/blocks/engineering-method-selection.md` from the installed plugin and apply only the methods relevant to this task. Preserve this entry point's execution contract and output format. Read referenced skills as instructions; do not invoke the current command recursively or add provider calls from a seat.
Load and follow `${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/.claude/skills/skill-tdd/SKILL.md`.
Treat `--peer-review` as an instruction to request one bounded independent test design review through existing Octopus routing. Do not pass the token or the remaining user text into a shell command. Natural-language independent-review requests have the same meaning. Otherwise run on the current host with zero additional provider dispatches unless an existing escalation policy both requires and permits review under the effective preferences and billing limits. Risk alone does not authorize a paid call; honor explicit host-only requests.
Step 1: Ask Clarifying Questions when needed
Do not interrupt a well-specified task. If the repository and request leave a material choice unresolved, use `AskUserQuestion` for only the unanswered items from this intake:
AskUserQuestion({
questions: [
{
question: "Which coverage boundary should prove the observable behavior?",
header: "Coverage",
multiSelect: false,
options: [
{label: "Public API", description: "Prove behavior at the caller-facing API."},
{label: "Integration", description: "Prove behavior across component boundaries."},
{label: "User flow", description: "Prove the complete user-visible path."}
]
},
{
question: "Which test style should carry the regression?",
header: "Test style",
multiSelect: false,
options: [
{label: "Unit", description: "Use the narrowest stable public boundary."},
{label: "Integration", description: "Exercise the real collaborating components."},
{label: "End to end", description: "Exercise the supported runtime path."}
]
},
{
question: "What complexity and risk level does this change carry?",
header: "Complexity",
multiSelect: false,
options: [
{label: "Focused", description: "Run the focused test and directly affected suite."},
{label: "Standard", description: "Add the repository's normal changed-file gates."},
{label: "High risk", description: "Add integration, race, or security coverage."}
]
}
]
})After receiving answers, incorporate them into the test boundary, test layer, and validation depth. Repository evidence still takes precedence over a generic coverage target.
Before implementation, state the behavior under test and show the observed red failure. After implementation, show the focused green result and the affected suite result. If tests are consolidated, include the behavior ledger and five-run timings. Do not ask generic coverage questions when the repository and request already establish the needed scope.
Read more
command: tdd disable-model-invocation: true description: Test-driven development with observed red and green evidence
Octopus TDD
Load `skills/blocks/engineering-method-selection.md` from the installed plugin and apply only the methods relevant to this task. Preserve this entry point's execution contract and output format. Read referenced skills as instructions; do not invoke the current command recursively or add provider calls from a seat.
Load and follow `${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/.claude/skills/skill-tdd/SKILL.md`.
Treat `--peer-review` as an instruction to request one bounded independent test design review through existing Octopus routing. Do not pass the token or the remaining user text into a shell command. Natural-language independent-review requests have the same meaning. Otherwise run on the current host with zero additional provider dispatches unless an existing escalation policy both requires and permits review under the effective preferences and billing limits. Risk alone does not authorize a paid call; honor explicit host-only requests.
Step 1: Ask Clarifying Questions when needed
Do not interrupt a well-specified task. If the repository and request leave a material choice unresolved, use `AskUserQuestion` for only the unanswered items from this intake:
AskUserQuestion({
questions: [
{
question: "Which coverage boundary should prove the observable behavior?",
header: "Coverage",
multiSelect: false,
options: [
{label: "Public API", description: "Prove behavior at the caller-facing API."},
{label: "Integration", description: "Prove behavior across component boundaries."},
{label: "User flow", description: "Prove the complete user-visible path."}
]
},
{
question: "Which test style should carry the regression?",
header: "Test style",
multiSelect: false,
options: [
{label: "Unit", description: "Use the narrowest stable public boundary."},
{label: "Integration", description: "Exercise the real collaborating components."},
{label: "End to end", description: "Exercise the supported runtime path."}
]
},
{
question: "What complexity and risk level does this change carry?",
header: "Complexity",
multiSelect: false,
options: [
{label: "Focused", description: "Run the focused test and directly affected suite."},
{label: "Standard", description: "Add the repository's normal changed-file gates."},
{label: "High risk", description: "Add integration, race, or security coverage."}
]
}
]
})After receiving answers, incorporate them into the test boundary, test layer, and validation depth. Repository evidence still takes precedence over a generic coverage target.
Before implementation, state the behavior under test and show the observed red failure. After implementation, show the focused green result and the affected suite result. If tests are consolidated, include the behavior ledger and five-run timings. Do not ask generic coverage questions when the repository and request already establish the needed scope.
Every AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code
Other commands on octo.
More commands from other plugins.
setup
CommandOne-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…
autoresearch
CommandAutonomous iteration loop: modify, verify, keep/discard against any metric
agent
Commandname: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…

