closed-loop-delivery
できること
このツールは、AIがコーディングの作業を最初から最後まで完了できるように支援します。コードが動作することを確認し、レビューを受け、テストを行い、すべてが完成するまで明確なルールに従って進めます。
使う場面
- ✓AIにバグを修正させ、その修正をテストしたいとき。
- ✓AIにテストやデプロイまで含めて新機能を作らせたいとき。
- ✓テスト、レビュー、デプロイを一つずつAIに頼む手間を省きたいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/closed-loop-delivery/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“バグXを修正して、テストが通ることを確認し、レビューに出して、開発環境にデプロイしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはまず、何をすべきか、そして作業が完了したとみなすためのルールを理解します。その後、コードを書き、ローカルでテストし、レビューのコメントに対応します。最後にデプロイを行い、すべてが期待どおりに動作することを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Closed-Loop Delivery
Overview
Treat each task as incomplete until acceptance criteria are verified in evidence, not until code is merely changed.
Core rule: deliver against DoD (Definition of Done), not against code diff size.
When to Use
Use this skill when:
- user gives a coding/fix task and expects end-to-end completion
- task spans code + tests + PR comments + dev deploy + runtime checks
- repeated manual prompts like "now test", "now deploy", "now re-check PR" should be avoided
Do not use this skill for:
- pure Q&A/explanations
- prod deploy requests without explicit human approval
- tasks blocked by missing secrets/account access that cannot be inferred
Required Inputs
Before execution, define these once:
- task goal
- acceptance criteria (DoD)
- target environment (
devby default) - review cadence/budget when requested; a default review cadence is not a task-completion limit
If acceptance criteria are missing, request them once. If user does not provide, propose a concrete default and proceed.
Issue Gate Dependency
If the project already uses create-issue-gate, respect its current contract; otherwise derive acceptance criteria from the authorized task without inventing a mandatory issue.
- If issue status is
readyand execution gate isallowed, continue. - A real project-required draft gate can block dependent actions; it does not forbid independent discovery or already-authorized work under a different applicable workflow.
- Use available task context to formulate testable criteria; clarify only when a missing decision materially changes the outcome.
Default Workflow
Define DoD
- Convert request into testable criteria.
- Example: checkout task DoD = "checkout endpoint returns a valid, openable third-party payment URL in dev".
Implement minimal change
- Keep scope tight to task goal.
Verify locally
- Run focused tests first, then broader checks if needed.
Review loop
- Fetch PR comments/reviews.
- Classify valid vs non-actionable.
- Fix valid items, re-run verification.
Dev deploy + runtime verification
- Deploy only to an already-authorized dev target when runtime behavior matters; otherwise prepare and verify the concrete candidate locally.
- Verify via real API/Lambda/log evidence against DoD.
Completion decision
- Only report "done" when all DoD checks pass.
- Otherwise continue loop until pass or stop condition.
PR Comment Polling Policy
Avoid noisy short polling by default. Use batched windows:
- Round 1: wait
3m, collect delta comments/reviews - Round 2: wait
6m, collect delta again - Final round: wait
10m, collect all remaining visible comments/reviews
At each round:
- process all new comments in one batch
- avoid immediate re-poll after each single comment
- after the
10mround, stop waiting and proceed with all comments visible at that point
If CI is still running, align polling to check completion boundaries instead of fixed rapid polling.
Human Gate Rules (Must Ask)
Require missing consequential authorization for the following; do not request it again when the user has already granted the exact scope:
- production/staging deploy beyond agreed scope
- destructive operations (history rewrite, force push, data-destructive ops)
- actions with billing/security posture changes
- secret values not available in repo/runtime
- ambiguous DoD that materially changes outcome
Iteration/Stop Conditions
Stop and escalate with a concise blocker report when:
- The same verified external blocker leaves no meaningful authorized next step; two failed iterations alone are not a reason to stop when useful repair work remains
- external dependency blocks progress (provider outage, missing creds, account permission)
- conflicting review instructions cannot both be satisfied
Escalation report must include:
- what passed
- what failed
- evidence (commands/logs/API result)
- smallest decision needed from user
Output Contract
When claiming completion, always include:
- acceptance criteria checklist with pass/fail
- commands/tests run
- runtime evidence (endpoint/Lambda/log key lines)
- PR status (new actionable comments count)
Do not claim success without evidence.
Example
User request:
Take this bug from reproduction through root-cause proof, implementation, tests, review, and final validation.
Limitations
…
よくある質問
「受け入れ基準(acceptance criteria)」とは何ですか?
タスクが完全に終わり、正しく動作していると判断するためのルールのことです。たとえば「ログインボタンがエラーなく動作すること」などが該当します。
AIは本番環境にデプロイできますか?
あなたが明示的に承認しない限り、できません。テスト用の環境(開発環境)へのデプロイは可能ですが、本番環境の場合はAIが許可を求めてきます。
AIがタスクを完了できなかった場合はどうなりますか?
権限が不足している場合や、AIだけでは解決できない問題があった場合、AIは作業を止めて、何が問題だったかを説明したうえで、あなたに助けを求めます。
詳細
作者による元の説明
Use when a coding task must be completed against explicit acceptance criteria with minimal user re-intervention across implementation, review feedback, deployment, and runtime verification.
人気
- GitHubのスター
- 48k
- ランキング
- #4159
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。