brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
tdd-workflowUse this skill for test-first implementation of new features, bug fixes, and refactors with RED-GREEN-REFACTOR discipline and explicit verification gates.
Independent GitHub snapshot · Automated classification · Original documentation governs
Codex invocation: use
$tdd-workflow ...ortdd-workflow: ...
Enforce test-first development with explicit phase gates and reproducible verification evidence.
goal (required): feature, bug fix, or refactor target.scope (required): files/modules allowed to change.risk_level (optional): low | medium | high.test_layers (optional): unit | integration | e2e.done_definition (required): objective completion criteria.$tdd-workflow Add refresh-token rotation for OAuth login
$tdd-workflow Fix race condition in cache invalidation path
$tdd-workflow Refactor order pricing module without behavior change
Use this skill when implementation has not started and you need strict test-first execution.
$tdd-workflow for pre-implementation TDD flow.$test-gen for post-implementation backfill/regression tests.$verification-loop for repeated fix-verify cycles after failures.Codex supports native subagents. Delegate with spawn_agent, coordinate with send_input, collect via wait_agent, and clean up with close_agent.
Minimal orchestration pattern:
spawn_agent -> send_input (optional) -> wait_agent -> close_agent
Fallback: if delegation is unavailable, execute the same phases sequentially in a single thread.
State file: .omc/state/tdd-workflow-state.json
Exit criteria:
Exit criteria:
Exit criteria:
Exit criteria:
Run broader quality gates:
omcodex test changed
npm run build
npm run lint
npm run test
Use project-native equivalents when scripts differ.
Exit criteria:
high risk paths, require regression assertions and negative-path tests.[TDD-WORKFLOW]
- goal
- scope
- risk_level
[RED]
- tests added
- expected failures observed
[GREEN]
- implementation summary
- targeted tests passed
[REFACTOR]
- cleanup summary
- behavior preservation evidence
[VERIFY]
- commands executed
- pass/fail summary
- remaining risks
[STATUS]
- phase: <scope|red|green|refactor|verify>
- result: <complete|blocked|in_progress>
- promise: <PROMISE tag>
[PROMISE:TDD_WORKFLOW_COMPLETE][PROMISE:TDD_WORKFLOW_BLOCKED]Block when:
$cancel or stop/cancel.