From klaussy
Scaffolds Claude Code and multi-agent boilerplate: CLAUDE.md, path-scoped rules, repo-namespaced skills (plan, review, debug, etc.), settings, hooks, and PR template. Runs once per repo to make it Claude Code-ready.
How this skill is triggered — by the user, by Claude, or both
Slash command
/klaussy:klaussy-init [--force] [--skip-enrich] [--base-branch <branch>][--force] [--skip-enrich] [--base-branch <branch>]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scaffold Claude Code boilerplate for the user's project by running klaussy.
Scaffold Claude Code boilerplate for the user's project by running klaussy.
Confirm klaussy is available. Run klaussy --version. If the command isn't found, install with pipx install klaussy (preferred) or pip install --user klaussy. Re-verify with klaussy --version afterward.
Detect the base branch. Klaussy will prompt interactively if not given, which blocks the agent. Pre-detect via git branch --list dev develop main master | head -1 and pass --base-branch <detected>. If none of those exist, fall back to whatever git symbolic-ref refs/remotes/origin/HEAD returns, or main.
Run klaussy init. Pass through $ARGUMENTS if the user supplied any (e.g. --force, --skip-enrich):
klaussy init --base-branch <detected> $ARGUMENTS
If .claude/skills/ or ./CLAUDE.md already exists, ask the user whether to pass --force rather than assuming. The migration in klaussy init removes legacy .claude/commands/*.md files only if it owns them (via the .klaussy-version marker) — user-authored commands are left alone.
Agent targets. By default klaussy scaffolds all supported agents — Claude Code, Gemini CLI, Cursor, Codex, and GitHub Copilot — from the same conventions. Each gets the bundled skills in its own native SKILL.md directory (.claude/skills/, .gemini/skills/, .cursor/skills/, .agents/skills/ for Codex, .github/skills/ for Copilot), plus its native conventions file (CLAUDE.md / GEMINI.md / AGENTS.md / .github/copilot-instructions.md / .cursor/rules/) and permissions. To narrow to specific agents, pass --agents claude,gemini (any subset). If the user only uses Claude, suggest --agents claude.
Verify output. Confirm these landed:
./CLAUDE.md at the repo root (with project-wide content).claude/rules/<glob-stem>.md for each path-scoped rule bucket klaussy-repo-conventions detected (zero or more files; some repos won't have any).claude/skills/<repo>-<skill>/SKILL.md for 11 skills (review, plan, debug, implement, refactor, test, fix, pr, commit, explain, new-worktree).claude/settings.json.github/PULL_REQUEST_TEMPLATE.md (only if the repo didn't already have one).gitignore updated with klaussy output exclusionsReport. Tell the user which skills were created (point at <repo>-plan and <repo>-review as the high-leverage ones), summarize what's in CLAUDE.md and any .claude/rules/*.md files, and suggest reviewing them before committing.
klaussy init will be a near-no-op; suggest the klaussy-update skill instead if the user actually wants to refresh.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub steph-dove/klaussy-agents