Autodev Parallelのロゴ

Autodev Parallel

コミュニティ
jh941213
autodev-parallel

Parallel version of the Ralph Loop. Multiple agents process PRD items simultaneously in worktrees. Triggers: "parallel experiments", "autodev parallel", "simultaneous experiments", "worktree experiments", "parallel ralph" Anti-triggers: "sequential experiments", "one at a time"

概要

公開者jh941213
リポジトリmy-cc-harness
スキル名autodev-parallel
スター
125
フォーク
35
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    jh941213がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Autodev Parallel」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jh941213/my-cc-harness/tree/main/skills_en/autodev-parallel
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jh941213/my-cc-harness.git /tmp/my-cc-harness
mkdir -p .claude/skills
cp -r /tmp/my-cc-harness/skills_en/autodev-parallel .claude/skills/autodev-parallel
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAutodev Parallelを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAutodev Parallelを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Autodev Parallelは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

AutoDev Parallel — Ralph Loop Parallel Orchestrator

Multiple agents process PRD items in parallel within worktree-isolated environments. Maximizes completion speed by working on independent items simultaneously.

Core Concept

main (or current branch)
 │
 ├── worktree A ── Agent 1: PRD item 1
 ├── worktree B ── Agent 2: PRD item 2
 ├── worktree C ── Agent 3: PRD item 3
 │
 └── Orchestrator (this skill)
      - Classify & assign independent items
      - Collect & verify results
      - Integrate via cherry-pick
      - Repeat for next round

Phase 0: Configuration Collection

yaml
goal: "What to achieve"
prd: "Path to PRD or checklist file"    # e.g., "PRD.md"
scope: ["Modifiable file patterns"]
verify: "Verification command"
parallel: 3                            # Number of concurrent agents (default 3)
rounds: 5                             # Number of rounds (default 5)
max_iterations: 100                    # Stop Hook maximum iterations (default 100)
completion_promise: "DONE"

Phase 1: Item Classification

Read the PRD and analyze item dependencies:

markdown
## Independent items (parallelizable)
- [ ] Item A: API endpoint — src/api/
- [ ] Item B: UI component — src/components/
- [ ] Item C: Write tests — tests/

## Dependent items (require sequencing)
- [ ] Item D: after A completes → integration tests

Phase 2: Round Loop

for round in 1..rounds:

  1. SELECT
     - Pick up to {parallel} independent items among the incomplete ones
     - Items with dependencies are selected only after their prerequisites complete

  2. LAUNCH (parallel)
     - Invoke {parallel} Agents simultaneously
     - Each Agent is isolated with isolation: "worktree"
     - Prompt passed to each Agent:

     """
     Implement the PRD item.

     Item: {specific_item}
     Scope: {scope}
     Verify: {verify}

     Procedure:
     1. Read files within scope and implement the item
     2. Verify by running {verify}
     3. On failure, attempt build-fix once
     4. On success, git commit -m "[autodev] {item_summary}"
     5. Return the result as the final message:
        AUTODEV_RESULT: status={success|fail}, commit={hash}, item="{desc}"
     """

  3. COLLECT
     - Wait for each Agent to complete
     - Parse results (status, commit hash)

  4. INTEGRATE
     - Cherry-pick the changes of successful Agents
     - On cherry-pick conflict:
       - Attempt conflict resolution (once)
       - On failure, defer the item to the next round
     - Check off completed items as [x] in the PRD

  5. VERIFY ALL
     - Full verification after integration: {verify}
     - On failure, revert the last cherry-pick and defer the item

  6. REPORT (per round)
     Round {round}/{rounds} complete:
     - Agent 1: {status} — {item}
     - Agent 2: {status} — {item}
     - Remaining incomplete items: {remaining}

  7. CHECK COMPLETION
     - All items complete? → <promise>DONE</promise>
     - Otherwise → next round

Phase 3: Completion Report

markdown
# AutoDev Parallel Completion Report

## Summary
- Total rounds: {rounds}
- Total items: {total} (completed: {done}, failed: {failed})
- Parallel agents: {parallel}

## Results by Round
| Round | Completed items | Failed | Cumulative completion |
|-------|-----------------|--------|-----------------------|
| 1 | A, B | - | 2/10 (20%) |
| 2 | C, D, E | F | 5/10 (50%) |

## Incomplete Items (if any)
- [ ] Item F: reason

## Branch
autodev/{tag} — ready to merge into main

Parallelism Guidelines

SituationRecommended parallel
Independent files/modules5 (maximum)
Changes within the same file1-2 (conflict risk)
Includes performance benchmarks2-3 (shared resources)
Test-only judgment3-5

Safeguards

  1. Worktree isolation: use the Agent tool's isolation: "worktree"
  2. Cherry-pick only: force push is strictly forbidden
  3. Protect existing tests: roll back when full verification fails after integration
  4. Respect dependencies: process dependent items only after prerequisites complete
  5. Synchronize between rounds: start the next round only after the previous round's integration completes
  6. max_iterations: Stop Hook safety mechanism
  7. TTH mutual exclusion: do not use simultaneously with TTH (/tth) (Stop hook loop conflict)

TTH Team Member Utilization (optional)

yaml
# Assign specialty areas per team member
pichai: architecture changes, module separation
jensen: API optimization, DB query improvements
zuckerberg: frontend components
bezos: code deletion, removing unnecessary abstractions

Include the team role file in the prompt to grant expertise:

Read the team member's role file and implement from that perspective:
~/.claude/team-roles/{role}.md

よくある質問

AIスキル「Autodev Parallel」では何ができますか?

Parallel version of the Ralph Loop. Multiple agents process PRD items simultaneously in worktrees. Triggers: "parallel experiments", "autodev parallel", "simultaneous experiments", "worktree experiments", "parallel ralph" Anti-triggers: "sequential experiments", "one at a time"

TypingMindでAutodev Parallelを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Autodev Parallelはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAutodev Parallelをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jh941213/my-cc-harness/tree/main/skills_en/autodev-parallelを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Autodev Parallelを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Autodev Parallelで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAutodev Parallelを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Autodev Parallel」は無料ですか?

jh941213がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