~ / rigs / milosCvetkovicDev / claude-code-monorepo

milosCvetkovicDev/claude-code-monorepo

The real Claude Code configuration behind a 13-service TypeScript platform — 71 skills, 34 hooks, 31 agents, 172 memories, one full epic walkthrough — sanitized and organized as a 13-chapter book. A worked example of loop engineering: maker

↗ GitHub ★ 0 MIT updated 9d ago project Claude Code
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~15.5k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add azure -- npx -y @azure/mcp@latest server start --transport stdio
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude ./rig-claude-code-monorepo  # 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 azure -- npx -y @azure/mcp@latest server start --transport stdio
$ npx degit milosCvetkovicDev/claude-code-monorepo/global/skills/kubernetes-skill .claude/skills/kubernetes-skill
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/add-docs .claude/skills/add-docs
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/api-change .claude/skills/api-change
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/bug-fix .claude/skills/bug-fix
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/cicd-troubleshoot .claude/skills/cicd-troubleshoot
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/cleanup .claude/skills/cleanup
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/code-review .claude/skills/code-review
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/commit .claude/skills/commit
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/db-migration .claude/skills/db-migration
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/debug-loop .claude/skills/debug-loop
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/deploy .claude/skills/deploy
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/deprecation-lifecycle .claude/skills/deprecation-lifecycle
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/design-review .claude/skills/design-review
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/design-to-spec .claude/skills/design-to-spec
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/design-ui .claude/skills/design-ui
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/dev-instance .claude/skills/dev-instance
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/dev-servers .claude/skills/dev-servers
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/dev-troubleshoot .claude/skills/dev-troubleshoot
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/env-status .claude/skills/env-status
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/erp-issue .claude/skills/erp-issue
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/explore-codebase .claude/skills/explore-codebase
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/frontend-change .claude/skills/frontend-change
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/full-review .claude/skills/full-review
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/github-refresh .claude/skills/github-refresh
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/hotfix .claude/skills/hotfix
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-all .claude/skills/implement-all
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-cache-layer .claude/skills/implement-cache-layer
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-component .claude/skills/implement-component
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-domain-event .claude/skills/implement-domain-event
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-e2e-tests .claude/skills/implement-e2e-tests
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-endpoint .claude/skills/implement-endpoint
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-helm-chart .claude/skills/implement-helm-chart
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-integration-tests .claude/skills/implement-integration-tests
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-nestjs-module .claude/skills/implement-nestjs-module
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-phase .claude/skills/implement-phase
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-tool .claude/skills/implement-tool
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/implement-unit-tests .claude/skills/implement-unit-tests
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/incident .claude/skills/incident
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/infra-change .claude/skills/infra-change
$ npx degit milosCvetkovicDev/claude-code-monorepo/project/.claude/skills/k8s-troubleshoot .claude/skills/k8s-troubleshoot
$ curl -fsSL --create-dirs -o .claude/agents/acme-ui-author.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/acme-ui-author.md
$ curl -fsSL --create-dirs -o .claude/agents/api-designer.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/api-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/documentation-writer.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/documentation-writer.md
$ curl -fsSL --create-dirs -o .claude/agents/performance-analyst.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/performance-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/review-devops-architect.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/review-devops-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/review-enterprise-architect.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/review-enterprise-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/review-tech-lead.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/review-tech-lead.md
$ curl -fsSL --create-dirs -o .claude/agents/review-test-architect.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/review-test-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/user-story-writer.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/user-story-writer.md
$ curl -fsSL --create-dirs -o .claude/agents/ux-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/archived/ux-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/database-migration-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/database-migration-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/ddd-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/ddd-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/e2e-testing-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/e2e-testing-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/erp-integration-specialist.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/erp-integration-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/event-driven-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/event-driven-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/frontend-specialist.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/frontend-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/github-actions-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/github-actions-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/incident-responder.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/incident-responder.md
$ curl -fsSL --create-dirs -o .claude/agents/interview-user.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/interview-user.md
$ curl -fsSL --create-dirs -o .claude/agents/kubernetes-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/kubernetes-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/mikroorm-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/mikroorm-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/nestjs-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/nestjs-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/nx-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/nx-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/observability-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/observability-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/platform-ui.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/platform-ui.md
$ curl -fsSL --create-dirs -o .claude/agents/redis-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/redis-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/review-azure-architect.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/review-azure-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/technical-spec.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/technical-spec.md
$ curl -fsSL --create-dirs -o .claude/agents/terraform-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/terraform-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-expert.md https://raw.githubusercontent.com/milosCvetkovicDev/claude-code-monorepo/main/project/.claude/agents/ui-expert.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": [
      "mcp__plugin_github_github__merge_pull_request",
      "mcp__plugin_github_github__pull_request_review_write"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-dangerous-commands.sh"
          },
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/enforce-nx-commands.sh"
          },
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/dev-ephemeral-close-check.sh"
          },
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-commit-checks.sh"
          },
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/launch-readiness-gate.sh"
          }
        ]
      },
      {
        "matcher": "Write",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/protect-sensitive-files.sh"
          },
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/source-driven-dev.sh"
          }
        ]
      },
      {
        "matcher": "Edit",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/protect-sensitive-files.sh"
          },
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/source-driven-dev.sh"
          }
        ]
      },
      {
        "matcher": "Read",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/simplify-ignore.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (2)

serversourceest. tokens
@azure/mcp · "azure" npm 2.5k
acme-mcp
env: AZURE_LOG_ANALYTICS_WORKSPACE_ID_DEV, AZURE_LOG_ANALYTICS_WORKSPACE_ID_PROD, AZURE_SUBSCRIPTION_ID_DEV, AZURE_SUBSCRIPTION_ID_PROD, DB_HOST +5
local / custom 2.5k

Skills (72)

Subagents (31)

acme-ui-author
model: inherit
Builds and maintains components in the @acme/ui design system — token-driven, themeable, accessible, typed, with Storybook stories and tests. Use PROACTIVELY when creating or changing a shared UI prim
api-designer
model: sonnet
REST API design: Express (legacy) + NestJS (Platform), contracts, DTOs
documentation-writer
model: sonnet
ADRs, runbooks, architecture docs
performance-analyst
model: sonnet
Query optimization, bottlenecks, caching
review-devops-architect
model: sonnet
CI/CD, IaC, deployment, observability review
review-enterprise-architect
model: sonnet
Architecture, domain modeling, Clean Architecture, SOLID
review-tech-lead
model: sonnet
Code quality, tech decisions, maintainability
review-test-architect
model: sonnet
Test strategy, automation, coverage analysis
user-story-writer
model: sonnet
User stories with acceptance criteria
ux-expert
model: sonnet
UX: user flows, usability, accessibility
database-migration-expert
model: sonnet
DB migrations: TypeORM (legacy) + MikroORM (Platform), schema changes
ddd-expert
model: sonnet
DDD: domain modeling, bounded contexts, aggregates, events
e2e-testing-expert
model: sonnet
Playwright E2E: test strategy, Page Objects, flaky tests
erp-integration-specialist
model: sonnet
the ERP: sync issues, OAuth, invoice posting
event-driven-expert
model: sonnet
RabbitMQ + domain events: outbox, exchanges, DLX, consumers
frontend-specialist
model: sonnet
React/MUI: components, state, API integration
github-actions-expert
model: sonnet
GitHub Actions: workflows, debugging, composite actions
incident-responder
model: sonnet
Production incidents: errors, Azure logs, diagnosis
interview-user
model: sonnet
Gather feature requirements via structured interviews
kubernetes-expert
model: sonnet
Kubernetes + Helm + ArgoCD: charts, AKS, rollouts, debugging
mikroorm-expert
model: sonnet
MikroORM: Unit of Work, Identity Map, migrations, tenancy
nestjs-expert
model: sonnet
NestJS 11 + Fastify: modules, DI, guards, pipes, interceptors
nx-expert
model: sonnet
Nx: workspace config, generators, executors, caching
observability-expert
model: sonnet
OpenTelemetry + Grafana: traces, metrics, logs, dashboards
platform-ui
model: inherit
Implements or edits Acme Platform trading & finance UI in this codebase using @acme/ui, faithfully recreating the committed prototype and honouring the Platform domain rules. Use PROACTIVELY for any d
redis-expert
model: sonnet
Redis 7: caching, TTL strategy, invalidation, NestJS integration
review-azure-architect
model: sonnet
Azure architecture: Well-Architected Framework, cost optimization
security-auditor
model: sonnet
Security: OWASP, secrets, auth review
technical-spec
model: sonnet
Requirements → technical specs and implementation plans
terraform-expert
model: sonnet
Terraform/IaC: modules, plans, state, Azure resources
ui-expert
model: sonnet
UI: design system, components, responsive layouts

Hooks (41)

eventmatcherruns
SessionStart*"$CLAUDE_PROJECT_DIR"/.claude/hooks/env-check.sh
SessionStart*"$CLAUDE_PROJECT_DIR"/.claude/hooks/git-sync.sh
SessionStart*"$CLAUDE_PROJECT_DIR"/.claude/hooks/load-github-context.sh
SessionStart*"$CLAUDE_PROJECT_DIR"/.claude/hooks/worktree-doctor.sh
UserPromptSubmit*"$CLAUDE_PROJECT_DIR"/.claude/hooks/dev-ephemeral-work-reminder.sh
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/block-dangerous-commands.sh
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/enforce-nx-commands.sh
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/dev-ephemeral-close-check.sh
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-commit-checks.sh
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/launch-readiness-gate.sh
PreToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/protect-sensitive-files.sh
PreToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/source-driven-dev.sh
PreToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/protect-sensitive-files.sh
PreToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/source-driven-dev.sh
PreToolUseRead"$CLAUDE_PROJECT_DIR"/.claude/hooks/simplify-ignore.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/auto-format.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-infra-files.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-security.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/enforce-nestjs-patterns.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-event-contracts.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-helm-charts.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-k8s-manifests.sh
PostToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/simplify-ignore.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/auto-format.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-infra-files.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-security.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/enforce-nestjs-patterns.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-event-contracts.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-helm-charts.sh
PostToolUseEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-k8s-manifests.sh

Slash commands (7)

/adr-create/commit/deploy/help-all/implement-screen/learnings/new-component

Plugins (1)

nx@nx-claude-plugins

Permissions

deny (2)
mcp__plugin_github_github__merge_pull_request
mcp__plugin_github_github__pull_request_review_write
ask (0)
—
allow (2)
Bash(gh workflow run platform-pipeline.yml:*)
mcp__acme-mcp__entity_info

Similar rigs

copied ✓