本文へスキップ
Skillpedia
ドキュメント作成48k · #5838

spec-driven-loop

できること

このツールは、複雑なソフトウェアのアイデアを、コーディングを始める前の明確で詳細な計画に落とし込むのに役立ちます。すべての要件、技術設計、受け入れ基準が定義され、承認されていることを確認します。

使う場面

  • ✓新しい製品や大きな機能を始めるとき。
  • ✓システムの複数の部分が連携して動作する必要があるとき。
  • ✓最終的な成果物が依頼内容と正確に一致していることを確認したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/spec-driven-loop/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/spec-driven-loop/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“異なるユーザーのアクセス権限レベルでタスクを管理できるダッシュボードが必要です。期待どおりに動作することを確実にしたいです。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールはまず、ソフトウェアが何をすべきかを説明する詳細な文書(PRD)を作成します。次に、どのように構築するか(技術設計)と、完成をどう判断するか(受け入れ基準)を定義します。最後に、開発作業を調整し、すべてが正しく行われたかを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Spec-Driven Loop

Turn an uncertain software request into an approved specification, a controlled implementation, and evidence-backed acceptance. Keep project documents in the repository's established location; otherwise use docs/spec-driven/<feature-slug>/.

When to Use

Use this skill for new products, medium-to-large features, cross-module changes, or requests that need PRD/technical design, active clarification, multi-agent execution, or a main-agent judge. Do not use it for a small single-file change, a tiny bug fix, code explanation, review-only or diagnostic work, pure research, or a simple task whose specification is already complete.

Quick Example

$spec-driven-loop Build a multi-tenant job dashboard with role-based access and evidence-backed acceptance.

Limitations

  • Not intended for small isolated edits, review-only work, diagnosis, or pure research.
  • Does not replace environment-specific testing or grant authorization for unrelated changes or external actions.
  • Production implementation cannot start until the user explicitly approves the frozen specification and acceptance contract.

Follow repository instructions and authorization boundaries throughout. Match generated project documents to the user's language or the repository's existing documentation language; keep identifiers such as FR-001 and AC-001 stable.

Operating Invariants

  • Facts are the agent's responsibility. Decisions belong to the user.
  • Investigate discoverable facts before asking questions. Ask only for real product decisions or consequential technical tradeoffs.
  • Never write or modify production code until the user explicitly approves the specification, scope, and acceptance contract for implementation.
  • Never disguise uncertainty. Mark it TBD, ASSUMPTION, or BLOCKED.
  • A subagent's completion report is evidence, not acceptance. The main agent owns integration and the final judgment.
  • Freeze shared interfaces, data structures, and public types before parallel work. Assign non-overlapping file ownership; serialize overlapping work.
  • Update the durable documents after every decision or implementation loop. A chat transcript is not the source of truth.
  • If implementation reveals a requirement change rather than a code defect, stop affected work, revise the specification, obtain renewed user approval, and then resume.
  • Preserve the user's authorization scope. A specification approval authorizes the approved implementation, not unrelated changes or external actions.

The requirements-grilling stage is informed by Matt Pocock's MIT-licensed grill-me / grilling decision-tree and frontier method.

Document Boundaries

Keep each fact in one authoritative document and reference its stable ID elsewhere:

  • PRD.md: why and what the product must do; owns scope, user behavior, business rules, assumptions, and product decisions.
  • TECH_DESIGN.md: how the approved product behavior will work; owns architecture, contracts, data, operations, security, and technical decisions.
  • ACCEPTANCE.md: observable proof that frozen requirements are met; owns pass/fail criteria and required evidence.
  • AGENT_PLAN.md: who performs approved implementation work; owns dependencies, file ownership, validation, and agent task contracts.
  • LOOP.md: current recoverable execution state and append-only loop history; owns attempts, evidence, judgments, rework, risks, and next action.

Read references/document-templates.md when creating or updating these five documents. Read references/agent-and-judge-contracts.md before assigning implementation tasks, integrating agent work, judging acceptance, or issuing rework.

1. Inspect the Current System

Before asking the user questions:

  1. Read applicable AGENTS.md, project instructions, existing specifications, and repository conventions.
  2. Inspect the relevant architecture, modules, interfaces, database, tests, deployment method, and code conventions.
  3. Identify established domain terms and documentation locations.
  4. Resolve facts from code, files, tools, and documentation. Record findings and sources in the draft rather than asking the user to rediscover them.
  5. Separate product choices from technical choices and note decision dependencies.

…

よくある質問

PRDとは何ですか?

PRDは製品要求仕様書(Product Requirements Document)の略です。製品が何をすべきか、誰のためか、そしてなぜ必要なのかを説明する文書です。

受け入れ基準とは何ですか?

ソフトウェアが要件どおりに作られ、利用できる状態かどうかを確認するためのルールやテストのことです。

小さなバグ修正にも使えますか?

いいえ。このツールは、より大規模で複雑なプロジェクト向けです。小さな修正やコードレビューには適していません。

詳細

作者による元の説明

Freeze PRD, technical design, and acceptance criteria before medium-to-large Codex work; coordinate agents with explicit ownership, then judge delivery from diffs, tests, and evidence.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5838
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル