From deep-work
Evidence-driven development protocol with auto-flow orchestration. Use when: "deep work", "plan before code", "TDD", "evidence-driven", "분석 후 구현", "structured workflow", or complex multi-file tasks that benefit from structured planning before implementation.
npx claudepluginhub sungmin-cho/claude-deep-workThis skill uses the workspace's default tool permissions.
**v5.5.2 신규 기능:**
references/implementation-guide.mdreferences/insight-guide.mdreferences/model-routing-guide.mdreferences/notification-guide.mdreferences/plan-templates.mdreferences/planning-guide.mdreferences/research-guide.mdreferences/review-gate.mdreferences/solid-guide.mdreferences/solid-prompt-guide.mdreferences/testing-guide.mdreferences/zero-base-guide.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
v5.5.2 신규 기능:
.claude/deep-work-guard-errors.log 파일 기록v5.5 신규 기능:
/deep-work "task" 하나로 전체 워크플로우가 자동 진행됩니다.
Plan 승인이 유일한 필수 인터랙션입니다.
v5.3 신규 기능:
/deep-status --history에서 세션 간 품질 추이 시각화/deep-status --badge로 shields.io 뱃지 생성Primary commands (7): /deep-work, /deep-research, /deep-plan, /deep-implement, /deep-test, /deep-status, /deep-debug
Deprecated commands (13): 자동 흐름에 흡수됨. 수동 호출 가능하지만 불필요.
Core mechanisms:
When AI coding tools work on complex tasks without structure, common failure modes emerge:
The Deep Work workflow prevents these by strictly separating brainstorming, analysis, planning, coding, and testing into five distinct phases with enforced gates between them.
/deep-brainstorm) — OptionalGoal: Explore "why before how" — define the problem, compare approaches, establish success criteria.
What happens:
$WORK_DIR/brainstorm.mdWhat's blocked: All code file modifications (enforced by hook)
Skip: Use --skip-brainstorm to start directly at Research.
/deep-research)Goal: Build a complete mental model of the relevant codebase before making any decisions.
What happens:
$WORK_DIR/research.mdWhat's blocked: All code file modifications (enforced by hook)
Key principle: "You cannot plan what you don't understand, and you cannot understand what you haven't read."
Features:
/deep-research --scope=api,data re-analyzes specific areas onlyFor detailed guidance, see Research Guide or Zero-Base Guide.
/deep-plan)Goal: Create a detailed, reviewable, approvable implementation plan.
What happens:
$WORK_DIR/plan.mdWhat's blocked: All code file modifications (enforced by hook)
Key principle: "The plan is the contract between human and AI. No implementation without approval."
Features:
plan.v1.md, plan.v2.md with change logsNote: Plan phase does not use Team mode — planning requires a single coherent document produced by one agent.
For detailed guidance, see Planning Guide.
/deep-implement)Goal: Mechanically execute the approved plan, task by task.
What happens:
What's allowed: All tools — code modification is now permitted
Key principle: "The best implementation is a boring implementation. No creativity, no surprises, just faithful execution."
Features:
For detailed guidance, see Implementation Guide.
/deep-test)Goal: Verify the implementation through comprehensive automated testing.
What happens:
What's blocked: All code file modifications (enforced by hook)
Key principle: "Trust but verify. The test phase catches what implementation missed."
Features:
$WORK_DIR/test-results.mdFor detailed guidance, see Testing Guide.
Compares plan.md items with actual git diff. Reports implemented, missing, out-of-scope, and design drift.
Standalone mode available: /drift-check [plan-file].
Evaluates code against the 5 SOLID design principles with a per-principle scorecard.
Standalone mode available: /solid-review [target]. See SOLID Guide.
Measures file metrics, complexity indicators, and dependency graphs. Never blocks workflow.
Standalone mode available: /deep-insight [target]. See Insight Guide.
Generates a comprehensive session report (research, plan, implementation, test outcomes, phase durations).
Auto-generated after all tests pass. Manual: /deep-report or /deep-status --report.
Hooks enforce phase boundaries and track activity:
phase-guard.sh): During Research, Plan, and Test phases — Write/Edit tools are blocked for all files except $WORK_DIR/ documents and the state file. During Implement — all tools available. No session — no restrictions.file-tracker.sh): During Implement phase — automatically logs modified file paths to $WORK_DIR/file-changes.log with timestamps. Used by /deep-report and /deep-insight.session-end.sh): On CLI session end — if a deep-work session is active, outputs a reminder message and sends notification via configured channels.This is not a suggestion — it's a hard gate. The AI literally cannot modify code files until the plan is approved, and cannot modify code during testing.
/deep-work "Add user authentication with JWT tokens"
# → Brainstorm (자동) → Research (자동) → Plan (승인 대기)
# → 승인하면 → Implement (자동) → Test (자동) → Finish (선택)
# 수동 오버라이드가 필요할 때:
/deep-research # 리서치 다시 실행
/deep-plan # 플랜 수정
/deep-implement # 구현 재실행
/deep-test # 테스트 재실행
/deep-status # 상태 확인 (--receipts, --history, --report, --assumptions)
/deep-debug # 디버깅 모드
During /deep-work initialization:
Each session creates a unique task folder under deep-work/:
deep-work/
├── 20260307-143022-jwt-기반-인증/
│ ├── research.md
│ ├── plan.md
│ ├── test-results.md
│ └── report.md
├── 20260306-091500-api-리팩토링/
│ ├── research.md
│ ├── plan.md
│ ├── plan.v1.md ← plan version history
│ ├── test-results.md
│ └── report.md
Previous sessions are preserved when starting new ones. Use /deep-status to view history or /deep-status --compare to compare sessions.
First run saves setup answers to .claude/deep-work-profile.yaml as default preset. Subsequent runs skip all questions. Multi-preset support: dev, quick, review etc.
Flags: --profile=quick, --team, --zero-base, --skip-research, --no-branch, --setup
/deep-work 실행 시 기존 활성 세션이 감지되면 자동으로 resume 옵션을 제시합니다.
/deep-resume는 여전히 수동으로 호출 가능합니다.
Session state is stored in .claude/deep-work.{SESSION_ID}.md (e.g., .claude/deep-work.s-a3f7b2c1.md) with YAML frontmatter tracking. Legacy single-session path .claude/deep-work.local.md is auto-migrated on first use.
Use /deep-status at any time to see the current state, progress, phase durations, and next recommended action.
Use it when:
Consider Team mode when:
Skip it when:
Lightweight mode (skip to /deep-plan directly):
/deep-work then select "Plan부터" to skip researchUse built-in plan mode for quick task decomposition, Deep Work for complex subtasks needing thorough research and strict phase gates. They combine well: plan mode for initial design, Deep Work for implementation.
All commands auto-detect the user's language and output in that language. Korean is the reference format; Claude translates naturally while preserving structure.