~ / rigs / KhaiTrang1995 / claude-code-structure

KhaiTrang1995/claude-code-structure

A ready-to-use Claude Code project scaffold — rules, commands, skills, agents, and hooks in one command.

↗ GitHub ★ 2 MIT updated 6mo ago project Claude Code
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~24.4k tokens
Context hog · 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 github -e GITHUB_PERSONAL_ACCESS_<redacted> -- npx -y @modelcontextprotocol/server-github
$ claude mcp add jira -e JIRA_<redacted> -e JIRA_URL=YOUR_JIRA_URL -- npx -y @modelcontextprotocol/server-jira
$ claude mcp add slack -e SLACK_BOT_<redacted> -- npx -y @modelcontextprotocol/server-slack
$ npx degit KhaiTrang1995/claude-code-structure/.claude ./rig-claude-code-structure  # 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 github -e GITHUB_PERSONAL_ACCESS_<redacted> -- npx -y @modelcontextprotocol/server-github
$ claude mcp add jira -e JIRA_<redacted> -e JIRA_URL=YOUR_JIRA_URL -- npx -y @modelcontextprotocol/server-jira
$ claude mcp add slack -e SLACK_BOT_<redacted> -- npx -y @modelcontextprotocol/server-slack
$ npx degit KhaiTrang1995/claude-code-structure/.claude/skills/deploy .claude/skills/deploy
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/.claude/agents/security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/packages/npm/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/packages/npm/template/.claude/agents/security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/packages/python/claude_code_structure/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/packages/python/claude_code_structure/template/.claude/agents/security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/KhaiTrang1995/claude-code-structure/main/template/.claude/agents/security-auditor.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": [
      "delete_file",
      "delete_file"
    ]
  }
}

MCP servers (3)

serversourceest. tokens
GitHub MCP · "github"
env: GITHUB_PERSONAL_ACCESS_TOKEN
npm 18.0k
@modelcontextprotocol/server-jira · "jira"
env: JIRA_TOKEN, JIRA_URL
npm 2.5k
Slack
env: SLACK_BOT_TOKEN
npm 3.5k

Skills (1)

Subagents (8)

code-reviewer—
security-auditor—
code-reviewer—
security-auditor—
code-reviewer—
security-auditor—
code-reviewer—
security-auditor—

Slash commands (8)

/fix-issue/review/fix-issue/review/fix-issue/review/fix-issue/review

Permissions

deny (2)
delete_file
delete_file
ask (0)
—
allow (10)
read_file
write_file
run_in_terminal
grep_search
file_search
read_file
write_file
run_in_terminal
grep_search
file_search

Similar rigs

copied ✓