By hsuneh
Implement a plan-first development workflow in Claude Code: initialize projects via wizard analyzing tech stack, generate/review plans/docs/checklists, deploy QA/test agents for code review/testing, auto-commit/push git changes, track status in HUD with pre-tool TDD hooks.
npx claudepluginhub hsuneh/dev_sys_template --plugin cwmCWM HUD(StatusLine) 설치. 플랜 상태, 컨텍스트 바, 호출 카운트 등을 상태줄에 표시한다.
프로젝트 개발 매뉴얼. 작업 유형별 관련 챕터를 선택적으로 읽어 토큰을 절약한다.
개발 계획 수립 및 3문서 자동 생성. 새 작업 시작 전 반드시 실행하여 PLAN.md, CONTEXT.md, CHECKLIST.md + .status 파일을 생성한다.
Git 커밋 및 푸쉬. 작업 완료 후 반드시 프로젝트 루트로 복귀한다.
CWM 프로젝트 초기화 위저드. 프로젝트 비전 수집 → 기술 환경 분석 → 워크플로우 설정 → 초기 개발 계획 수립 → 환경 세팅까지 5단계로 완료한다.
Claude Code 플러그인으로 Plan-승인-개발 워크플로우를 제공하는 하네스.
Claude와 함께 계획하고, 판단하세요!
(토큰 관리 최적화 for Claude Pro Users)
/plugin marketplace add https://github.com/HSUNEH/dev_sys_template
/plugin install cwm
⚠️ 설치 후 반드시 Claude Code를 종료(
exit)하고 다시 시작하세요.
/reload-plugins로는 skills가 인식되지 않습니다. 재시작 후/cwm:setupwithme가 정상 동작합니다.
/cwm:custom_command
상태줄에 CWM 전용 HUD를 표시합니다:
📂 my-app | 🔀 main | ▓▓▓░░░░░░░ 28% | 🔧12 🤖2 ⚡3 | 📋 user-auth | ██░ 26m:65%
| 항목 | 설명 |
|---|---|
📂 my-app | 현재 작업 폴더 |
🔀 main | Git 브랜치 |
▓▓▓░░░░░░░ 28% | 컨텍스트 사용량 |
🔧12 🤖2 ⚡3 | tool / agent / skill 호출 횟수 |
📋 user-auth | 현재 활성 플랜 이름 (.cwm/docs/plans/ 기반) |
██░ 26m:65% | 5h 리밋 (남은 시간 : 사용 퍼센티지) |
/cwm:setupwithme ← 최초 1회, 프로젝트 초기화
┌─────────────────────────────────┐
│ /cwm:planwithme {작업명} │ ← 플랜 세우기
│ ↓ │
│ 승인 → /compact → 구현 │ ← 작업 진행
│ ↓ │
│ 완료 → 다음 작업 │ ← 반복
└─────────────────────────────────┘
> /cwm:setupwithme
5단계 위저드로 .cwm/config.yml, 개발 매뉴얼, CLAUDE.md를 생성합니다.
> /cwm:planwithme 로그인-기능
→ PLAN.md, CONTEXT.md, CHECKLIST.md 생성
→ 승인 → /compact → 구현 시작
→ 완료 → /cwm:planwithme 다음-작업
간단한 수정은 플랜 없이 바로 진행됩니다:
| 방법 | 예시 |
|---|---|
| 그냥 요청 | 이 변수 이름 바꿔줘 → 바로 진행 |
간단: 접두어 | 간단: 로고 교체해줘 → 플랜 우회 |
플랜 없이 3개+ 파일 수정 시 plan-enforcer가 자동 차단합니다.
| 계층 | 메커니즘 | 역할 |
|---|---|---|
| 1 | CLAUDE.md 규칙 | Claude가 큰 작업 전 자발적으로 "플랜 세울까요?" 물어봄 |
| 2 | change-logger | 모든 변경을 .cwm/docs/logs/change-log.md에 무출력으로 기록 |
| 3 | plan-enforcer | 플랜 없이 3개+ 파일 수정 시 차단 (PreToolUse, exit 2) |
모든 훅은
/cwm:setupwithme로 초기화된 프로젝트에서만 동작합니다.
CWM 훅이 동작하면 상태줄에 표시됩니다:
⠋ CWM: plan check ← Edit/Write 전 플랜 확인 중
⠋ CWM: logging ← 변경사항 자동 기록 중
⠋ CWM: quality check ← 세션 종료 시 품질 검사 중
플랜 없이 3개 이상 파일을 수정하면 차단됩니다:
⛔ [CWM] 플랜 없이 3개 파일을 수정하려 합니다
/cwm:planwithme {작업명} → 플랜을 먼저 세우세요
"간단: {요청}" → 플랜 없이 계속 진행
세션 종료 시 이슈가 있으면 알려줍니다:
⚠️ [CWM] 2 issues found — fix directly
[ESLint] src/auth.ts:
12:5 error 'token' is defined but never used
[Security] src/db.ts:
8: const password = "admin123"
.status 파일로 안정적 관리:
.cwm/docs/plans/{작업명}/
├── PLAN.md # 구현 계획
├── CONTEXT.md # 결정 근거
├── CHECKLIST.md # 작업 추적
└── .status # pending → active → complete
| 명령어 | 설명 |
|---|---|
/cwm:setupwithme | 프로젝트 초기화 5단계 위저드 |
/cwm:planwithme | 3문서 + .status 생성, 승인 워크플로우 |
/cwm:dev-manual | 작업 유형별 개발 매뉴얼 챕터 참조 |
/cwm:custom_command | CWM HUD 설치 (상태줄에 플랜 상태 표시) |
| Hook | Event | Description |
|---|---|---|
| plan-enforcer | PreToolUse | 플랜 없이 3개+ 파일 수정 시 차단 |
| change-logger | PostToolUse | 모든 변경사항 자동 기록 |
| completion-checker | Stop | 세션 종료 시 린트/타입/보안 검사 |
| 에이전트 | 역할 | 트리거 |
|---|---|---|
| qa-agent | 코드 검토, 오류 수정, 보고서 작성 | 린트 에러 4건+ |
| test-agent | 테스트 작성/실행, 오류 진단 | 테스트 필요 시 |
| planning-agent | 계획 수립/검토, 문서 작성 | 기획 필요 시 |
your-project/
├── .cwm/
│ ├── config.yml Hook 동작 설정
│ ├── dev-manual/chapters/ 개발 가이드 (6챕터)
│ ├── docs/
│ │ ├── plans/{작업명}/ 계획 문서 (PLAN, CONTEXT, CHECKLIST, .status)
│ │ ├── logs/change-log.md 변경 이력
│ │ └── reports/ 에이전트 보고서
│ ├── state/ 훅 내부 상태
│ └── .initialized 초기화 완료 마커
└── CLAUDE.md CWM 워크플로우 규칙
.cwm/config.yml에서 설정 변경 가능:
plan_enforcer:
threshold: 3 # 플랜 없이 수정 가능한 파일 수
completion_check:
threshold_immediate_fix: 3 # 즉시 수정 권장 이슈 수
threshold_agent_recommend: 4 # qa-agent 위임 권장 이슈 수
general:
require_plan: true # 플랜 강제 글로벌 토글
jq (hooks에서 사용, 없으면 hooks 자동 스킵)MIT
The development-workflow plugin for Claude Code — 35 skills organized around a 6-phase workflow (Think → Review → Build → Ship → Maintain → Setup), 24 agents, and an interactive setup wizard for rules, modes, hooks, and MCP servers.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Share bugs, ideas, or general feedback.
Plan-Build-Run — Structured development workflow for Claude Code. Solves context rot through disciplined subagent delegation, structured planning, atomic execution, and goal-backward verification.
Conductor: Context-driven development for Claude Code - Measure twice, code once
Opinionated workflow guides and best practices - the preacher's proven patterns for Claude Code projects
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Complete developer toolkit for Claude Code
Uses power tools
Uses power tools
Uses Bash, Write, or Edit tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.