Langsung ke konten
Skillpedia
Dokumentasi48k · #5838

spec-driven-loop

Fungsinya

Tool ini membantu mengubah ide perangkat lunak yang kompleks menjadi rencana yang jelas dan rinci sebelum coding dimulai. Tool ini memastikan semua kebutuhan, desain teknis, dan kriteria penerimaan sudah didefinisikan dan disetujui.

Kapan dipakai

  • ✓Saat memulai produk baru atau fitur besar.
  • ✓Saat beberapa bagian sistem perlu bekerja sama.
  • ✓Untuk memastikan hasil akhir benar-benar sesuai dengan yang diminta.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/spec-driven-loop/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Saya butuh dashboard untuk mengelola tugas dengan berbagai tingkat akses pengguna, dan saya ingin memastikan dashboard ini bekerja sesuai harapan.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini pertama-tama membuat dokumen rinci (PRD) tentang apa yang harus dilakukan software tersebut. Kemudian, tool ini menentukan cara software akan dibangun (desain teknis) dan bagaimana kita tahu bahwa software sudah siap (kriteria penerimaan). Terakhir, tool ini mengoordinasikan proses pembangunan dan memeriksa apakah semuanya sudah dikerjakan dengan benar.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

…

Pertanyaan umum

Apa itu PRD?

PRD adalah singkatan dari Product Requirements Document, yaitu dokumen yang menjelaskan apa yang harus dilakukan produk, untuk siapa, dan mengapa.

Apa itu kriteria penerimaan (acceptance criteria)?

Ini adalah aturan dan pengujian yang memastikan bahwa software sudah dibangun sesuai kebutuhan dan siap digunakan.

Bisakah saya memakainya untuk perbaikan bug kecil?

Tidak. Tool ini ditujukan untuk proyek yang lebih besar dan kompleks. Tool ini tidak cocok untuk perbaikan kecil atau code review.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
48k
Peringkat
#5838
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa