~ / rigs / diet103 / claude-code-infrastructure-showcase

diet103/claude-code-infrastructure-showcase

Examples of my Claude Code infrastructure with skill auto-activation, hooks, and agents

↗ GitHub ★ 9,468 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
~1.0k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit diet103/claude-code-infrastructure-showcase/.claude ./rig-claude-code-infrastructure-showcase  # 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.

$ npx degit diet103/claude-code-infrastructure-showcase/.agents/skills/backend-dev-guidelines .claude/skills/backend-dev-guidelines
$ npx degit diet103/claude-code-infrastructure-showcase/.agents/skills/error-tracking .claude/skills/error-tracking
$ npx degit diet103/claude-code-infrastructure-showcase/.agents/skills/frontend-dev-guidelines .claude/skills/frontend-dev-guidelines
$ npx degit diet103/claude-code-infrastructure-showcase/.agents/skills/skill-developer .claude/skills/skill-developer
$ npx degit diet103/claude-code-infrastructure-showcase/.agents/skills/source-command-verify-setup .claude/skills/source-command-verify-setup
$ curl -fsSL --create-dirs -o .claude/agents/auto-error-resolver.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/auto-error-resolver.md
$ curl -fsSL --create-dirs -o .claude/agents/code-architecture-reviewer.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/code-architecture-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/code-refactor-master.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/code-refactor-master.md
$ curl -fsSL --create-dirs -o .claude/agents/documentation-architect.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/documentation-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/frontend-error-fixer.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/frontend-error-fixer.md
$ curl -fsSL --create-dirs -o .claude/agents/plan-reviewer.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/plan-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/refactor-planner.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/refactor-planner.md
$ curl -fsSL --create-dirs -o .claude/agents/web-research-specialist.md https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/agents/web-research-specialist.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|MultiEdit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/skill-verification-guard.sh"
          }
        ]
      }
    ]
  }
}

Skills (5)

Subagents (8)

auto-error-resolverAutomatically fix TypeScript compilation errors
code-architecture-reviewer
model: sonnet
Use this agent when you need to review recently written code for adherence to best practices, architectural consistency, and system integration. This agent examines code quality, questions implementat
code-refactor-master
model: opus
Use this agent when you need to refactor code for better organization, cleaner architecture, or improved maintainability. This includes reorganizing file structures, breaking down large components int
documentation-architect
model: inherit
Use this agent when you need to create, update, or enhance documentation for any part of the codebase. This includes developer documentation, README files, API documentation, data flow diagrams, testi
frontend-error-fixerUse this agent when you encounter frontend errors, whether they appear during the build process (TypeScript, bundling, linting errors) or at runtime in the browser console (JavaScript errors, React er
plan-reviewer
model: opus
Use this agent when you have a development plan that needs thorough review before implementation to identify potential issues, missing considerations, or better alternatives. Examples: <example>Contex
refactor-plannerUse this agent when you need to analyze code structure and create comprehensive refactoring plans. This agent should be used PROACTIVELY for any refactoring requests, including when users ask to restr
web-research-specialist
model: sonnet
Use this agent when you need to research information on the internet, particularly for debugging issues, finding solutions to technical problems, or gathering comprehensive information from multiple s

Hooks (5)

eventmatcherruns
UserPromptSubmit*$CLAUDE_PROJECT_DIR/.claude/hooks/skill-activation-prompt.sh
PreToolUseEdit|MultiEdit|Write$CLAUDE_PROJECT_DIR/.claude/hooks/skill-verification-guard.sh
PostToolUseEdit|MultiEdit|Write$CLAUDE_PROJECT_DIR/.claude/hooks/post-tool-use-tracker.sh
PostToolUseSkill$CLAUDE_PROJECT_DIR/.claude/hooks/skill-activation-tracker.sh
Stop*$CLAUDE_PROJECT_DIR/.claude/hooks/session-doc-updater.sh

Slash commands (4)

/dev-docs-update/dev-docs/route-research-for-testing/verify-setup

Similar rigs

copied ✓