Claude Code Template
An opinionated, comprehensive Claude Code starter
template — installable as a plugin, forkable as a base repo, runnable in a
devcontainer.
Covers: slash commands, subagents, auto-triggered skills, output styles,
status line, hooks, MCP servers, CI/CD (GitHub Actions + GitLab), Agent SDK
examples, devcontainer with egress firewall, and more.
Install as a plugin
If you already use Claude Code:
/plugin install dev-starter-kit --marketplace scotthavird/claude-code-template
The plugin is named dev-starter-kit because Claude Code reserves plugin
names that start with claude-. Its components are namespaced under that
name, for example /dev-starter-kit:commit.
The plugin gives you the commands, subagents, skills, output styles, the
theme, the MCP servers and the bin/ helper. It doesn't bring the hooks,
the status line or the permission rules. Those live in
.claude/settings.json, so you get them by forking or copying the repo.
Fork as a base
- Use this template to create a new repo.
- Open in a container — VS Code / Cursor will prompt to "Reopen in Container", or use
Cmd+Shift+P → Dev Containers: Reopen in Container. Claude Code, Prettier, ESLint, Ruff, and GH extensions are pre-installed.
- Authenticate — copy
.claude/settings.local.json.example → .claude/settings.local.json and add your ANTHROPIC_API_KEY, or run claude /login.
- Start a session —
claude in the repo root.
- Try a command —
/analyze-project, /pr-review, or /debug.
Feature films
Short motion-graphics films of new Claude Code features, recorded from the
real claude CLI by the Feature Showcase Pipeline.
Full gallery: docs/features.
 /goal v2.1.139 · commands Set the finish line. Claude keeps working until it's true. |  Redact Secrets v2.1.122 · hooks Your hook rewrites tool output. Secrets never reach the model. |
What's inside
Slash commands (14)
/analyze-project /commit /pr /test /lint-fix /pr-review
/security-audit /debug /refactor /explain /doc /implement-issue
/showcase /fix-until-green
/pr-review was called /review until v2.1.223, when Claude Code made the
built-in /review an alias of /code-review. Use /pr-review for the
template's pr-reviewer subagent and /code-review for the built-in review.
Subagents (7)
security-auditor doc-generator test-runner pr-reviewer
refactor-planner debugger dependency-auditor
Skills (7, auto-triggered)
code-review db-migration test-writing api-design
performance-audit accessibility effort-aware
Output styles (3)
concise educational review
Hooks (real, not just logging)
- Format on save — Prettier / Ruff / gofmt / rustfmt
- Block dangerous bash — destructive patterns, force-push to main, pipe-to-shell (with quote/comment-aware matching)
- Inject context on session start — branch, commits, open PRs, and names the session after the branch (
sessionTitle, v2.1.152+)
- Notify when an agent needs you — background agents and permission prompts ping the desktop via
terminalSequence (OSC 9/777) or osascript/notify-send
- Redact secrets from tool output — uses v2.1.122
updatedToolOutput to scrub keys/JWTs/PATs before the model sees them
- PreCompact checkpoint — saves session state before compaction drops context (v2.1.105+)
- Session cost on stop — total cost plus per-tool
duration_ms breakdown (v2.1.121+)
Parallel and background agents
docs/agent-view.md — claude agents, claude --bg, /bg, /fork vs /subtask, worktree isolation, cleanup
scripts/agents-status.sh — claude agents --json as a table, a tmux status line (--short) or a blocked list (--blocked)
worktree.baseRef: "head" — new worktrees keep your unpushed commits
docs/cross-session-messaging.md — sessions messaging each other, and why relayed messages carry no authority
/fix-until-green — sets up a /goal that keeps Claude fixing until the test suite passes
CI/CD