sparc-spec
Fungsinya
Skill ini menjalankan fase pertama metode SPARC, yaitu mengumpulkan kebutuhan, kriteria penerimaan, dan batasan untuk sebuah fitur. Skill ini cocok untuk tim yang menginginkan kebutuhan yang jelas sebelum pengembangan dimulai.
Kapan dipakai
- βSaat Anda memulai fitur baru dan perlu menuliskan kebutuhannya terlebih dahulu.
- βSaat Anda menginginkan kriteria penerimaan yang jelas sebelum kode ditulis.
- βSaat Anda ingin mencatat batasan yang harus dipatuhi sebuah fitur.
Link skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-sparc/skills/sparc-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
βTulis kebutuhan dan kriteria penerimaan untuk fitur reset kata sandi sebelum kita mulai coding.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memeriksa pekerjaan sebelumnya untuk fitur tersebut, melihat spesifikasi serupa dari masa lalu dan basis kode, lalu mencantumkan kebutuhan fungsional dan non-fungsional. Skill menyimpan spesifikasi ke memori untuk fase berikutnya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
SPARC Specification Phase
Run Phase 1 of the SPARC methodology: define what must be built and how success is measured.
When to use
When starting a new feature or project that needs structured requirements gathering before any code is written. This phase produces the foundational specification that all subsequent phases (Pseudocode, Architecture, Refinement, Completion) build upon.
Steps
Initialize phase tracking β call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-startwith metadata{ "phase": "specification", "feature": "$ARGUMENTS" }Check for prior work β call
mcp__plugin_ruflo-core_ruflo__memory_retrievewith namespacesparc-stateand exact keycurrent-phase-{feature-slug}to see if this workflow exists. If it does, retrieve existing artifacts. If not, initialize state at that exact key with phase 1,status: "active", andstartedAtandupdatedAtset to the current ISO timestamp.Search for similar patterns β call
mcp__plugin_ruflo-core_ruflo__neural_predictwith the feature description to find relevant past specifications and learned patternsGather requirements β analyze the feature description and the codebase to identify:
- Functional requirements: what the feature must do (user-facing behaviors)
- Non-functional requirements: performance targets, security constraints, scalability needs
- Integration points: what existing systems or APIs are affected
- Data requirements: what data is created, read, updated, or deleted
Define acceptance criteria β write at least 3 concrete, testable acceptance criteria in Given/When/Then format:
AC-1: Given [precondition], when [action], then [expected result] AC-2: Given [precondition], when [action], then [expected result] AC-3: Given [precondition], when [action], then [expected result]Identify constraints β document:
- Performance constraints (latency, throughput, resource limits)
- Security constraints (authentication, authorization, data sensitivity)
- Compatibility constraints (browser support, API versions, backward compatibility)
- Infrastructure constraints (deployment environment, dependencies)
Map edge cases β list at least 3 edge cases or failure scenarios:
- What happens with invalid input?
- What happens under concurrent access?
- What happens when external dependencies fail?
Store specification β call
mcp__plugin_ruflo-core_ruflo__memory_storewith:- Namespace:
sparc-phases - Key:
spec-{feature-slug} - Value: JSON with
{ status: "complete", requirements, acceptanceCriteria, constraints, edgeCases, integrationPoints }
- Namespace:
Update phase state β call
mcp__plugin_ruflo-core_ruflo__memory_storewith:- Namespace:
sparc-state - Key:
current-phase-{feature-slug} - Value: preserve existing state fields, update artifacts list to include the spec key, and set
updatedAtto the current ISO timestamp
- Namespace:
Record trajectory step β call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-stepwith the specification summaryPresent specification β display the full specification document to the user with a summary table and suggest running
/ruflo-sparc:ruflo-sparc advanceto pass the gate and move to the Pseudocode phase
Output format
# Specification: {Feature Name}
## Requirements
### Functional
- FR-1: ...
- FR-2: ...
### Non-Functional
- NFR-1: ...
## Acceptance Criteria
- AC-1: Given ..., when ..., then ...
- AC-2: Given ..., when ..., then ...
- AC-3: Given ..., when ..., then ...
## Constraints
- Performance: ...
- Security: ...
- Compatibility: ...
## Edge Cases
- EC-1: ...
- EC-2: ...
- EC-3: ...
## Integration Points
- IP-1: ...
---
Phase 1 complete. Run `/ruflo-sparc:ruflo-sparc advance` to pass the gate check.
Pertanyaan umum
Apakah skill ini menulis kode?
Tidak. Fase ini hanya menentukan apa yang harus dibangun dan bagaimana keberhasilannya diukur.
Di mana spesifikasi disimpan?
Spesifikasi disimpan di ruang nama memori sparc-phases.
Bisakah saya melanjutkan spesifikasi sebelumnya?
Bisa. Jika alur kerja sudah ada untuk fitur tersebut, skill mengambil artefak yang tersimpan.
Detail
Deskripsi asli dari pembuat
Run the SPARC Specification phase β gather requirements, define acceptance criteria, identify constraints, and store the spec in memory
repo: ruvnet/ruflo
Popularitas
- Bintang GitHub
- 81k
- Peringkat
- #1697
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-adaptive-coordinator
81kMembantu agent Anda membagi dan menyeimbangkan kembali sekelompok agent AI saat beban kerja berubah, dengan memilih tata letak yang sesuai tugas.
agent-agent
81kMengajari agent Anda mengubah tujuan besar menjadi rencana tindakan yang berurutan, dan menyusun ulang rencana saat kondisi berubah.
agent-agentic-payments
81kMembantu agent Anda mengelola mandat belanja untuk belanja AI, dengan batas pengeluaran, jendela waktu, aturan merchant, dan persetujuan yang ditandatangani.
agent-analyze-code-quality
81kMembantu agent Anda meninjau kualitas kode, menemukan bau kode, utang teknis, dan ide refaktor tanpa mengubah berkas.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.