lee-spec-kit 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +112 -0
  3. package/dist/index.js +461 -0
  4. package/package.json +60 -0
  5. package/templates/en/fullstack/README.md +12 -0
  6. package/templates/en/fullstack/agents/agents.md +88 -0
  7. package/templates/en/fullstack/agents/constitution.md +75 -0
  8. package/templates/en/fullstack/agents/git-workflow.md +112 -0
  9. package/templates/en/fullstack/agents/issue-template.md +58 -0
  10. package/templates/en/fullstack/agents/pr-template.md +57 -0
  11. package/templates/en/fullstack/features/README.md +76 -0
  12. package/templates/en/fullstack/features/be/README.md +5 -0
  13. package/templates/en/fullstack/features/fe/README.md +5 -0
  14. package/templates/en/fullstack/features/feature-base/decisions.md +15 -0
  15. package/templates/en/fullstack/features/feature-base/plan.md +49 -0
  16. package/templates/en/fullstack/features/feature-base/spec.md +55 -0
  17. package/templates/en/fullstack/features/feature-base/tasks.md +33 -0
  18. package/templates/en/fullstack/prd/README.md +15 -0
  19. package/templates/en/single/README.md +11 -0
  20. package/templates/en/single/agents/agents.md +74 -0
  21. package/templates/en/single/agents/constitution.md +75 -0
  22. package/templates/en/single/agents/git-workflow.md +157 -0
  23. package/templates/en/single/agents/issue-template.md +60 -0
  24. package/templates/en/single/agents/pr-template.md +71 -0
  25. package/templates/en/single/features/README.md +56 -0
  26. package/templates/en/single/features/feature-base/decisions.md +15 -0
  27. package/templates/en/single/features/feature-base/plan.md +48 -0
  28. package/templates/en/single/features/feature-base/spec.md +55 -0
  29. package/templates/en/single/features/feature-base/tasks.md +33 -0
  30. package/templates/en/single/prd/README.md +15 -0
  31. package/templates/ko/fullstack/README.md +12 -0
  32. package/templates/ko/fullstack/agents/agents.md +125 -0
  33. package/templates/ko/fullstack/agents/constitution.md +75 -0
  34. package/templates/ko/fullstack/agents/git-workflow.md +157 -0
  35. package/templates/ko/fullstack/agents/issue-template.md +60 -0
  36. package/templates/ko/fullstack/agents/pr-template.md +71 -0
  37. package/templates/ko/fullstack/features/README.md +98 -0
  38. package/templates/ko/fullstack/features/be/README.md +5 -0
  39. package/templates/ko/fullstack/features/fe/README.md +5 -0
  40. package/templates/ko/fullstack/features/feature-base/decisions.md +15 -0
  41. package/templates/ko/fullstack/features/feature-base/plan.md +49 -0
  42. package/templates/ko/fullstack/features/feature-base/spec.md +55 -0
  43. package/templates/ko/fullstack/features/feature-base/tasks.md +33 -0
  44. package/templates/ko/fullstack/prd/README.md +15 -0
  45. package/templates/ko/single/README.md +11 -0
  46. package/templates/ko/single/agents/agents.md +87 -0
  47. package/templates/ko/single/agents/constitution.md +75 -0
  48. package/templates/ko/single/agents/git-workflow.md +157 -0
  49. package/templates/ko/single/agents/issue-template.md +60 -0
  50. package/templates/ko/single/agents/pr-template.md +71 -0
  51. package/templates/ko/single/features/README.md +56 -0
  52. package/templates/ko/single/features/feature-base/decisions.md +15 -0
  53. package/templates/ko/single/features/feature-base/plan.md +48 -0
  54. package/templates/ko/single/features/feature-base/spec.md +55 -0
  55. package/templates/ko/single/features/feature-base/tasks.md +33 -0
  56. package/templates/ko/single/prd/README.md +15 -0
