원클릭으로
tdd
Implement features using Test-Driven Development (TDD) with Red-Green-Refactor cycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Implement features using Test-Driven Development (TDD) with Red-Green-Refactor cycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | tdd |
| description | Implement features using Test-Driven Development (TDD) with Red-Green-Refactor cycle. |
| disable-model-invocation | true |
Implement $ARGUMENTS using Test-Driven Development (TDD).
Repeat: Red -> Green -> Refactor
1. Red: Write a failing test
2. Green: Write minimal code to pass the test
3. Refactor: Clean up code (tests still pass)
Confirm Requirements
List Test Cases
- [ ] Happy path: Basic functionality
- [ ] Happy path: Boundary values
- [ ] Error case: Invalid input
- [ ] Error case: Error handling
Python (pytest):
# tests/test_{module}.py
def test_{function}_basic():
"""Test the most basic case"""
result = function(input)
assert result == expected
Run test and confirm failure:
uv run pytest tests/test_{module}.py -v
PowerShell (Pester):
# tests/{Module}.Tests.ps1
Describe '{Function-Name}' {
It 'should handle basic case' {
$result = Function-Name -Input $input
$result | Should -Be $expected
}
}
Run test and confirm failure:
pwsh -NoProfile -Command "Invoke-Pester tests/{Module}.Tests.ps1 -Verbose"
Write minimal code to pass the test:
Run test and confirm success (use the appropriate test runner for the language).
Improve while tests still pass:
Run tests again to confirm still passes.
Return to Step 1 with next test case from the list.
Run all tests and check coverage:
Python:
uv run pytest -v
uv run pytest --cov={module} --cov-report=term-missing
PowerShell:
pwsh -NoProfile -Command "Invoke-Pester -Verbose -CodeCoverage '{module}.ps1'"
Coverage target: 80%+
## TDD Complete: {Feature Name}
### Test Cases
- [x] {test1}: {description}
- [x] {test2}: {description}
...
### Coverage
{Coverage report}
### Implementation Files
- `{source file}`: {description}
- `{test file}`: {N} tests
テストカバレッジを分析し、最もインパクトの大きいテスト追加を提案する。 「テスト改善」「カバレッジ」「test-coverage」で呼び出される。 モジュールごとのカバレッジ分析、未テストのエッジケース検出、 テストスケルトンの自動生成を行う。
セッション引き継ぎを実行し、HANDOFF.md を更新する
プロジェクトの STG0(要件確認)を実行し、タスクを開始する。claude-code-orchestra 互換エイリアス。
Save full session context: git history, Agent Teams activity, and discover reusable skill patterns — all in one run. No flags needed. Run at session end, after major milestones, or when you want to capture learnings.
ドキュメントとコード実装の整合性を監査する。 コード変更後に「ドキュメント確認」「docs-sync」「整合性チェック」で呼び出される。 Hook 実装と設計ドキュメントの乖離、README の記述の古さ、 マニフェストとファイル構成のずれを検出して修正案を提示する。
Analyze project structure and update AGENTS.md with detected tech stack, commands, and configurations.