/claude-leverage:conventions-init [--noninteractive]from claude-leverage
Bootstraps conventions.yml for AI-first repos: infers casing rules, seeds directory roles and a vague-name denylist, and prompts for house rules. Idempotent and read-only on code.
Ships in claude-leverage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Bootstraps conventions.yml at the repo root — the profile the context-surface
hook surfaces to an agent before it edits a source file (casing rules, a
vague-name denylist, directory roles, and divergent house rules the model cannot
infer). Block-style YAML only, so the stdlib fallback parser stays reliable.
It infers the mechanical parts (casing, structure) and asks the user for the house rules — it never invents a convention the repo does not actually hold.
/init-repo.conventions.yml
yet means the whole steering loop is a no-op).Do NOT invoke for: per-function docs (those are docstrings), or to auto-write house rules the team has not agreed on.
git rev-parse --show-toplevel); if not a repo, STOP
and suggest git init / /init-repo.conventions.yml is absent, bootstrap. If it exists, do
NOT rewrite it (stdlib YAML loses the human-written consistency comments);
instead print the suggested draft below and tell the user to merge by hand.python scripts/score_adherence.py --repo . if the
plugin's scorer is available, and read metrics.casing_consistency.by_kind[*] .dominant for functions / types / constants. Python-first: if there are
no .py files (or the scorer is absent), leave casing values blank with a
comment for the user — never guess from an unsupported language.src/,
lib/, app/, scripts/, tests/, …) that exist; write each as a root key
with a blank role string for the user to fill.data, result, tmp,
handle, process); the user can extend.consistency as a commented template — house rules are the user's
to write (same "never invent" rule as glossary-init).conventions.yml (bootstrap mode) with the schema_version "1.x"
comment, block-style. In existing-file mode, print the draft instead./refresh-context-map so the manifest (and thus the
hook) picks up the new conventions, and offer a one-line AGENTS.md pointer.consistency block is the user's; the skill
only scaffolds it.conventions.yml. Existing-file mode prints
suggestions for manual merge (preserves the user's comments).--noninteractive — write the inferred skeleton with blank roles and a
commented consistency block, no prompts./refresh-context-map.score_adherence.py / /repo-doctor.Same SKILL.md ships in Codex via scripts/install-codex.sh. No tool-specific
divergence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub filip-podstavec/claude-leverage --plugin claude-leverage16 skills in this plugin
/adr-newUSE WHEN a load-bearing architectural decision is being made in conversation (database / framework / auth model / integration choice, or explicit rejection of an alternative) — one likely to be re-litigated in 6 months without the rationale. Bootstraps a numbered MADR ADR in `docs/adr/`, asks for context + decision + alternatives, updates the index. Immutable status once accepted. See `docs/adr/README.md` for the convention; full Do/Don't list in this SKILL body.
/arch-mapUSE WHEN setting up a repo for AI-first work, after a major directory restructure, or when an agent needs structured answers like "which modules are stable?" / "what's the public surface of X?" that the prose AGENTS.md doesn't give cheaply. Bootstraps or refreshes `architecture.yml` at repo root — machine-readable module metadata (path / role / stability / public_surface / depends_on / paired_with / owners). Hand-curated; the skill drafts, the user confirms. See ADR 0005 for why this file lives at root and why YAML over JSON.
/codex-sandboxUSE WHEN setting up Codex CLI in a project, tightening sandbox for prod/CI, or when user asks about Codex permissions. Interactive helper for per-project `.codex/config.toml`: `dev` / `prod` / `custom` profiles, idempotent via markers, preserves unmanaged config below the block. Codex-only artifact.
/dynamic-checkUSE WHEN the user explicitly asks to verify that this repo's DECLARED build/test/lint commands actually run ("does the quickstart work?", "validate the commands in AGENTS.md"), typically after /repo-doctor or /repo-doctor --semantic raised suspicion. Executes only commands the repo itself declares (AGENTS.md build/test blocks, README quickstart), with preview + explicit confirmation, denylist tripwire, and timeouts. Advisory — results never enter /repo-doctor's deterministic score (ADR 0012/0013). Opt-in by invocation; never fired by hooks or other skills.
/explain-diffUSE WHEN about to open a PR, when teammate asks "what's in this diff?", or when returning to a branch and needing self-orientation. Three modes: `--for pr|review|self`. Reads `git diff HEAD` (or passed range), returns 3–5 bullet plain-English narration. Read-only — defers security/test concerns to other skills.
/glossary-initUSE WHEN setting up a repo for AI-first work, when an agent hallucinates domain term meaning, or when user asks to bootstrap / extend the repo's domain glossary. Surfaces candidate terms by identifier frequency, asks the user for 1-sentence definitions, writes `GLOSSARY.md` at repo root. Idempotent — re-running adds new terms without overwriting existing ones. Read-only on code; never invents domain meaning. Full Do/Don't list in this SKILL body. See ADR 0005 for why this file lives at root.
Other plugins' skills for the same job