Create task folder with documentation (README, spec, findings, tasks, progress, ui-spec) for new features or bug fixes. Use when user requests /task-plan or needs structured planning before implementation.
Create a structured task folder with documentation, then implement phase by phase.
/task-plan <description> — start planning with the given task description/task-plan <JIRA-123> — start planning for the given Jira issue/task-plan — ask the user what they want to buildCreate docs/{task-name}/plans/ (kebab-case, no issue number in folder name).
Is this a bug fix / debugging task?
├── YES → "bug" (include investigate workflow in Step 3)
└── NO → feature / refactor
└── Does the task involve UI/frontend work?
├── YES → "frontend" (include ui-spec.md, state location in spec.md)
│ ├── UI only
│ ├── UI + business logic
│ └── Full-stack
└── NO → "backend-only" (skip UI sections)
Bug 판별 기준: 사용자 설명에 에러 메시지, 비정상 동작, "안 됨", "깨짐", "crash", 버그 번호 등이 포함된 경우.
Follow the exploration strategy in ${CLAUDE_SKILL_DIR}/references/exploration-strategy.md.
Bug 타입인 경우 — investigate 워크플로우 추가:
탐색과 함께 근본 원인 분석을 수행한다.
git log --oneline -10으로 최근 변경 확인<!-- findings.md에 추가되는 섹션 (bug 타입만) -->
## 근본 원인 분석
### 증상
| 항목 | 내용 |
|------|------|
| 증상 | {에러 메시지 또는 비정상 동작} |
| 재현 조건 | {재현 단계} |
| 기대 동작 | {정상 동작} |
| 실제 동작 | {현재 동작} |
### 검증된 가설
| # | 가설 | 결과 | 비고 |
|---|------|------|------|
| 1 | {가설} | 확인/기각 | {이유} |
### 근본 원인
**원인**: {한 줄 요약}
**발생 경로**: {코드 실행 흐름}
**관련 코드**: {file:line}
### 수정 방안
**권장 수정**: {최소한의 수정 방법}
**영향 범위**: {수정 시 영향받는 파일/기능}
Record all results in findings.md.
If the user attaches design docs, API specs, or implementation guides:
| Source content | Distribute to |
|---|---|
| Background/purpose | README.md → 배경, 목표 |
| Feature flows | spec.md → 화면/기능 흐름 |
| API endpoints | spec.md → API 연동 |
| State/edge cases | spec.md → 상태 정의, 엣지 케이스 |
| Implementation methods | tasks.md → Phase checklists |
| Existing code/deps | findings.md → 직접 관련 |
| Technical decisions | findings.md → 기술 결정 |
Principle: distribute reference content across plan files so originals are not needed later.
For Figma/design handling, refer to ${CLAUDE_SKILL_DIR}/references/design-handling.md.
ui-spec.md)If the project is white_label and the task involves apps/partner/ or apps/admin/, inspect the Figma link or design requirements before writing ui-spec.md:
| Detected UI pattern | Action |
|---|---|
| Table / data grid | Read .claude/docs/partner-jirisan.md → confirm with user → embed pattern constraints in ui-spec.md component breakdown |
| Search bar / filter panel | Read .claude/docs/partner-option-group-factory.md → confirm with user → embed pattern constraints in ui-spec.md component breakdown |
Embed the relevant pattern as a ## Pattern Reference section inside ui-spec.md so implement and evaluate can use it without re-reading the source doc.
Write all documents at once in this order using templates from ${CLAUDE_SKILL_DIR}/templates/:
README.md — overview, issue number, goals, scopespec.md — pseudocode, behavior flows, state definitions (+ state location if frontend)ui-spec.md — (frontend only) screen structure, components, state×display matrixfindings.md — exploration results (+ component reuse map if frontend)tasks.md — implementation checklist based on spec + findingsprogress.md — initialize (empty)
spec.md의 "상태 위치 결정"이ui-spec.md의 컴포넌트 분해를 결정한다. spec.md를 먼저 쓸 것.
${CLAUDE_SKILL_DIR}/references/compliance-checklist.md. Fix failures before proceeding.progress.md.Start after user approval. Follow tasks.md checklist in order.
After each phase:
progress.md: work done, modified files, current statustasks.md checklist (- [ ] → - [x])findings.mdFrontend tasks: read .claude/rules/react-typescript.md before starting.
progress.md (before → after → reason)spec.md and tasks.mdREADME.md unless the goal itself changedtasks.md items checkedprogress.md/evaluate with task folder pathREADME.md status to "완료"progress.md for last statetasks.md for remaining workfindings.mdWhen the user says the PRD has changed and asks to update the task-plan:
- [x]) in tasks.md or logged as done in progress.md must not be alteredtasks.md (e.g., Phase N+1)${CLAUDE_SKILL_DIR} for file references, not relative paths