~ / rigs / sinbox0701 / nestjs-architecture

sinbox0701/nestjs-architecture

CI 강제 아키텍처 경계(dependency-cruiser) · 3-tier RBAC/ABAC · 마이그레이션 드리프트 가드 · AI 협업 하네스(SDD)

↗ GitHub ★ 0 no license updated 1d ago project Claude Code
field: unknown workflow: PR / code reviewData / ETLTesting & TDD
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~1.9k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 49/100 Guardrails v2

Copy this rig

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

$ curl -fsSL --create-dirs -o .claude/agents/convention-reviewer.md https://raw.githubusercontent.com/sinbox0701/nestjs-architecture/main/.claude/agents/convention-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/migration-reviewer.md https://raw.githubusercontent.com/sinbox0701/nestjs-architecture/main/.claude/agents/migration-reviewer.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": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/guard-bash.mjs"
          }
        ]
      }
    ]
  }
}

Subagents (2)

convention-reviewerbackend-template 코드 변경을 docs/convention/ 기준으로 리뷰한다. 코드 작성/수정 후 커밋 전에 proactively 사용. 컨벤션 위반·레이어 책임·접근제어·예외/로깅 규칙을 점검하고 발견만 보고한다(읽기 전용).
migration-reviewer엔티티 변경과 생성된 마이그레이션 SQL의 안전성을 검토한다. *.entity.ts 변경 또는 migrations/ 작성 후 proactively 사용. idempotent SQL·CHECK 제약·드리프트(엔티티↔마이그레이션 불일치)를 점검하고 발견만 보고한다(읽기 전용).

Hooks (3)

eventmatcherruns
SessionStart*sh .claude/hooks/session-context.sh
PreToolUseBashnode .claude/hooks/guard-bash.mjs
Stop*node scripts/claude-format.mjs

Slash commands (10)

/commit/fe-changes/issues/migration/mock-seed/review/scaffold/spec/status/test

Similar rigs

copied ✓