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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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, orBLOCKED. - 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:
- Read applicable
AGENTS.md, project instructions, existing specifications, and repository conventions. - Inspect the relevant architecture, modules, interfaces, database, tests, deployment method, and code conventions.
- Identify established domain terms and documentation locations.
- Resolve facts from code, files, tools, and documentation. Record findings and sources in the draft rather than asking the user to rediscover them.
- 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.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5838
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
technical-documentation
394kMembantu agent Anda menulis dan meninjau dokumentasi teknis serta file instruksi agent yang jelas, agar orang dan alat AI dapat mengikutinya dengan mudah.
architecture-decision-records
280kMembuat agent Anda mencatat keputusan penting terkait struktur proyek. Membantu memahami alasan di balik pilihan dan menjaga riwayat perubahan yang jelas.
code-tour
280kMembuat agent Anda menyusun panduan kode langkah demi langkah dengan referensi file dan nomor baris yang tepat. Berguna untuk pengenalan, penjelasan, dan review.