~ / rigs / tungdc88 / claude-code-template

tungdc88/claude-code-template

Professional Claude Code template system for solo developers — hooks, agents, commands, skills, plan workflow

↗ GitHub ★ 0 no license updated 5mo ago project Claude Code
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~4.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
$ npx degit tungdc88/claude-code-template/agents ./rig-claude-code-template/agents
$ npx degit tungdc88/claude-code-template/commands ./rig-claude-code-template/commands
$ npx degit tungdc88/claude-code-template/skills ./rig-claude-code-template/skills

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 memory -- npx -y @modelcontextprotocol/server-memory
$ npx degit tungdc88/claude-code-template/skills/setup .claude/skills/setup
$ npx degit tungdc88/claude-code-template/templates/skills/end-session .claude/skills/end-session
$ curl -fsSL --create-dirs -o .claude/agents/explorer.md https://raw.githubusercontent.com/tungdc88/claude-code-template/main/agents/explorer.md
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/tungdc88/claude-code-template/main/agents/reviewer.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(.env)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(~/.aws/**)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(git rebase *)",
      "Bash(wget *)",
      "Bash(npm publish:*)",
      "Bash(git commit *)",
      "Bash(gh pr merge *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
Memory (knowledge graph) · "memory" npm 2.6k

Skills (2)

Subagents (2)

explorer
model: haiku
Fast read-only codebase search — find files by pattern, grep for symbols or keywords, answer "where is X defined" or "which files reference Y". Do NOT use for code review, analysis, or cross-file cons
reviewer
model: sonnet
Independent code reviewer — second opinion on diffs, recent changes, or specific files. Use proactively after implementing features or fixing non-trivial bugs. Returns findings as structured list.

Hooks (1)

eventmatcherruns
Stop*printf '\a'

Slash commands (1)

/plan

Similar rigs

copied ✓