lee-spec-kit 0.6.14 → 0.6.15
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.
- package/README.en.md +2 -1
- package/README.md +2 -1
- package/dist/index.js +510 -288
- package/package.json +1 -1
- package/templates/en/common/agents/skills/create-issue.md +2 -3
- package/templates/en/common/agents/skills/create-pr.md +16 -2
- package/templates/en/common/features/README.md +11 -1
- package/templates/en/common/features/feature-base/issue.md +0 -1
- package/templates/en/common/features/feature-base/pr.md +0 -3
- package/templates/en/common/features/feature-base/spec.md +0 -1
- package/templates/en/common/features/feature-base/tasks.md +5 -0
- package/templates/ko/common/agents/skills/create-issue.md +2 -3
- package/templates/ko/common/agents/skills/create-pr.md +16 -2
- package/templates/ko/common/features/README.md +11 -1
- package/templates/ko/common/features/feature-base/issue.md +0 -1
- package/templates/ko/common/features/feature-base/pr.md +0 -3
- package/templates/ko/common/features/feature-base/spec.md +0 -1
- package/templates/ko/common/features/feature-base/tasks.md +5 -0
package/package.json
CHANGED
|
@@ -64,9 +64,8 @@ npx lee-spec-kit github issue F001 --create --confirm OK --labels enhancement
|
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
After creation:
|
|
67
|
-
- sync created issue number into `
|
|
68
|
-
-
|
|
69
|
-
- keep `issue.md` status as `Ready` (creation state is tracked by issue number/link fields)
|
|
67
|
+
- sync created issue number into `tasks.md`
|
|
68
|
+
- keep `issue.md` status as `Ready` (creation state is tracked in `tasks.md`)
|
|
70
69
|
|
|
71
70
|
---
|
|
72
71
|
|
|
@@ -14,6 +14,20 @@ Execution-state SSOT is the feature-local `pr.md`.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## Pre-PR Baseline Checklist (`builtin-checklist`)
|
|
18
|
+
|
|
19
|
+
Always run this checklist in Pre-PR review. Treat it as the minimum baseline, then use review skills for deeper inspection when available.
|
|
20
|
+
|
|
21
|
+
1. Review alignment with `spec.md` / `plan.md` / `tasks.md` and confirm implementation still matches the original goal.
|
|
22
|
+
2. Inspect regression, exception handling, critical/security risks, side effects, user flow impact, and release readiness.
|
|
23
|
+
3. Check maintainability: split oversized functions/files when needed, reuse/integrate existing code where appropriate, and remove obsolete code.
|
|
24
|
+
4. Run related test/verification commands (or explicitly record why they were not run).
|
|
25
|
+
5. Update `Pre-PR Findings` in `tasks.md` as `major=<n>, minor=<n>`.
|
|
26
|
+
6. Update `Pre-PR Evidence` with concrete proof (review links, logs, or doc paths).
|
|
27
|
+
7. Set `Pre-PR Review` to `Done` only after the checklist is completed.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
17
31
|
## Steps
|
|
18
32
|
|
|
19
33
|
### 1. Prepare `pr.md` Draft
|
|
@@ -153,9 +167,9 @@ npx lee-spec-kit github pr F001 --create --confirm OK --labels enhancement
|
|
|
153
167
|
```
|
|
154
168
|
|
|
155
169
|
After creation:
|
|
156
|
-
- record created PR link into `
|
|
170
|
+
- record created PR link into `tasks.md`
|
|
157
171
|
- record/keep PR status as `Review`
|
|
158
|
-
- keep `pr.md` status as `Ready` (creation/merge state is tracked by
|
|
172
|
+
- keep `pr.md` status as `Ready` (creation/merge state is tracked by `tasks.md` PR/PR Status)
|
|
159
173
|
|
|
160
174
|
---
|
|
161
175
|
|
|
@@ -67,8 +67,18 @@ npx lee-spec-kit status --write
|
|
|
67
67
|
| Document status | `Status` in `spec.md`/`plan.md`, `Doc Status` in `tasks.md` | `Draft` \| `Review` \| `Approved` |
|
|
68
68
|
| Issue doc status | `Status` in `issue.md` | `Draft` \| `Ready` |
|
|
69
69
|
| PR doc status | `Status` in `pr.md` | `Draft` \| `Ready` |
|
|
70
|
-
| PR review status | `PR Status` in `tasks.md
|
|
70
|
+
| PR review status | `PR Status` in `tasks.md` | `Review` \| `Approved` |
|
|
71
71
|
| Pre-PR review status | `Pre-PR Review` in `tasks.md` | `Pending` \| `Done` |
|
|
72
|
+
| Pre-PR review findings | `Pre-PR Findings` in `tasks.md` | `major=<n>, minor=<n>` |
|
|
73
|
+
| Pre-PR review evidence | `Pre-PR Evidence` in `tasks.md` | evidence link/log/doc path |
|
|
74
|
+
| PR review findings | `PR Review Findings` in `tasks.md` | `major=<n>, minor=<n>` |
|
|
75
|
+
| PR review evidence | `PR Review Evidence` in `tasks.md` | required evidence link/log/doc path when total PR review findings > 0 |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Pre-PR Fallback Checklist
|
|
80
|
+
|
|
81
|
+
Use `agents/skills/create-pr.md` (`Pre-PR Baseline Checklist`) as the default baseline for every Pre-PR review. Use review skills additionally for deeper inspection.
|
|
72
82
|
|
|
73
83
|
---
|
|
74
84
|
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
- Update with final findings counts from pre-PR review
|
|
27
27
|
- **Pre-PR Evidence**: -
|
|
28
28
|
- Example: review note link, log path, or docs path
|
|
29
|
+
- Follow `agents/skills/create-pr.md` (`Pre-PR Baseline Checklist`) as the default baseline
|
|
30
|
+
- **PR Review Findings**: major=0, minor=0
|
|
31
|
+
- Update with findings counts from PR review comment resolution
|
|
32
|
+
- **PR Review Evidence**: -
|
|
33
|
+
- Example: resolved/aligned comment link, verification log, or docs path
|
|
29
34
|
|
|
30
35
|
---
|
|
31
36
|
|
|
@@ -64,9 +64,8 @@ npx lee-spec-kit github issue F001 --create --confirm OK --labels enhancement
|
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
생성 후:
|
|
67
|
-
- 생성된 이슈 번호를 `
|
|
68
|
-
- `
|
|
69
|
-
- `issue.md` 상태는 `Ready`로 유지 (`Issue Number`/링크 필드로 생성 상태를 관리)
|
|
67
|
+
- 생성된 이슈 번호를 `tasks.md`에 기록
|
|
68
|
+
- `issue.md` 상태는 `Ready`로 유지 (생성 상태는 `tasks.md`에서 관리)
|
|
70
69
|
|
|
71
70
|
---
|
|
72
71
|
|
|
@@ -14,6 +14,20 @@ Pull Request를 생성할 때 따르는 가이드입니다.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## Pre-PR 기본 체크리스트(`builtin-checklist`)
|
|
18
|
+
|
|
19
|
+
Pre-PR 리뷰에서 항상 수행하는 최소 기준입니다. 가능한 경우 리뷰 스킬을 추가로 사용해 심화 검토를 진행하세요.
|
|
20
|
+
|
|
21
|
+
1. `spec.md` / `plan.md` / `tasks.md` 기준으로 변경 범위 정합성을 확인하고, 구현이 원래 목적에 맞는지 점검합니다.
|
|
22
|
+
2. 회귀/예외 처리, 크리티컬·보안 리스크, 사이드 이펙트, 사용자 흐름 영향, 배포 준비도를 점검합니다.
|
|
23
|
+
3. 유지보수성을 점검합니다: 큰 함수/파일은 필요 시 분리하고, 기존 코드 재사용·통합 가능성을 확인하며, 불필요해진 코드를 정리합니다.
|
|
24
|
+
4. 관련 테스트/검증 명령을 실행합니다. 실행하지 못했다면 사유를 명시합니다.
|
|
25
|
+
5. `tasks.md`의 `PR 전 리뷰 Findings`를 `major=<n>, minor=<n>` 형식으로 최신화합니다.
|
|
26
|
+
6. `PR 전 리뷰 Evidence`에 실제 근거(리뷰 링크, 로그, 문서 경로)를 기록합니다.
|
|
27
|
+
7. 체크리스트 완료 후에만 `PR 전 리뷰`를 `Done`으로 변경합니다.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
17
31
|
## 단계
|
|
18
32
|
|
|
19
33
|
### 1. `pr.md` 본문 초안 준비
|
|
@@ -153,9 +167,9 @@ npx lee-spec-kit github pr F001 --create --confirm OK --labels enhancement
|
|
|
153
167
|
```
|
|
154
168
|
|
|
155
169
|
생성 후:
|
|
156
|
-
- 생성된 PR 링크를 `
|
|
170
|
+
- 생성된 PR 링크를 `tasks.md`에 기록
|
|
157
171
|
- PR 상태를 `Review`로 기록/유지
|
|
158
|
-
- `pr.md` 상태는 `Ready`로 유지 (생성/머지 상태는
|
|
172
|
+
- `pr.md` 상태는 `Ready`로 유지 (생성/머지 상태는 `tasks.md`의 PR/PR 상태로 관리)
|
|
159
173
|
|
|
160
174
|
---
|
|
161
175
|
|
|
@@ -67,8 +67,18 @@ npx lee-spec-kit status --write
|
|
|
67
67
|
| 문서 상태 | `spec.md`/`plan.md`의 `상태`, `tasks.md`의 `문서 상태` | `Draft` \| `Review` \| `Approved` |
|
|
68
68
|
| 이슈 문서 상태 | `issue.md`의 `상태` | `Draft` \| `Ready` |
|
|
69
69
|
| PR 문서 상태 | `pr.md`의 `상태` | `Draft` \| `Ready` |
|
|
70
|
-
| PR 리뷰 상태 | `tasks.md
|
|
70
|
+
| PR 리뷰 상태 | `tasks.md`의 `PR 상태` | `Review` \| `Approved` |
|
|
71
71
|
| Pre-PR 리뷰 상태 | `tasks.md`의 `PR 전 리뷰` | `Pending` \| `Done` |
|
|
72
|
+
| Pre-PR 리뷰 Findings | `tasks.md`의 `PR 전 리뷰 Findings` | `major=<n>, minor=<n>` |
|
|
73
|
+
| Pre-PR 리뷰 Evidence | `tasks.md`의 `PR 전 리뷰 Evidence` | 근거 링크/로그/문서 경로 |
|
|
74
|
+
| PR 리뷰 Findings | `tasks.md`의 `PR 리뷰 Findings` | `major=<n>, minor=<n>` |
|
|
75
|
+
| PR 리뷰 Evidence | `tasks.md`의 `PR 리뷰 Evidence` | `PR 리뷰 Findings` 합계가 1 이상이면 근거 링크/로그/문서 경로 필수 |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Pre-PR 폴백 체크리스트
|
|
80
|
+
|
|
81
|
+
모든 Pre-PR 리뷰에서 `agents/skills/create-pr.md`의 `Pre-PR 기본 체크리스트`를 기본 베이스라인으로 사용하고, 리뷰 스킬은 심화 검토용으로 추가 사용하세요.
|
|
72
82
|
|
|
73
83
|
---
|
|
74
84
|
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
- 사전 리뷰 최종 결과에 맞게 major/minor 건수를 갱신
|
|
27
27
|
- **PR 전 리뷰 Evidence**: -
|
|
28
28
|
- 예: 리뷰 노트 링크, 로그 경로, 문서 경로
|
|
29
|
+
- 기본 베이스라인으로 `agents/skills/create-pr.md`(`Pre-PR 기본 체크리스트`) 기준을 따르세요
|
|
30
|
+
- **PR 리뷰 Findings**: major=0, minor=0
|
|
31
|
+
- PR 리뷰 코멘트 반영 결과에 맞게 major/minor 건수를 갱신
|
|
32
|
+
- **PR 리뷰 Evidence**: -
|
|
33
|
+
- 예: 해결/합의한 코멘트 링크, 검증 로그, 관련 문서 경로
|
|
29
34
|
|
|
30
35
|
---
|
|
31
36
|
|