@@ -0,0 +1,55 @@
1
+ # Feature Spec: {기능명}
2
+
3
+ > 기술 스택은 plan.md에서 다룹니다.
4
+
5
+ ---
6
+
7
+ ## 개요
8
+
9
+ - **기능 ID**: F{번호}
10
+ - **기능명**: {기능명}
11
+ - **대상 레포**: {{projectName}}-{be|fe}
12
+ - **이슈 번호**: #{이슈번호}
13
+ - **작성일**: YYYY-MM-DD
14
+ - **상태**: Draft | Review | Approved
15
+
16
+ ---
17
+
18
+ ## 목적
19
+
20
+ (이 기능이 왜 필요한지, 어떤 문제를 해결하는지)
21
+
22
+ ---
23
+
24
+ ## 사용자 스토리
25
+
26
+ ### US-1: {스토리 제목}
27
+
28
+ **As a** {사용자 유형}
29
+ **I want** {원하는 것}
30
+ **So that** {이유/가치}
31
+
32
+ **Acceptance Criteria:**
33
+
34
+ - [ ] (검증 조건)
35
+
36
+ ---
37
+
38
+ ## 기능 요구사항
39
+
40
+ ### FR-1: {요구사항 제목}
41
+
42
+ (상세 설명)
43
+
44
+ ---
45
+
46
+ ## 비기능 요구사항
47
+
48
+ - **성능**:
49
+ - **보안**:
50
+
51
+ ---
52
+
53
+ ## 관련 문서
54
+
55
+ - PRD: `../../prd/`
@@ -0,0 +1,33 @@
1
+ # Tasks: {기능명}
2
+
3
+ ## 태스크 규칙
4
+
5
+ - **상태**: `[TODO]` → `[DOING]` → `[DONE]`
6
+ - **우선순위**: P0(긴급) > P1(높음) > P2(보통) > P3(낮음)
7
+
8
+ ---
9
+
10
+ ## GitHub Issue
11
+
12
+ - **레포**: {{projectName}}-{be|fe}
13
+ - **Issue**: #{이슈번호}
14
+ - **브랜치**: `feat/{이슈번호}-{기능명}`
15
+
16
+ ---
17
+
18
+ ## 태스크 목록
19
+
20
+ ### Phase 1: {단계명}
21
+
22
+ - [TODO][P1] T-F{번호}-01 {태스크 제목}
23
+ - Acceptance:
24
+ - (검증 조건)
25
+ - Checklist:
26
+ - [ ] (세부 작업)
27
+
28
+ ---
29
+
30
+ ## 완료 조건
31
+
32
+ - [ ] 모든 태스크 [DONE]
33
+ - [ ] 모든 테스트 통과
@@ -0,0 +1,15 @@
1
+ # PRD (Product Requirements Document)
2
+
3
+ 이 폴더에는 제품 요구사항 문서를 작성합니다.
4
+
5
+ ## 작성 가이드
6
+
7
+ 1. 프로젝트 개요와 목표를 정의하세요
8
+ 2. 주요 기능과 사용자 스토리를 작성하세요
9
+ 3. 기술 아키텍처 개요를 포함하세요
10
+
11
+ ## 예시 파일
12
+
13
+ - `{project-name}-prd.md` - 메인 PRD 문서
14
+ - `backend-overview.md` - 백엔드 아키텍처 (선택)
15
+ - `frontend-overview.md` - 프론트엔드 아키텍처 (선택)
@@ -0,0 +1,11 @@
1
+ # {{projectName}} 문서 구조 가이드
2
+
3
+ 에이전트가 프로젝트 전반을 빠르게 파악할 수 있도록 문서를 기능별로 분리해 두었습니다.
4
+
5
+ ## 상위 구조 요약
6
+
7
+ | 경로 | 목적 | 핵심 문서/역할 |
8
+ | ---------------- | ------------------ | ------------------------------------------------------------- |
9
+ | `docs/agents/` | 에이전트 운영 규칙 | `agents.md`, `constitution.md`, `git-workflow.md` |
10
+ | `docs/prd/` | 제품 요구사항 | 프로젝트별 작성 |
11
+ | `docs/features/` | 기능별 문서 | `{feature-id}/spec.md`, `plan.md`, `tasks.md`, `decisions.md` |
@@ -0,0 +1,87 @@
1
+ # Agents Guide
2
+
3
+ 코드 어시스턴트/에이전트가 일관된 코드 생성·리팩토링을 수행하도록 돕는 운영 규칙입니다.
4
+
5
+ ---
6
+
7
+ ## 참조 문서
8
+
9
+ ### 핵심 문서
10
+
11
+ - **프로젝트 원칙**: `/docs/agents/constitution.md`
12
+ - **Git 워크플로우**: `/docs/agents/git-workflow.md`
13
+ - **이슈 템플릿**: `/docs/agents/issue-template.md`
14
+ - **PR 템플릿**: `/docs/agents/pr-template.md`
15
+
16
+ ### PRD
17
+
18
+ - **제품 요구사항**: `/docs/prd/`
19
+
20
+ ### Feature (기능별 문서)
21
+
22
+ - **기능 문서**: `/docs/features/{feature-id}/`
23
+ - **템플릿 (SSOT)**: `/docs/features/feature-base/`
24
+
25
+ ---
26
+
27
+ ## 📁 docs 표준 구조
28
+
29
+ ```
30
+ docs/
31
+ ├── README.md # 문서 안내
32
+ ├── agents/ # 에이전트 운영 규칙
33
+ │ ├── agents.md
34
+ │ ├── constitution.md
35
+ │ ├── git-workflow.md
36
+ │ ├── issue-template.md
37
+ │ └── pr-template.md
38
+ ├── prd/ # 제품 요구사항
39
+ ├── features/ # 기능별 문서
40
+ │ ├── feature-base/ # 템플릿
41
+ │ └── F00X-{name}/ # 개별 기능
42
+ └── scripts/ # 유틸리티
43
+ ```
44
+
45
+ ---
46
+
47
+ ## 언어/코드 규칙
48
+
49
+ - 답변: 한국어
50
+ - 코드/파일명: 영어
51
+ - 주석/커밋메시지: 한국어
52
+ - **날짜/시간: 사용자 PC의 시스템 시간 사용**
53
+
54
+ ---
55
+
56
+ ## 요청 유형별 프로세스
57
+
58
+ ### 1. 새 기능 추가 요청
59
+
60
+ 1. 새 기능 폴더 생성: `lee-spec-kit feature <name>`
61
+ 2. `spec.md` 작성 - 무엇을, 왜 만드는지
62
+ 3. 사용자에게 스펙 초안 확인 요청
63
+ 4. GitHub Issue 생성
64
+
65
+ ### 2. 태스크 실행 및 관리
66
+
67
+ 1. `tasks.md`에 태스크 작성
68
+ 2. 사용자 승인 후 실행
69
+ 3. 상태 전환: `[TODO]` → `[DOING]` → `[DONE]`
70
+ 4. 태스크 완료 직후 커밋
71
+
72
+ ---
73
+
74
+ ## 📋 ADR (Architecture Decision Records) 규칙
75
+
76
+ > `decisions.md`는 기술 결정과 그 이유를 기록하는 **필수** 문서입니다.
77
+
78
+ ### 기록 형식
79
+
80
+ ```markdown
81
+ ## D{번호}: {결정 제목} ({YYYY-MM-DD})
82
+
83
+ - **Context**: 문제 상황 또는 배경
84
+ - **Options**: 고려한 대안들
85
+ - **Decision**: 최종 선택
86
+ - **Rationale**: 선택 이유
87
+ ```
@@ -0,0 +1,75 @@
1
+ # {{projectName}} Constitution
2
+
3
+ 프로젝트의 핵심 원칙과 기술 결정 가이드라인입니다.
4
+ 모든 개발 결정은 이 문서를 기준으로 합니다.
5
+
6
+ ---
7
+
8
+ ## 프로젝트 미션
9
+
10
+ > (프로젝트의 미션을 작성하세요)
11
+
12
+ ---
13
+
14
+ ## 기술 스택
15
+
16
+ ### Backend
17
+
18
+ | 기술 | 버전 | 이유 |
19
+ | ------------ | ------ | ----------- |
20
+ | (예: NestJS) | (버전) | (선택 이유) |
21
+
22
+ ### Frontend
23
+
24
+ | 기술 | 버전 | 이유 |
25
+ | ----------- | ------ | ----------- |
26
+ | (예: React) | (버전) | (선택 이유) |
27
+
28
+ ### 공통
29
+
30
+ | 기술 | 버전 | 이유 |
31
+ | ----------------- | ------ | ----------- |
32
+ | TypeScript | strict | 타입 안전성 |
33
+ | ESLint + Prettier | - | 코드 품질 |
34
+ | pnpm | - | 패키지 관리 |
35
+
36
+ ---
37
+
38
+ ## 아키텍처 원칙
39
+
40
+ ### 1. Feature 중심 관리
41
+
42
+ - 새 기능은 `docs/features/F00X/` 구조로 관리
43
+ - FE/BE 분리하여 **기능 단위**로 개발
44
+ - spec → plan → tasks → decisions 워크플로우
45
+
46
+ ### 2. (추가 원칙)
47
+
48
+ (프로젝트별 아키텍처 원칙을 작성하세요)
49
+
50
+ ---
51
+
52
+ ## 코드 품질 기준
53
+
54
+ - TypeScript strict mode 필수
55
+ - ESLint + Prettier 필수
56
+ - 주요 비즈니스 로직 테스트 커버리지 **80%+**
57
+ - 컴포넌트는 **단일 책임 원칙**
58
+ - 중복 코드 최소화
59
+
60
+ ---
61
+
62
+ ## 보안 원칙
63
+
64
+ - 환경 변수로 시크릿 관리 (저장소 커밋 금지)
65
+ - 사용자 데이터 **최소 수집**
66
+ - CORS는 허용 오리진만 설정
67
+
68
+ ---
69
+
70
+ ## 언어/코드 규칙
71
+
72
+ - **답변**: 한국어
73
+ - **코드/파일명**: 영어
74
+ - **주석/커밋**: 한국어
75
+ - **날짜/시간**: 사용자 PC 시스템 시간 기준 (예: `{{date}}`)
@@ -0,0 +1,157 @@
1
+ # Git 워크플로우 가이드
2
+
3
+ 에이전트가 Git/GitHub 작업을 자동화하기 위한 규칙입니다.
4
+
5
+ ---
6
+
7
+ ## 핵심 개념
8
+
9
+ | 개념 | GitHub 매핑 | 설명 |
10
+ | --------- | ------------ | ----------------------- |
11
+ | Feature | GitHub Issue | 기능 단위 작업 |
12
+ | 태스크 | Commit | 개별 구현 단위 |
13
+ | 기능 완료 | Pull Request | Feature 완료 시 PR 생성 |
14
+
15
+ ---
16
+
17
+ ## 브랜치 전략
18
+
19
+ ```
20
+ main
21
+ └── feat/123-feature-name # Issue #123 기반 브랜치
22
+ ├── commit 1: feat(#123): 기능 구현
23
+ ├── commit 2: test(#123): 테스트 작성
24
+ └── commit 3: docs(#123): 문서 업데이트
25
+ ```
26
+
27
+ ### 브랜치 네이밍
28
+
29
+ ```
30
+ {type}/{issue-number}-{feature-name}
31
+ ```
32
+
33
+ | Type | 설명 |
34
+ | ---------- | --------- |
35
+ | `feat` | 새 기능 |
36
+ | `fix` | 버그 수정 |
37
+ | `refactor` | 리팩토링 |
38
+ | `docs` | 문서 |
39
+
40
+ **예시:**
41
+
42
+ - `feat/123-user-auth`
43
+ - `fix/456-login-error`
44
+
45
+ ---
46
+
47
+ ## 커밋 컨벤션
48
+
49
+ ### 형식
50
+
51
+ ```
52
+ {type}(#{issue}): {description}
53
+ ```
54
+
55
+ ### Type 목록
56
+
57
+ | Type | 설명 | 예시 |
58
+ | ---------- | ----------- | ----------------------------------- |
59
+ | `feat` | 새 기능 | `feat(#123): 사용자 인증 구현` |
60
+ | `fix` | 버그 수정 | `fix(#123): 로그인 오류 수정` |
61
+ | `refactor` | 리팩토링 | `refactor(#123): 인증 로직 분리` |
62
+ | `test` | 테스트 | `test(#123): 인증 단위 테스트 추가` |
63
+ | `docs` | 문서 | `docs(#123): 스펙 명확화` |
64
+ | `style` | 코드 스타일 | `style(#123): 린트 오류 수정` |
65
+ | `chore` | 기타 | `chore(#123): 의존성 업데이트` |
66
+
67
+ ---
68
+
69
+ ## 자동화 워크플로우
70
+
71
+ ### 1. Feature 시작
72
+
73
+ ```bash
74
+ # 1. GitHub Issue 생성 (Feature = Issue)
75
+ # 2. 브랜치 생성
76
+ git checkout -b feat/{issue-number}-{feature-name}
77
+ ```
78
+
79
+ > `gh`로 이슈/PR 생성·수정 시 작성할 제목/본문/라벨을 먼저 공유하고 **반드시** 사용자 확인(OK) 후 진행합니다.
80
+
81
+ ### 2. 태스크 완료 시 자동 커밋
82
+
83
+ 태스크 하나가 완료되면:
84
+
85
+ ```bash
86
+ git add .
87
+ git commit -m "{type}(#{issue}): {task-description}"
88
+ ```
89
+
90
+ > `git commit` 실행 전 커밋 메시지와 포함될 파일 목록을 먼저 공유하고 **반드시** 사용자 확인(OK) 후 진행합니다.
91
+
92
+ ### 3. Feature 완료 시 PR 생성
93
+
94
+ 모든 태스크 완료 시:
95
+
96
+ ```bash
97
+ git push origin feat/{issue-number}-{feature-name}
98
+ gh pr create --title "feat(#{issue}): {feature-title}" \
99
+ --body "Closes #{issue}" \
100
+ --base main
101
+ ```
102
+
103
+ ### 4. 머지
104
+
105
+ 모든 리뷰 해결 시:
106
+
107
+ ```bash
108
+ # 머지 전 main 최신화
109
+ git checkout main
110
+ git pull
111
+
112
+ # Squash and Merge
113
+ gh pr merge --squash --delete-branch
114
+
115
+ # 머지 후 main 최신화
116
+ git pull
117
+ ```
118
+
119
+ ---
120
+
121
+ ## 에이전트 자동화 규칙
122
+
123
+ ### 태스크 완료 시
124
+
125
+ ```
126
+ 1. 코드 변경 완료
127
+ 2. tasks.md 상태 [DOING] → [DONE] 업데이트 (docs)
128
+ 3. git add .
129
+ 4. git commit -m "{type}(#{issue}): {description}"
130
+ 5. 다음 태스크 진행
131
+ ```
132
+
133
+ ### Feature 완료 시
134
+
135
+ ```
136
+ 1. 모든 태스크 [DONE] 확인
137
+ 2. git push origin {branch}
138
+ 3. gh pr create
139
+ 4. 리뷰 대기
140
+ 5. 리뷰 코멘트 수정
141
+ 6. gh pr merge --squash
142
+ ```
143
+
144
+ ---
145
+
146
+ ## GitHub 설정 요구사항
147
+
148
+ ### 필수
149
+
150
+ - [ ] GitHub CLI (`gh`) 설치 및 인증
151
+ - [ ] Branch protection rules (main)
152
+ - Require PR before merging
153
+
154
+ ### 권장
155
+
156
+ - [ ] Auto-delete head branches
157
+ - [ ] Squash merging only
@@ -0,0 +1,60 @@
1
+ # GitHub Issue 템플릿 가이드
2
+
3
+ 에이전트가 GitHub Issue를 생성할 때 참조하는 템플릿입니다.
4
+
5
+ ---
6
+
7
+ ## 이슈 생성 규칙
8
+
9
+ ### 제목 형식
10
+
11
+ ```text
12
+ F{번호}: {기능명} ({짧은 설명})
13
+ ```
14
+
15
+ 예: `F001: user-auth (사용자 인증 기능)`
16
+
17
+ > "짧은 설명"은 한 줄로 의도를 전달할 수 있을 정도로만 작성합니다.
18
+
19
+ ---
20
+
21
+ ## 이슈 본문 템플릿
22
+
23
+ ```markdown
24
+ ## 개요
25
+
26
+ {기능에 대한 간략한 설명}
27
+
28
+ ## 목표
29
+
30
+ - {목표 1}
31
+ - {목표 2}
32
+
33
+ ## 완료 조건
34
+
35
+ - [ ] {조건 1}
36
+ - [ ] {조건 2}
37
+
38
+ ## 관련 문서
39
+
40
+ - Spec: `docs/features/{be|fe}/F{번호}-{기능명}/spec.md`
41
+
42
+ ## 라벨
43
+
44
+ - `enhancement` (새 기능)
45
+ - `bug` (버그 수정)
46
+ - `documentation` (문서)
47
+ ```
48
+
49
+ ---
50
+
51
+ ## 라벨 규칙
52
+
53
+ | 라벨 | 용도 |
54
+ | --------------- | ------------- |
55
+ | `enhancement` | 새 기능 |
56
+ | `bug` | 버그 수정 |
57
+ | `documentation` | 문서 작업 |
58
+ | `backend` | BE 관련 |
59
+ | `frontend` | FE 관련 |
60
+ | `priority:high` | 높은 우선순위 |
@@ -0,0 +1,71 @@
1
+ # GitHub PR 템플릿 가이드
2
+
3
+ 에이전트가 Pull Request를 생성할 때 참조하는 템플릿입니다.
4
+
5
+ ---
6
+
7
+ ## PR 생성 규칙
8
+
9
+ ### 제목 형식
10
+
11
+ ```text
12
+ feat(#{이슈번호}): {기능명}
13
+ ```
14
+
15
+ 예: `feat(#1): 사용자 인증 구현`
16
+
17
+ ---
18
+
19
+ ## PR 본문 템플릿
20
+
21
+ ```markdown
22
+ ## 개요
23
+
24
+ {변경 사항에 대한 간략한 설명}
25
+
26
+ ## 변경 사항
27
+
28
+ - {변경 1}
29
+ - {변경 2}
30
+ - {변경 3}
31
+
32
+ ## 테스트
33
+
34
+ - [ ] 유닛 테스트 통과
35
+ - [ ] 통합 테스트 완료
36
+
37
+ ## 스크린샷 (UI 변경 시)
38
+
39
+ {있으면 첨부}
40
+
41
+ ## 관련 문서
42
+
43
+ - Spec: `docs/features/{be|fe}/F{번호}-{기능명}/spec.md`
44
+ - Tasks: `docs/features/{be|fe}/F{번호}-{기능명}/tasks.md`
45
+
46
+ Closes #{이슈번호}
47
+ ```
48
+
49
+ ---
50
+
51
+ ## PR 생성 명령어
52
+
53
+ ```bash
54
+ # 현재 브랜치명 확인
55
+ BRANCH=$(git branch --show-current)
56
+
57
+ gh pr create \
58
+ --title "feat(#{issue}): {기능명}" \
59
+ --body-file /tmp/pr-body.md \
60
+ --base main
61
+ ```
62
+
63
+ ---
64
+
65
+ ## 머지 규칙
66
+
67
+ | 상황 | 머지 방식 |
68
+ | ------------ | ----------------- |
69
+ | 일반 Feature | Squash and Merge |
70
+ | 긴급 Hotfix | Merge 또는 Rebase |
71
+ | 문서 수정 | Squash and Merge |
@@ -0,0 +1,56 @@
1
+ # Features 가이드
2
+
3
+ 기능별 스펙, 계획, 태스크를 관리하는 폴더입니다.
4
+
5
+ ---
6
+
7
+ ## 폴더 구조
8
+
9
+ ```
10
+ features/
11
+ ├── README.md # 이 파일
12
+ ├── feature-base/ # 공용 템플릿
13
+ │ ├── spec.md
14
+ │ ├── plan.md
15
+ │ ├── tasks.md
16
+ │ └── decisions.md
17
+ └── F00X-{name}/ # 개별 기능
18
+ ```
19
+
20
+ ---
21
+
22
+ ## 새 기능 생성
23
+
24
+ ```bash
25
+ lee-spec-kit feature user-auth
26
+ ```
27
+
28
+ > 💡 CLI는 `feature-base/`에서 템플릿을 복사하고 ID를 자동 채번합니다.
29
+
30
+ ---
31
+
32
+ ## 기능 ID 규칙
33
+
34
+ - `F{번호}-{기능명}` (예: F001-user-auth)
35
+ - 번호는 **최소 3자리 패딩** (001, 002, ...)
36
+ - 기능명은 kebab-case
37
+ - **Feature = Issue**: 각 Feature는 하나의 GitHub Issue에 대응
38
+
39
+ ---
40
+
41
+ ## 상태 확인
42
+
43
+ ```bash
44
+ lee-spec-kit status
45
+ ```
46
+
47
+ ---
48
+
49
+ ## 각 파일 역할
50
+
51
+ | 파일 | 역할 | 작성 시점 |
52
+ | -------------- | ----------------- | ------------ |
53
+ | `spec.md` | **무엇을, 왜** | 기능 정의 시 |
54
+ | `plan.md` | **어떻게** (기술) | 스펙 승인 후 |
55
+ | `tasks.md` | 작업 목록 | 계획 승인 후 |
56
+ | `decisions.md` | 기술 결정 (ADR) | 개발 중 |
@@ -0,0 +1,15 @@
1
+ # Decisions Log
2
+
3
+ 기술 결정과 그 이유를 기록합니다.
4
+
5
+ > 형식: `D{번호}: {결정 제목} ({YYYY-MM-DD})`
6
+
7
+ ---
8
+
9
+ ## D001: {결정 제목} ({YYYY-MM-DD})
10
+
11
+ - **Context**: 문제 상황 또는 배경
12
+ - **Options**: 고려한 대안들
13
+ - **Decision**: 최종 선택
14
+ - **Rationale**: 선택 이유
15
+ - **Consequences**: 결과 및 영향 (선택사항)
@@ -0,0 +1,48 @@
1
+ # Implementation Plan: {기능명}
2
+
3
+ > 스펙이 승인된 후 작성합니다.
4
+
5
+ ---
6
+
7
+ ## 개요
8
+
9
+ - **기능 ID**: F{번호}
10
+ - **대상 레포**: {{projectName}}
11
+ - **작성일**: YYYY-MM-DD
12
+ - **상태**: Draft | Review | Approved
13
+
14
+ ---
15
+
16
+ ## 기술 스택
17
+
18
+ | 구분 | 선택 | 이유 |
19
+ | ---- | ---- | ---- |
20
+
21
+ ---
22
+
23
+ ## 아키텍처
24
+
25
+ (컴포넌트 구조, 데이터 흐름)
26
+
27
+ ---
28
+
29
+ ## 파일 구조
30
+
31
+ ```
32
+ src/
33
+ ├── ...
34
+ ```
35
+
36
+ ---
37
+
38
+ ## 테스트 전략
39
+
40
+ - **단위 테스트**:
41
+ - **통합 테스트**:
42
+
43
+ ---
44
+
45
+ ## 관련 문서
46
+
47
+ - Spec: [spec.md](./spec.md)
48
+ - Decisions: [decisions.md](./decisions.md)