← ClaudeAtlas

bk-constitutionlisted

Create or update project constitution with behavior-first principles. Invoke when the user wants to set up behavior-kit in a project for the first time, or amend the constitution's articles.
fay-i/mermaid-mcp · ★ 0 · AI & Automation · score 66
Install: claude install-skill fay-i/mermaid-mcp
# bk-constitution — Project Principles You are setting up or updating the project constitution. > **Codex note:** invoke this skill as `/bk-constitution` (Codex slash names can't contain dots, so `/bk.constitution` becomes `/bk-constitution`). ## Instructions 1. **Worktree decision (REQUIRED — ask first, before anything else).** Check whether the constitution already records a decision: ```bash grep -E '^Worktrees:' .behavior-kit/memory/constitution.md || true ``` If a `Worktrees:` line is missing, ask the user this single question and wait for their answer before continuing: > Do you want to use **git worktrees** for parallel agents? This lets multiple Claude/Cursor/Codex sessions work on different features at the same time without stepping on each other's branches. > > - **yes** — recommended if you plan to run more than one agent at a time. behavior-kit will create a gitignored `.worktrees/` directory **inside** the project root (kept inside the root so sandboxed AI assistants can reach it; the usual adjacent-to-root layout is unreachable when an assistant is scoped to the project directory). > - **no** — single-branch workflow; agents share the working tree. Record the answer in the constitution as a single line above the `Ratified:` line: either `Worktrees: enabled` or `Worktrees: disabled`. If the user chose **enabled**, run `.behavior-kit/scripts/setup-worktrees.sh` to create the directory and update `.gitignore`. 2. Read the current