
snarktank/compound-product
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
スナークタンク/化合物製品は、[[T0]から輸入されたエージェントスキル候補です。
概要
スナークタンク/化合物製品は、[[T0]から輸入されたエージェントスキル候補です。
概要(AI 翻訳)
日々のレポートを読み取り、#1の実行可能な優先事項を特定し、それを自律的に実行する自己改善型プロダクトシステム。
コンセプト: あなたの製品はパフォーマンスに関するレポートを生成します。AIエージェントはそのレポートを分析し、最も影響力のある修正を選び、計画を作成し、それを実行します――すべてあなたが眠っている間に。あなたはPRがレビューの準備ができているのを目覚めます。
キアラン・クラッセンの複合工学手法、ジェフリー・ハントリーのラルフパターン、ライアン・カーソンの実装に基づいて構築されています。
仕組み
クイックスタート
前提条件
- Amp CLIまたはClaudeコード
- ブラウザベースのテスト用エージェントブラウザ(
npm install -g agent-browser) jqインストール済み (macOS 上でbrew install jq)- [
ghCLIがインストールおよび認証(brew install gh) - これらのLLMプロバイダーの一つが次のように構成されました:
- 人類的:
export ANTHROPIC_API_KEY=sk-ant-... - OpenRouter:
export OPENROUTER_API_KEY=sk-or-... - AIゲートウェイ:
export AI_GATEWAY_URL=https://... AI_GATEWAY_API_KEY=...
就任
Compound Productは既存のプロジェクトリポジトリにインストールされます。コードベースと連携して動作するスクリプトや設定を追加します。
あるいは、プロジェクト内でAIエージェントに伝えることもできます:
これにより、次のようになります:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Compound Product
A self-improving product system that reads daily reports, identifies the #1 actionable priority, and autonomously implements it.
The concept: Your product generates reports about its performance. An AI agent analyzes those reports, picks the most impactful fix, creates a plan, and implements it—all while you sleep. You wake up to a PR ready for review.
Built on Kieran Klaassen’s Compound Engineering methodology, Geoffrey Huntley’s Ralph pattern, and Ryan Carson’s implementation.
How It Works
flowchart TD
subgraph "Phase 0: Your System"
GEN[Generate Daily Reportyour code, cron, etc.]
GEN --> R[📊 reports/*.mdmetrics, errors, feedback]
end
subgraph "Phase 1: Analysis"
A[analyze-report.shLLM API]
R --> A
A --> J[analysis.jsonpriority + criteria]
end
subgraph "Phase 2: Planning"
B[Create Branchcompound/feature-name]
J --> B
B --> PRD[AI AgentLoad prd skill]
PRD --> MD[tasks/prd-feature.md]
MD --> TASKS[AI AgentLoad tasks skill]
TASKS --> JSON[prd.jsonexecutable tasks]
end
subgraph "Phase 3: Execution Loop"
LOOP[loop.shmax N iterations]
JSON --> LOOP
LOOP --> PICK[Pick next taskwhere passes: false]
PICK --> IMPL[AI AgentImplement task]
IMPL --> CHECK{QualityChecks?}
CHECK -->|Pass| COMMIT[Git Commit]
CHECK -->|Fail| FIX[Fix & Retry]
FIX --> CHECK
COMMIT --> UPDATE[Update prd.jsonpasses: true]
UPDATE --> DONE{All tasksdone?}
DONE -->|No| PICK
DONE -->|Yes| EXIT[Exit loop]
end
subgraph Output
EXIT --> PUSH[Git Push]
PUSH --> PR[🎉 Pull RequestReady for review]
end
click A "https://github.com/snarktank/compound-product/blob/main/scripts/analyze-report.sh" "View analyze-report.sh"
click LOOP "https://github.com/snarktank/compound-product/blob/main/scripts/loop.sh" "View loop.sh"
click PRD "https://github.com/snarktank/compound-product/blob/main/skills/prd/SKILL.md" "View PRD skill"
click TASKS "https://github.com/snarktank/compound-product/blob/main/skills/tasks/SKILL.md" "View Tasks skill"
Quick Start
Prerequisites
- Amp CLI or Claude Code
- agent-browser for browser-based testing (
npm install -g agent-browser) jqinstalled (brew install jqon macOS)ghCLI installed and authenticated (brew install gh)- One of these LLM providers configured:
- Anthropic:
export ANTHROPIC_API_KEY=sk-ant-...
- Anthropic:
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add snarktank/compound-product