ワンクリックで
spec-kitty-charter
Interview and compile a project charter
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Interview and compile a project charter
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Validate an approved mission before merge
Cross-artifact consistency and quality analysis
Open the mission dashboard
Execute a work package implementation
Merge an accepted mission
Create an implementation plan
| name | spec-kitty.charter |
| description | Interview and compile a project charter |
| user-invocable | true |
Run this at most once per active agent session before the first Spec Kitty command workflow.
If you already ran spec-kitty upgrade --agent-check --json in this session, reuse that result and skip this block.
Do not run or announce an upgrade check again for later Spec Kitty commands in the same session.
Otherwise, before continuing, run:
spec-kitty upgrade --agent-check --json
If JSON action is none, continue.
If action is auto_upgrade, run upgrade_command before continuing. If it fails, tell the user and continue with the current Spec Kitty version.
If action is guidance, show upgrade_note briefly, then continue.
If action is prompt, ask the user with the host-native question UI when available:
Spec Kitty {latest_version} is available. You are on {installed_version}. Upgrade now?
Use these choices:
upgrade_now, run upgrade_command, then continue.always, run upgrade_command, then continue.not_now, then continue.never_ask, then continue.Record the selected choice before continuing:
spec-kitty upgrade --agent-choice <upgrade_now|always|not_now|never_ask> --agent-latest <latest_version> --json
If no host-native question UI is available, present the same four choices in plain text and wait for the user.
In non-interactive hosts, choose not_now and continue.
The content of the user's message that invoked this skill (everything after the skill invocation token, e.g. after /spec-kitty.<command> or $spec-kitty.<command>) is the User Input referenced elsewhere in these instructions.
You MUST consider this user input before proceeding (if not empty).
/spec-kitty.charter is a repo-scoped governance flow, not a per-mission flow.
--mission-type means the reusable mission blueprint
(for example software-dev or documentation), not a mission instance in
kitty-specs/.--mission flag on spec-kitty charter ... is only a deprecated
alias for --mission-type.If you need deterministic context before interviewing:
spec-kitty charter status --json
spec-kitty mission list
For this command, the default mission type is software-dev unless the user
explicitly wants a different mission blueprint.
Before proceeding, load the spec-kitty-charter-doctrine skill for the charter
lifecycle model, doctrine access patterns, and action-context rules.
If the skill conflicts with this command contract, follow this command contract.
This command owns charter discovery in chat. Do not default to
spec-kitty charter interview --defaults unless the user explicitly asks for a
fast bootstrap with canned defaults.
Listen intently to what the human-in-command says next. If any form of charter already exists, assume the user is probably flagging a charter addition, course correction, or new guidance they noticed while observing Spec Kitty or agent behavior. Do not restart a full interview unless the user asks for one or the existing charter is clearly unusable. The default goal is to update the charter with the new guidance.
The CLI charter workflow is a compiler and persistence surface, not the primary interview experience. Your job is to:
.kittify/charter/interview/answers.yaml.spec-kitty charter generate --from-interview --json.spec-kitty charter status --json.Do not preload governance context for all workflow actions as part of charter generation. Action context is loaded iteratively at the actual action boundary.
If no built-in paradigm or directive cleanly fits the user's needs:
selected_paradigms and selected_directives narrow and truthful..kittify/charter/charter.md.kittify/charter/interview/answers.yaml.kittify/charter/references.yaml.kittify/charter/library/*.mdUse this for normal /spec-kitty.charter runs.
README.mdAGENTS.mdCLAUDE.mdpyproject.toml, package.json, go.mod, Cargo.toml.kittify/charter/* artifacts if present.claudeignore exists, respect it during repo inspection and do not
spend time reading ignored paths unless the user explicitly asks..claudeignore does not exist, treat the following as low-signal Spec
Kitty bootstrap artifacts by default and do not over-interpret them as
project intent:
.kittify/config.yaml.kittify/metadata.yaml.kittify/skills-manifest.json.kittify/missions/.kittify/templates/.kittify/scripts/.claude/, .codex/, .gemini/,
.cursor/, .opencode/.kittify/ metadata is a greenfield
bootstrap case, not a signal-rich codebase.answers.yaml fields and regenerate..kittify/charter/interview/answers.yaml using the
schema expected by spec-kitty charter generate.spec-kitty charter generate --from-interview --json
spec-kitty charter status --json
.kittify/charter/charter.md or other generated charter artifacts changed,
stage and commit them before concluding the command unless the user
explicitly asked not to commit.spec-kitty safe-commit --message "chore: generate project charter" \
.kittify/charter/interview/answers.yaml \
.kittify/charter/charter.md \
.kittify/charter/references.yaml \
.gitignore
spec-kitty safe-commit commits only the requested files.Use this only when the user explicitly wants the CLI questionnaire itself:
spec-kitty charter interview --profile comprehensive
spec-kitty charter generate --from-interview
Use this only when the user explicitly asks for defaults, speed, CI bootstrap, or “just make me a starter charter”:
spec-kitty charter interview --defaults --profile minimal --json
spec-kitty charter generate --from-interview --json
spec-kitty charter status --json
When you use defaults, say clearly that no real interview happened.
.kittify/charter/interview/answers.yaml.answers.yaml (or rerun charter interview) and regenerate.--force with generate if the charter already exists and must be replaced.references.yaml.After generation, verify status:
spec-kitty charter status --json
Do not chain status with four context calls and dump all of it back into the
LLM. That burns first-load state and floods the context window with bootstrap
payloads intended for later action boundaries.
Do not preload all action contexts here.
The next real workflow action will load its own context automatically.
If you need to inspect one action manually for debugging, query a single action without consuming first-load state:
spec-kitty charter context --action specify --json --no-mark-loaded
Use JSON text as governance context only for the immediate next action. Do not
eagerly inject specify, plan, implement, and review all at once.
When you synthesize .kittify/charter/interview/answers.yaml, match the CLI schema:
schema_version: 1.0.0
mission: software-dev
profile: comprehensive
answers:
project_intent: "..."
languages_frameworks: "..."
testing_requirements: "..."
quality_gates: "..."
review_policy: "..."
performance_targets: "..."
deployment_constraints: "..."
documentation_policy: "..."
risk_boundaries: "..."
amendment_process: "..."
exception_policy: "..."
selected_paradigms:
- domain-driven-design
selected_directives:
- DIRECTIVE_001
available_tools:
- git
Select paradigms, directives, and tools deliberately from repo evidence plus user answers. Do not silently accept the full catalog unless the user explicitly asks for defaults.