Skip to content
Agentmart
Submit a tool

tdd-ai-parallel

テスト駆動AI並列開発ワークフロー。テストファイルが既にあって実装を書きたい時、 または複数のIssueを並行で解決したい時に使う。Issueの実装、テスト通過、PR作成までを spawn-agentsコマンドで一気通貫で進める。「新機能を実装」「Issue を解決」…

Skill by inai17ibar

IndexedMIT
Write a review

Chalk Labs

Need help deploying tdd-ai-parallel?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/inai17ibar-tdd-ai-parallel

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

テスト駆動AI並列開発ワークフロー。テストファイルが既にあって実装を書きたい時、 または複数のIssueを並行で解決したい時に使う。Issueの実装、テスト通過、PR作成までを spawn-agentsコマンドで一気通貫で進める。「新機能を実装」「Issue を解決」 「並列で開発」「TDDで実装」「複数機能を同時に開発」がトリガー。

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/tdd-ai-parallel

Tools it pre-approves 6

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash,
  • Read,
  • Write,
  • Edit,
  • Glob,
  • Grep

What's inside

Skill name
tdd-ai-parallel
Description
テスト駆動AI並列開発ワークフロー。テストファイルが既にあって実装を書きたい時、 または複数のIssueを並行で解決したい時に使う。Issueの実装、テスト通過、PR作成までを spawn-agentsコマンドで一気通貫で進める。「新機能を実装」「Issue を解決」 「並列で開発」「TDDで実装」「複数機能を同時に開発」がトリガー。
License
MIT
Allowed tools
Bash,, Read,, Write,, Edit,, Glob,, Grep
Instructions
106 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (2)

  • SKILL.md
  • test-templates.md · references/

SKILL.md (first lines)

# テスト駆動AI並列開発

## 原則

「AIに明確なゴール判定(テスト)を与える」のが核心。テストが仕様書になる。
人間は設計とレビュー、AIは実装、ゴール判定はテスト。

## いつ使うか

- 既にテストファイルがあって実装を書く時
- 複数のIssueを並行で解決したい時
- リファクタや新機能で複数案を試したい時 (ccx-run併用)

## ワークフロー

### 単一機能の TDD

1. `git checkout -b feature/<機能名>`
2. テストファイルを書く (なければユーザに「先にテストを書きますか?」と聞く)
3. テストが失敗することを確認する: `npm test` / `pytest` / `cargo test`
4. 実装を書く
5. テストが通ることを確認
6. lint・型チェック: `npm run lint` / `ruff check` / `cargo clippy`
7. `git add -A && git commit -m "feat: <機能名>"`

### 複数Issueの並行解決

ハーネスの `spawn-agents` コマンドを使う:

```bash
# Issue #42, #51, #67 を並行で解決して PR まで作成
spawn-agents --merge 42 51 67

# Sonnetで高速バッチ (Opusレート制限回避)
spawn-agents --model claude-sonnet-5 -j 5 --merge 1 2 3 4 5

# tmuxで並行ログ確認
spawn-agents -m tmux 42 51 67
```

各Issueは `~/worktrees/<リポジトリ名>-issue-<番号>/` に独立した worktree が切られ、
ブランチは `agent/issue-<番号>-<timestamp>` で作成される。

### 探索的タスク (ccx-run)

設計案・リファクタなど「複数解がありうる」タスクは ccx-run でN回試して採用:

```bash
# Opusで3回試して比較
ccx-run -n 3 "認証フローを設計して実装して"

# テスト通過を採用条件にする
ccx-run --test "npm test" -n 3 "UserServiceをリファクタ"
```

## 並列度の判断

| 状況 | 並列OK | 並列NG |
|---|---|---|
| 異なるファイルを触る | ✅ | |
| 同じファイルを別関数で触る | ✅ (慎重に) | |
| 同じ関数を触る |  | ❌ 直列化 |
| DBスキーマ変更 |  | ❌ 直列化 |
| 共有型定義の変更 |  | ❌ 事前合意 |

## 良いテストの条件

- 入出力が型と値で明確に定義されている
- モックで外部依存を切る (DB, API, ファイルシステム)
- 正常系・異常系・境界値・エッジケースを網羅
- `npm test` 1コマンドで実行できる

詳細なテストパターン例は `references/test-templates.md` 参照。

## エージェントへの実装指示テンプレート

spawn-agents は自動で良いプロンプトを組み立てるが、手動で claude を呼ぶ場合は:

```
<テストファイルパス> の全テストが pass するまで実装してください。

テスト実行: <テスト実行コマンド>
既存テストも壊さないこと。
完了したら git add -A && git commit -m "fix: ..." を必ず実行してください。
最後に "COMPLETED" と出力してください。
```

## トラブルシュート

| 症状 | 対処 |
|---|---|
| エージェントが質問してくる | `--dangerously-skip-permissions` 付与 |
| 実装してもコミットしない | プロンプトに「必ずコミット」明記、Stop hookで auto-commit |
| テスト通っても品質低い | テスト要件に lint・型チェック追加 |
| 並行でコンフリクト | 共有ファイルの変更タスクは直列化 |
| Opusでレート制限 | `-j 2` で並行数を下げる、または `--model claude-sonnet-5` |

## ハーネスとの統合

このスキルは Claude Dev Harness と連携する:
- `spawn-agents` — 並行Issue解決
- `ccx-run` — N回実行→ベスト選択
- `worktree-clean` — マージ済みクリーンアップ
- Hooks: 自動コミット (`auto-commit.sh`), 通知 (`on-stop.sh`), lint (`post-write.sh`)

From inai17ibar/claude-dev-harness, MIT.

More from inai17ibar/claude-dev-harness

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 12, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from inai17ibar

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get tdd-ai-parallel running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying tdd-ai-parallel?

CallGet help
Cite this page

tdd-ai-parallel skill. Agent Mart. https://agentmart.dev/skills/inai17ibar-tdd-ai-parallel (last updated 2026-10-24)