speckit-constitution
하는 일
이 스킬은 팀이 계획 방식을 이끄는 핵심 원칙의 모음인 프로젝트 헌법을 작성하거나 업데이트하도록 돕습니다. Spec Kit 방식을 쓰는 팀을 위한 스킬입니다.
사용하는 경우
- ✓새 프로젝트가 시작되어 팀이 지침이 되는 원칙을 작성해야 할 때.
- ✓기존 원칙이 바뀌어서 프로젝트 계획 템플릿을 맞춰야 할 때.
- ✓거친 규칙을 명확한 헌법으로 다듬고 싶을 때.
스킬 링크
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-constitution/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리의 주요 원칙으로 프로젝트 헌법을 작성하고, 계획 템플릿도 맞게 업데이트해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 사용자의 원칙을 받거나 물어본 뒤, 이를 헌법에 적습니다. 그다음 관련 템플릿을 확인해 서로 일관되게 유지합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
프로젝트 헌법이란 무엇인가요?
팀이 계획과 작업을 위해 따르기로 합의한 핵심 원칙을 담은 짧은 문서입니다.
제 메모로도 작업할 수 있나요?
네. 스킬은 사용자가 제공한 원칙을 쓰거나, 대화를 통해 원칙을 물어볼 수 있습니다.
다른 템플릿은 왜 업데이트하나요?
스킬은 의존하는 템플릿을 동기화해 원칙이 일관되게 적용되도록 합니다.
상세 정보
작성자의 원본 설명
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
repo: unoplatform/uno
인기도
- GitHub 스타
- 10k
- 순위
- #11998
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
speckit-analyze
10k에이전트가 기능 명세, 계획, 작업 목록이 서로 맞는지 확인하고 빠진 부분을 찾되, 파일은 변경하지 않도록 돕습니다.
speckit-checklist
10k에이전트가 개발 시작 전에 기능의 요구 사항이 명확하고, 빠짐없고, 일관적인지 점검하는 맞춤 체크리스트를 만들도록 돕습니다.
speckit-clarify
10k에이전트가 기능 명세에서 모호한 부분을 찾고, 최대 다섯 개의 핵심 질문을 한 뒤 답을 명세에 적어 넣도록 돕습니다.
speckit-git-commit
10k에이전트가 Spec Kit 단계가 끝난 뒤 프로젝트 설정 파일의 커밋 설정에 따라 현재 변경 사항을 Git에 자동으로 저장하도록 돕습니다.
비슷한 스킬
knowledge-capture
394k에이전트가 결정, 선호, 핵심 사실을 출처 표시와 함께 짧은 메모로 Knowledge 볼트에 저장하도록 가르칩니다.
knowledge-claim-consolidation
394k에이전트가 중복 주장을 합치고, 올바른 주제 페이지로 옮기고, 오래된 주장을 폐기해 Knowledge 볼트를 정리하도록 돕습니다.
knowledge-correct
394k에이전트가 요청에 따라 특정 Knowledge 주장이나 페이지를 고치거나 철회하고, 무엇이 바뀌었는지 기록을 남기도록 돕습니다.