devinilabs/claude-code-init
A clean, copy-paste .claude/ starter for Claude Code — CLAUDE.md, agents, hooks, skills, MCP, settings. Set it up before you write a single line of code.
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code $ claude mcp add playwright -- npx -y @playwright/mcp@latest $ claude mcp add _example_database -e YOUR_API_TOKEN=... -- npx -y your-mcp-server --project your-project $ npx degit devinilabs/claude-code-init/.claude ./rig-claude-code-init # inspect, then merge into .claude/
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add playwright -- npx -y @playwright/mcp@latest $ claude mcp add _example_database -e YOUR_API_TOKEN=... -- npx -y your-mcp-server --project your-project
$ npx degit devinilabs/claude-code-init/.claude/skills/api-health .claude/skills/api-health $ npx degit devinilabs/claude-code-init/.claude/skills/code-review .claude/skills/code-review
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/devinilabs/claude-code-init/main/.claude/agents/code-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/log-analyzer.md https://raw.githubusercontent.com/devinilabs/claude-code-init/main/.claude/agents/log-analyzer.md $ curl -fsSL --create-dirs -o .claude/agents/researcher.md https://raw.githubusercontent.com/devinilabs/claude-code-init/main/.claude/agents/researcher.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(git push:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": ".claude/hooks/pre-deploy-guard.sh"
}
]
}
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| Playwright MCP · "playwright" | npm | 7.5k |
| your-mcp-server · "_example_database" env: YOUR_API_TOKEN | npm | 2.5k |
Skills (2)
Subagents (3)
| code-reviewer model: opus | Reviews a diff for bugs, security issues, and convention violations. Returns only a prioritized summary, keeping the main context clean. |
| log-analyzer model: sonnet | Parses runtime logs and error reports to find the root cause of a production incident. Returns the likely cause and the offending file, nothing else. |
| researcher model: sonnet | Researches a question on the web (API specs, library docs, pricing) and returns a cited synthesis. Use for anything that needs fetching and reading many sources without polluting the main context. |
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | .claude/hooks/session-start.sh |
| PreToolUse | Bash | .claude/hooks/pre-deploy-guard.sh |
| PostToolUse | Write|Edit | .claude/hooks/post-edit-format.sh |
| Stop | * | afplay /System/Library/Sounds/Ping.aiff |
Slash commands (1)
/ship
Permissions
deny (1)
Bash(git push:*)
ask (0)
—
allow (9)
Bash(npm run lint)
Bash(npm run build)
Bash(npm test)
Read
Edit
Write
WebFetch
WebSearch
mcp__playwright__*
Similar rigs
manthanpatelll/claude-code-starter
A clean, copy-paste .claude/ setup for Claude Code. Hooks, skills, agents, rules, plugins, and settings as working examples. Drop into any project.
Automator 10.6k tok ·
giuliano-aparecido/agent-config
Fleet-wide, tool-agnostic conventions for AI coding assistants, shared as a git submodule. Experimental project exploring agentic coding workflows with Claude Code.
Minimalist 1.4k tok ·
syntax-syndicate/cc-solo-dev-template
Claude Code Solo Development Workflow Template - Ship like a team of 10, working solo with AI agents
Minimalist 660 tok ·
codeverbojan/claude-code-kickstart
Production-grade agentic workflow template for Claude Code. 4-layer architecture, task playbooks, session memory, sub-agents, one-click install.
Orchestrator 10.2k tok ·