speckit-analyze
Fungsinya
Skill ini memeriksa file spesifikasi, rencana, dan tugas untuk sebuah fitur, untuk melihat apakah keduanya cocok dan mencakup persyaratan yang sama. Skill ditujukan bagi tim yang memakai metode Spec Kit untuk merencanakan pekerjaan perangkat lunak.
Kapan dipakai
- ✓Saat Anda sudah selesai menulis spesifikasi, rencana, dan daftar tugas serta ingin pemeriksaan konsistensi sebelum coding.
- ✓Ketika Anda menduga beberapa persyaratan hilang dari daftar tugas.
- ✓Ketika Anda ingin laporan hanya-baca tentang celah di antara dokumen perencanaan Anda.
Link skill
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-analyze/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
“Tolong periksa apakah spesifikasi fitur, rencana, dan tugas saya cocok, dan beri tahu saya apa yang kurang, tanpa mengubah file.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill membaca ketiga dokumen perencanaan dan membandingkannya untuk konflik, celah, dan kata-kata yang tidak jelas. Skill melaporkan apa yang ditemukan dan membiarkan file tetap seperti semula.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Pre-Execution Checks
Check for extension hooks (before analysis):
- Check if
.specify/extensions.ymlexists in the project root. - If it exists, read it and look for entries under the
hooks.before_analyzekey - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
- Filter out hooks where
enabledis explicitlyfalse. Treat hooks without anenabledfield as enabled by default. - For each remaining hook, do not attempt to interpret or evaluate hook
conditionexpressions:- If the hook has no
conditionfield, or it is null/empty, treat the hook as executable - If the hook defines a non-empty
condition, skip the hook and leave condition evaluation to the HookExecutor implementation
- If the hook has no
- When constructing slash commands from hook command names, replace dots (
.) with hyphens (-). For example,speckit.git.commit→/speckit-git-commit. - For each executable hook, output the following based on its
optionalflag:- Optional hook (
optional: true):## Extension Hooks **Optional Pre-Hook**: {extension} Command: `/{command}` Description: {description} Prompt: {prompt} To execute: `/{command}` - Mandatory hook (
optional: false):## Extension Hooks **Automatic Pre-Hook**: {extension} Executing: `/{command}` EXECUTE_COMMAND: {command} Wait for the result of the hook command before proceeding to the Goal.
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
Goal
Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (spec.md, plan.md, tasks.md) before implementation. This command MUST run only after /speckit.tasks has successfully produced a complete tasks.md.
Operating Constraints
STRICTLY READ-ONLY: Do not modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).
Constitution Authority: The project constitution (.specify/memory/constitution.md) is non-negotiable within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside /speckit.analyze.
Execution Steps
1. Initialize Analysis Context
Run .specify/scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks once from repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS. Derive absolute paths:
- SPEC = FEATURE_DIR/spec.md
- PLAN = FEATURE_DIR/plan.md
- TASKS = FEATURE_DIR/tasks.md
Abort with an error message if any required file is missing (instruct the user to run missing prerequisite command). For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
2. Load Artifacts (Progressive Disclosure)
Load only the minimal necessary context from each artifact:
From spec.md:
- Overview/Context
- Functional Requirements
- Success Criteria (measurable outcomes — e.g., performance, security, availability, user success, business impact)
- User Stories
- Edge Cases (if present)
From plan.md:
- Architecture/stack choices
- Data Model references
- Phases
- Technical constraints
From tasks.md:
- Task IDs
- Descriptions
- Phase grouping
- Parallel markers [P]
- Referenced file paths
From constitution:
- Load
.specify/memory/constitution.mdfor principle validation
3. Build Semantic Models
Create internal representations (do not include raw artifacts in output):
- Requirements inventory: For each Functional Requirement (FR-###) and Success Criterion (SC-###), record a stable key. Use the explicit FR-/SC- identifier as the primary key when present, and optionally also derive an imperative-phrase slug for readability (e.g., "User can upload file" →
user-can-upload-file). Include only Success Criteria items that require buildable work (e.g., load-testing infrastructure, security audit tooling), and exclude post-launch outcome metrics and business KPIs (e.g., "Reduce support tickets
Pertanyaan umum
Apa itu Spec Kit?
Spec Kit adalah metode untuk merencanakan pekerjaan perangkat lunak melalui spesifikasi, rencana, dan daftar tugas. Skill ini adalah salah satu langkah di dalamnya.
Apakah ia mengedit file saya?
Tidak. Skill digambarkan sebagai non-destruktif, sehingga ia melaporkan masalah tanpa mengubah dokumen.
Kapan sebaiknya saya menjalankannya?
Ia dimaksudkan untuk dijalankan setelah tugas dibuat, agar masalah bisa ditangkap sebelum coding dimulai.
Detail
Deskripsi asli dari pembuat
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
repo: unoplatform/uno
Popularitas
- Bintang GitHub
- 10k
- Peringkat
- #11995
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
speckit-checklist
10kMembantu agent Anda membuat daftar periksa yang menguji apakah persyaratan tertulis untuk sebuah fitur sudah jelas, lengkap, dan konsisten sebelum pengerjaan dimulai.
speckit-clarify
10kMembantu agent Anda menemukan bagian yang tidak jelas dalam spesifikasi fitur, mengajukan paling banyak lima pertanyaan terarah, dan menuliskan jawabannya kembali ke spesifikasi.
speckit-constitution
10kMembantu agent Anda menulis atau memperbarui konstitusi proyek, yaitu kumpulan prinsip panduan singkat, serta menjaga templat perencanaan terkait tetap sejalan dengannya.
speckit-git-commit
10kMembantu agent Anda menyimpan perubahan proyek ke Git secara otomatis setelah sebuah langkah Spec Kit selesai, dengan mengikuti pengaturan commit pada berkas konfigurasi proyek Anda.
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.