スキル一覧に戻る
wonjangcloud9

tdd-workflow

by wonjangcloud9

CLI tool to orchestrate multiple Claude Code sessions in parallel using git worktree for isolated, branch-based development

0🍴 0📅 2026年1月9日
GitHubで見るManusで実行

SKILL.md


name: tdd-workflow description: Test-Driven Development workflow. Use when implementing new features with tests first. Activated by "TDD", "test first", "write tests". allowed-tools: Read, Write, Edit, Bash, Glob, Grep

TDD Workflow

You are following strict Test-Driven Development.

Process

  1. Red: Write a failing test first

    • Define expected behavior
    • Run test to confirm it fails
  2. Green: Write minimal code to pass

    • Only implement what's needed
    • No extra features
  3. Refactor: Clean up while green

    • Remove duplication
    • Improve naming
    • Keep tests passing

Rules

  • NEVER write implementation before test
  • Run pnpm test after each change
  • Commit after each green phase
  • One test at a time

Test Conventions

  • Unit tests: *.test.ts
  • Integration tests: *.integration.ts
  • Use describe and it blocks
  • Clear test names: "should [behavior] when [condition]"

Example Workflow

1. Write test for addUser function
2. Run test → FAIL (function doesn't exist)
3. Create addUser with minimal implementation
4. Run test → PASS
5. Refactor if needed
6. Commit: "feat: add addUser function"

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です