← ClaudeAtlas

setuplisted

Scaffolds principle-anchoring configuration for a project. Writes docs/agents/principles.md, adds a `### Principles` block to `## Agent skills` in CLAUDE.md or AGENTS.md, and optionally drafts hook integration snippets for settings.json or tool-routing. Run once per project before using stay-principled:grill. Re-run only if the principles file layout changes.
technicalpickles/pickled-claude-plugins · ★ 10 · Data & Documents · score 75
Install: claude install-skill technicalpickles/pickled-claude-plugins
# Setup Principles Scaffold the per-project configuration that `stay-principled:grill` reads. This is a prompt-driven skill, not a deterministic script. Explore, present what you found, confirm with the user, then write. ## Process ### 1. Explore Look at the current repo to understand its starting state. Read whatever exists; don't assume: - `docs/principles.md`, `docs/ops-principles.md`, any sibling `*principles*.md` files at the repo root or under `docs/` - `docs/agents/principles.md`: existing config; update in place if found - `CLAUDE.md` (preferred) or `AGENTS.md` at the repo root: does either exist? Is there already an `## Agent skills` section? - `claude plugin list --json`: is `tool-routing` installed and enabled? (Affects whether Pattern C is offered.) - `git rev-parse --show-toplevel`: used as the canonical repo root for path resolution; principles inside worktrees still live at the worktree root. ### 2. Present findings and ask Summarize what's present and what's missing. Then walk the user through the four sections **one at a time**. Present a section, get the user's answer, then move to the next. Don't dump all sections at once. Assume the user does not know what these terms mean. Each section starts with a short explainer (what it is, why this skill needs it, what changes if they pick differently). **Section A: Where do principles live?** > Explainer: The `stay-principled:grill` skill needs to know which markdown files contain your principles. Most pro