sinbox0701/nestjs-architecture
CI 강제 아키텍처 경계(dependency-cruiser) · 3-tier RBAC/ABAC · 마이그레이션 드리프트 가드 · AI 협업 하네스(SDD)
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
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-reviewer | backend-template 코드 변경을 docs/convention/ 기준으로 리뷰한다. 코드 작성/수정 후 커밋 전에 proactively 사용. 컨벤션 위반·레이어 책임·접근제어·예외/로깅 규칙을 점검하고 발견만 보고한다(읽기 전용). |
| migration-reviewer | 엔티티 변경과 생성된 마이그레이션 SQL의 안전성을 검토한다. *.entity.ts 변경 또는 migrations/ 작성 후 proactively 사용. idempotent SQL·CHECK 제약·드리프트(엔티티↔마이그레이션 불일치)를 점검하고 발견만 보고한다(읽기 전용). |
Hooks (3)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | sh .claude/hooks/session-context.sh |
| PreToolUse | Bash | node .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
AutomatosAI/automatos-ai
The open-source AI Operating System — run a workforce of AI agents on your own machine. Any model, 1,000+ tools, a Knowledge Graph, and your own Claude Code as agents. Self-host with docker compose.
Pragmatist 4.8k tok · · Q38
omerakben/agent-context-center
One offline, committed HTML dashboard that maps a repo's AI context — CLAUDE.md, AGENTS.md, Cursor rules, MCP servers, skills, agents, hooks, commands, docs, and TODOs. Markdown stays the source of truth; the dashboard is the human map.
Pragmatist 6.8k tok · · Q20
the-blue-coder/agentic-starter
Jean Rakotoarison's Spec Driven Development starter for AI coding agents (Claude Code & OpenCode). Commands, subagents, hooks and conventions. Bring your own stack.
Orchestrator 432 tok · · Q26
chase0213/dotfiles-claude
—
Orchestrator 1.8k tok · · Q20