to-spec
Fungsinya
Skill ini mengambil apa yang sudah Anda diskusikan lalu menuliskannya sebagai spesifikasi terstruktur dengan user story dan pernyataan masalah yang jelas. Skill ini ditujukan bagi orang produk dan pengembang yang ingin mencatat rencana dengan cepat.
Kapan dipakai
- ✓Saat Anda sudah selesai mendiskusikan sebuah fitur dan ingin menuliskannya.
- ✓Ketika Anda ingin spesifikasi diposting ke pelacak issue Anda.
- ✓Ketika Anda ingin agent mengubah percakapan menjadi rencana yang jelas.
Link skill
https://github.com/mattpocock/skills/blob/main/skills/engineering/to-spec/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
“Ubah semua yang baru saja kita bicarakan menjadi spesifikasi dan posting ke pelacak issue kami.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent melihat kode dan percakapan, memeriksa di mana fitur itu sebaiknya diuji, lalu menulis spesifikasi dari templat tetap dan mempublikasikannya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
This skill takes the current conversation context and codebase understanding and produces a spec. Do NOT interview the user; just synthesize what you already know.
The issue tracker and triage label vocabulary should have been provided to you. If not, tell the user to run /setup-matt-pocock-skills.
Process
Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the spec, and respect any ADRs in the area you're touching.
Sketch out the seams at which you're going to test the feature. Existing seams should be preferred to new ones. Use the highest seam possible. If new seams are needed, propose them at the highest point you can. The fewer seams across the codebase, the better - the ideal number is one.
Check with the user that these seams match their expectations.
- Write the spec using the template below, then publish it to the project issue tracker. Apply the
ready-for-agenttriage label - no need for additional triage.
Problem Statement
The problem that the user is facing, from the user's perspective.
Solution
The solution to the problem, from the user's perspective.
User Stories
A LONG, numbered list of user stories. Each user story should be in the format of:
- As an <actor>, I want a <feature>, so that <benefit>
This list of user stories should be extremely extensive and cover all aspects of the feature.
Implementation Decisions
A list of implementation decisions that were made. This can include:
- The modules that will be built/modified
- The interfaces of those modules that will be modified
- Technical clarifications from the developer
- Architectural decisions
- Schema changes
- API contracts
- Specific interactions
Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.
Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts, not a working demo, just the important bits.
Testing Decisions
A list of testing decisions that were made. Include:
- A description of what makes a good test (only test external behavior, not implementation details)
- Which modules will be tested
- Prior art for the tests (i.e. similar types of tests in the codebase)
Out of Scope
A description of the things that are out of scope for this spec.
Further Notes
Any further notes about the feature.
</spec-template>Pertanyaan umum
Apakah agent akan mengajukan banyak pertanyaan dulu?
Tidak. Skill menyatakan agar tidak mewawancarai Anda dan mengandalkan apa yang sudah dibahas.
Pelacak issue mana yang dipakai?
Yang sudah diatur proyek Anda untuk issue, dan sebaiknya dikonfigurasi sebelum memakai skill ini.
Label apa yang ditambahkan?
Skill menerapkan label triase ready-for-agent pada spesifikasi yang dipublikasikannya.
Detail
Deskripsi asli dari pembuat
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
repo: mattpocock/skills
Popularitas
- Bintang GitHub
- 310k
- Peringkat
- #108
- Lisensi
- MIT
- Diperbarui
- 1/11/2026
Komentar
- …
Skill lain dari repositori ini
ask-matt
310kMembuat agent Anda menjadi pemandu kumpulan skill pemrograman, menunjuk skill yang tepat untuk situasi Anda, dari ide sampai kode yang siap dirilis.
code-review
310kMemeriksa perubahan Anda terhadap standar kode repositori dan spesifikasi asli, dengan menjalankan kedua tinjauan berdampingan sebelum Anda menggabungkan.
domain-modeling
310kMembangun glosarium proyek bersama dan mencatat keputusan desain penting, agar kode Anda memakai kata-kata yang sama dengan yang dipakai tim Anda.
implement-spec
310kMengubah spesifikasi yang sudah selesai dan tiketnya menjadi kode yang berfungsi, menangani tiket secara berurutan dan menggabungkannya dalam satu cabang.
Skill serupa
knowledge-capture
394kMengajari agent Anda menyimpan keputusan, preferensi, dan fakta penting ke Knowledge vault sebagai catatan singkat dengan atribusi sumber.
knowledge-claim-consolidation
394kMembantu agent Anda merapikan Knowledge vault dengan menggabungkan klaim duplikat, memindahkannya ke halaman subjek yang tepat, dan menonaktifkan klaim yang sudah usang.
knowledge-correct
394kMemungkinkan agent Anda memperbaiki atau menarik kembali klaim atau halaman Knowledge tertentu atas permintaan Anda, dengan menyimpan catatan perubahan.