speckit-constitution
Fungsinya
Skill ini membantu sebuah tim menulis atau memperbarui konstitusi proyeknya, yaitu kumpulan prinsip inti yang memandu cara pekerjaan direncanakan. Skill ini ditujukan untuk tim yang memakai metode Spec Kit.
Kapan dipakai
- âSaat proyek baru dimulai dan tim perlu menulis prinsip panduannya.
- âSaat prinsip yang ada sudah berubah dan templat perencanaan proyek perlu menyesuaikan.
- âSaat Anda ingin AI mengubah aturan kasar Anda menjadi konstitusi tertulis yang jelas.
Link skill
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-constitution/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
âBantu saya menulis konstitusi proyek dengan prinsip utama kami, dan perbarui templat perencanaan agar sesuai.â
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mengambil prinsip Anda, atau memintanya, lalu menuliskannya ke dalam konstitusi. Setelah itu skill memeriksa templat terkait agar tetap konsisten.
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 constitution update):
- Check if
.specify/extensions.ymlexists in the project root. - If it exists, read it and look for entries under the
hooks.before_constitutionkey - 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 Outline.
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
Outline
You are updating the project constitution at .specify/memory/constitution.md. This file is a TEMPLATE containing placeholder tokens in square brackets (e.g. [PROJECT_NAME], [PRINCIPLE_1_NAME]). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts.
Note: If .specify/memory/constitution.md does not exist yet, it should have been initialized from .specify/templates/constitution-template.md during project setup. If it's missing, copy the template first.
Follow this execution flow:
Load the existing constitution at
.specify/memory/constitution.md.- Identify every placeholder token of the form
[ALL_CAPS_IDENTIFIER]. IMPORTANT: The user might require less or more principles than the ones used in the template. If a number is specified, respect that - follow the general template. You will update the doc accordingly.
- Identify every placeholder token of the form
Collect/derive values for placeholders:
- If user input (conversation) supplies a value, use it.
- Otherwise infer from existing repo context (README, docs, prior constitution versions if embedded).
- For governance dates:
RATIFICATION_DATEis the original adoption date (if unknown ask or mark TODO),LAST_AMENDED_DATEis today if changes are made, otherwise keep previous. CONSTITUTION_VERSIONmust increment according to semantic versioning rules:- MAJOR: Backward incompatible governance/principle removals or redefinitions.
- MINOR: New principle/section added or materially expanded guidance.
- PATCH: Clarifications, wording, typo fixes, non-semantic refinements.
- If version bump type ambiguous, propose reasoning before finalizing.
Draft the updated constitution content:
- Replace every placeholder with concrete text (no bracketed tokens left except intentionally retained template slots that the project has chosen not to define yetâexplicitly justify any left).
- Preserve heading hierarchy and comments can be removed once replaced unless they still add clarifying guidance.
- Ensure each Principle section: succinct name line, paragraph (or bullet list) capturing nonânegotiable rules, explicit rationale if not obvious.
- Ensure Governance section lists amendment procedure, versioning policy, and compliance review expectations.
Consistency propagation checklist (convert prior checklist into active validations):
- Read
.specify/templates/plan-template.mdand ensure any "Constitution Check" or rules align with updated principles. - Read
.specify/templates/spec-template.mdfor scope/requirements alignmentâupdate if constitution adds/removes mandatory sections or constraints. - Read
.specify/templates/tasks-template.mdand ensure task cate
- Read
Pertanyaan umum
Apa itu konstitusi proyek?
Konstitusi proyek adalah dokumen singkat berisi prinsip inti yang disepakati tim untuk perencanaan dan pengerjaan.
Bisakah skill ini bekerja dari catatan saya?
Bisa. Skill dapat memakai prinsip yang Anda berikan atau menanyakannya satu per satu.
Mengapa templat lain perlu diperbarui?
Skill menjaga templat yang saling bergantung tetap sinkron agar prinsipnya diterapkan secara konsisten.
Detail
Deskripsi asli dari pembuat
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
repo: unoplatform/uno
Popularitas
- Bintang GitHub
- 10k
- Peringkat
- #11998
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- âŚ
Skill lain dari repositori ini
speckit-analyze
10kMembantu agent Anda memastikan spesifikasi fitur, rencana, dan daftar tugas saling sesuai serta menunjukkan celahnya, tanpa mengubah file apa pun.
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-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.