lee-spec-kit 0.6.14 โ 0.6.16
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 +40 -1
- package/README.md +42 -1
- package/dist/index.js +513 -295
- package/package.json +1 -1
- package/templates/en/common/README.md +20 -0
- package/templates/en/common/agents/skills/create-issue.md +2 -3
- package/templates/en/common/agents/skills/create-pr.md +20 -4
- 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/README.md +20 -0
- package/templates/ko/common/agents/skills/create-issue.md +2 -3
- package/templates/ko/common/agents/skills/create-pr.md +20 -4
- 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/README.en.md
CHANGED
|
@@ -56,6 +56,44 @@ npx lee-spec-kit status
|
|
|
56
56
|
npx lee-spec-kit doctor
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
## New Project Start Order
|
|
60
|
+
|
|
61
|
+
For a brand-new project, scaffold the **codebase first**, then initialize docs.
|
|
62
|
+
This sequence assumes the default `docsRepo: embedded` mode.
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# 0) Create/init the code project first (example: Next.js)
|
|
66
|
+
npx create-next-app@latest my-app
|
|
67
|
+
cd my-app
|
|
68
|
+
|
|
69
|
+
# 1) Initialize docs structure
|
|
70
|
+
npx lee-spec-kit init
|
|
71
|
+
|
|
72
|
+
# 2) Detect project (agent entrypoint)
|
|
73
|
+
npx lee-spec-kit detect --json
|
|
74
|
+
|
|
75
|
+
# 3) Create feature and start workflow
|
|
76
|
+
npx lee-spec-kit feature user-auth
|
|
77
|
+
npx lee-spec-kit context --json
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
- Apply lee-spec-kit workflow only when `detect --json` returns `isLeeSpecKitProject: true`.
|
|
81
|
+
- If `isLeeSpecKitProject: false`, continue with normal non-lee-spec-kit workflow.
|
|
82
|
+
- If you use `standalone` docs, run commands against the docs repo location (`--dir` or `LEE_SPEC_KIT_DOCS_DIR`).
|
|
83
|
+
|
|
84
|
+
## Agent Kickoff Prompt
|
|
85
|
+
|
|
86
|
+
You can paste the following as an agent session-start instruction.
|
|
87
|
+
|
|
88
|
+
```text
|
|
89
|
+
Start procedure:
|
|
90
|
+
1) Run npx lee-spec-kit detect --json
|
|
91
|
+
2) If isLeeSpecKitProject === true, run npx lee-spec-kit context --json
|
|
92
|
+
3) If actionOptions exist, show approvalPrompt and finalPrompt exactly as provided, then wait for user approval (<LABEL> or <LABEL> OK)
|
|
93
|
+
4) Do not execute before approval; execute requiresUserCheck=true actions only after approval
|
|
94
|
+
5) If isLeeSpecKitProject === false, skip lee-spec-kit-specific flow and continue with normal workflow
|
|
95
|
+
```
|
|
96
|
+
|
|
59
97
|
## Features
|
|
60
98
|
|
|
61
99
|
### ๐ Project initialization
|
|
@@ -472,7 +510,8 @@ Running `init` creates `.lee-spec-kit.json` in your docs root (default: `docs/`)
|
|
|
472
510
|
- `workflow.prePrReview`:
|
|
473
511
|
- `enabled` (optional): enforce pre-PR review stage (default: same as `requirePr`)
|
|
474
512
|
- `skills` (optional): preferred skill names in priority order (default: `["code-review-excellence"]`)
|
|
475
|
-
- `fallback` (optional):
|
|
513
|
+
- `fallback` (optional): baseline review policy (default: `"builtin-checklist"`)
|
|
514
|
+
- Use the `Pre-PR Baseline Checklist` section in `docs get create-pr --json` as the single source of truth
|
|
476
515
|
- `blockOnFindings` (optional): require major findings to be resolved/aligned before PR creation (default: `true`)
|
|
477
516
|
- `minorPolicy` (optional): minor findings policy (`warn` | `block`, default: `warn`)
|
|
478
517
|
|
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
## ๋ชฉ์ฐจ
|
|
38
38
|
|
|
39
39
|
- [Quick Start](#quick-start)
|
|
40
|
+
- [์ ๊ท ํ๋ก์ ํธ ์์ ์์](#์ ๊ท-ํ๋ก์ ํธ-์์-์์)
|
|
41
|
+
- [์์ด์ ํธ ํฅ์คํ ํ๋กฌํํธ](#์์ด์ ํธ-ํฅ์คํ-ํ๋กฌํํธ)
|
|
40
42
|
- [์ฃผ์ ๊ธฐ๋ฅ](#์ฃผ์-๊ธฐ๋ฅ)
|
|
41
43
|
- [์ฌ์ฉ๋ฒ](#์ฌ์ฉ๋ฒ)
|
|
42
44
|
- [์ค์ ํ์ผ](#์ค์ -ํ์ผ)
|
|
@@ -69,6 +71,44 @@ npx lee-spec-kit status
|
|
|
69
71
|
npx lee-spec-kit doctor
|
|
70
72
|
```
|
|
71
73
|
|
|
74
|
+
## ์ ๊ท ํ๋ก์ ํธ ์์ ์์
|
|
75
|
+
|
|
76
|
+
์ ๊ท ํ๋ก์ ํธ์์๋ **์ฝ๋ ์ค์บํด๋ฉ์ ๋จผ์ ** ํ๊ณ , ๊ทธ ๋ค์ docs๋ฅผ ์ด๊ธฐํํ์ธ์.
|
|
77
|
+
์ด ์์๋ ๊ธฐ๋ณธ๊ฐ์ธ `docsRepo: embedded` ๊ธฐ์ค์
๋๋ค.
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# 0. ์ฝ๋ ํ๋ก์ ํธ ์์ฑ/์ด๊ธฐํ (์: Next.js)
|
|
81
|
+
npx create-next-app@latest my-app
|
|
82
|
+
cd my-app
|
|
83
|
+
|
|
84
|
+
# 1. docs ๊ตฌ์กฐ ์ด๊ธฐํ
|
|
85
|
+
npx lee-spec-kit init
|
|
86
|
+
|
|
87
|
+
# 2. ๊ฐ์ง ํ์ธ (์์ด์ ํธ ์์์ )
|
|
88
|
+
npx lee-spec-kit detect --json
|
|
89
|
+
|
|
90
|
+
# 3. Feature ์์ฑ ํ ์์
์์
|
|
91
|
+
npx lee-spec-kit feature user-auth
|
|
92
|
+
npx lee-spec-kit context --json
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
- `detect --json` ๊ฒฐ๊ณผ๊ฐ `isLeeSpecKitProject: true`์ผ ๋ lee-spec-kit ์ํฌํ๋ก์ฐ๋ฅผ ์ ์ฉํ์ธ์.
|
|
96
|
+
- `isLeeSpecKitProject: false`๋ฉด ์ผ๋ฐ ํ๋ก์ ํธ ์ํฌํ๋ก์ฐ๋ก ์งํํ์ธ์.
|
|
97
|
+
- `standalone`์ผ๋ก docs๋ฅผ ๋ถ๋ฆฌํ ๊ฒฝ์ฐ์๋ docs ๋ ํฌ ์์น(`--dir` ๋๋ `LEE_SPEC_KIT_DOCS_DIR`) ๊ธฐ์ค์ผ๋ก ์คํํ์ธ์.
|
|
98
|
+
|
|
99
|
+
## ์์ด์ ํธ ํฅ์คํ ํ๋กฌํํธ
|
|
100
|
+
|
|
101
|
+
์๋ ํ๋กฌํํธ๋ฅผ ์์ด์ ํธ ์์ ๋ฉ์์ง๋ก ๊ทธ๋๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
์์
์์ ์ ์ฐจ:
|
|
105
|
+
1) npx lee-spec-kit detect --json
|
|
106
|
+
2) isLeeSpecKitProject === true ์ด๋ฉด npx lee-spec-kit context --json ์คํ
|
|
107
|
+
3) actionOptions๊ฐ ์์ผ๋ฉด approvalPrompt์ finalPrompt๋ฅผ ๊ทธ๋๋ก ์ฌ์ฉ์์๊ฒ ์ ์ํ๊ณ ์น์ธ(<LABEL> ๋๋ <LABEL> OK) ๋๊ธฐ
|
|
108
|
+
4) ์น์ธ ์ ์๋ ์คํํ์ง ๋ง๊ณ , requiresUserCheck=true ์ก์
์ ์น์ธ ํ์๋ง ์คํ
|
|
109
|
+
5) isLeeSpecKitProject === false ์ด๋ฉด lee-spec-kit ์ ์ฉ ์ ์ฐจ๋ฅผ ๊ฑด๋๋ฐ๊ณ ์ผ๋ฐ ์ํฌํ๋ก์ฐ๋ก ์งํ
|
|
110
|
+
```
|
|
111
|
+
|
|
72
112
|
## ์ฃผ์ ๊ธฐ๋ฅ
|
|
73
113
|
|
|
74
114
|
### ๐ ํ๋ก์ ํธ ์ด๊ธฐํ
|
|
@@ -518,7 +558,8 @@ npx lee-spec-kit update --force
|
|
|
518
558
|
- `workflow.prePrReview`:
|
|
519
559
|
- `enabled` (์ ํ): pre-PR ๋ฆฌ๋ทฐ ๋จ๊ณ๋ฅผ ๊ฐ์ ํ ์ง ์ฌ๋ถ (๊ธฐ๋ณธ: `requirePr`์ ๋์ผ)
|
|
520
560
|
- `skills` (์ ํ): ์ฐ์ ์์ ์คํฌ ๋ชฉ๋ก (๊ธฐ๋ณธ: `["code-review-excellence"]`)
|
|
521
|
-
- `fallback` (์ ํ):
|
|
561
|
+
- `fallback` (์ ํ): ๊ธฐ๋ณธ ๋ฒ ์ด์ค๋ผ์ธ ์ ์ฑ
(๊ธฐ๋ณธ: `"builtin-checklist"`)
|
|
562
|
+
- ์์ธ ๊ธฐ์ค์ `docs get create-pr --json`์ `Pre-PR ๊ธฐ๋ณธ ์ฒดํฌ๋ฆฌ์คํธ` ์น์
์ ๋จ์ผ ๊ธฐ์ค์ผ๋ก ์ฌ์ฉ
|
|
522
563
|
- `blockOnFindings` (์ ํ): ์ฃผ์ ์ด์ ๋ฐ๊ฒฌ ์ PR ์์ฑ ์ ํด๊ฒฐ/ํฉ์๋ฅผ ์๊ตฌํ ์ง ์ฌ๋ถ (๊ธฐ๋ณธ: `true`)
|
|
523
564
|
- `minorPolicy` (์ ํ): minor ์ด์ ์ ์ฑ
(`warn` | `block`, ๊ธฐ๋ณธ: `warn`)
|
|
524
565
|
|