lee-spec-kit 0.6.16 β 0.6.18
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 +56 -20
- package/README.md +57 -21
- package/dist/index.js +1117 -229
- package/package.json +8 -3
- package/templates/en/common/README.md +6 -2
- package/templates/en/common/agents/agents.md +1 -1
- package/templates/en/common/agents/git-workflow.md +8 -1
- package/templates/en/common/features/feature-base/issue.md +3 -7
- package/templates/en/common/features/feature-base/pr.md +3 -3
- package/templates/ko/common/README.md +6 -2
- package/templates/ko/common/agents/agents.md +1 -1
- package/templates/ko/common/agents/git-workflow.md +8 -1
- package/templates/ko/common/features/feature-base/issue.md +3 -7
- package/templates/ko/common/features/feature-base/pr.md +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lee-spec-kit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
4
4
|
"description": "Project documentation structure generator for AI-assisted development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -49,13 +49,18 @@
|
|
|
49
49
|
"eslint-config-prettier": "^10.1.8",
|
|
50
50
|
"prettier": "^3.7.4",
|
|
51
51
|
"tsup": "^8.5.1",
|
|
52
|
-
"typescript": "^5.9.3"
|
|
52
|
+
"typescript": "^5.9.3",
|
|
53
|
+
"vitest": "^4.0.18"
|
|
53
54
|
},
|
|
54
55
|
"scripts": {
|
|
55
56
|
"build": "tsup",
|
|
56
57
|
"dev": "tsup --watch",
|
|
57
58
|
"lint": "eslint src",
|
|
58
|
-
"test
|
|
59
|
+
"lint:test": "eslint tests",
|
|
60
|
+
"typecheck": "tsc --noEmit",
|
|
61
|
+
"typecheck:test": "tsc -p tsconfig.tests.json --noEmit",
|
|
62
|
+
"test": "pnpm build && vitest run",
|
|
63
|
+
"test:race": "pnpm build && vitest run tests/race.test.mjs",
|
|
59
64
|
"format": "prettier --write ."
|
|
60
65
|
}
|
|
61
66
|
}
|
|
@@ -5,11 +5,14 @@ This documentation is organized by feature to help agents quickly understand the
|
|
|
5
5
|
## Agent Session Start Checklist
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
+
# (recommended once at start) run onboarding checks
|
|
9
|
+
npx lee-spec-kit onboard --strict
|
|
10
|
+
|
|
8
11
|
# 1) Detect project
|
|
9
12
|
npx lee-spec-kit detect --json
|
|
10
13
|
|
|
11
14
|
# 2) If detected, read context first
|
|
12
|
-
npx lee-spec-kit context --json
|
|
15
|
+
npx lee-spec-kit context --json-compact
|
|
13
16
|
```
|
|
14
17
|
|
|
15
18
|
- Apply lee-spec-kit workflow only when `isLeeSpecKitProject: true`.
|
|
@@ -20,7 +23,8 @@ npx lee-spec-kit context --json
|
|
|
20
23
|
|
|
21
24
|
- Scaffold the code project first (for example Next.js/NestJS), then run `lee-spec-kit init`.
|
|
22
25
|
- After that, verify detection with `detect --json`, then continue with `feature` and `context`.
|
|
23
|
-
-
|
|
26
|
+
- In most cases (default: embedded), the steps above are all you need.
|
|
27
|
+
- Choose standalone only when docs are managed separately from the code repo. In that case, prefer running init from a parent workspace folder (for example `workspace/docs`, `workspace/project`) and set both docs/project paths together. (e.g. `npx lee-spec-kit init --docs-repo standalone --dir ./docs --project-root ./project`)
|
|
24
28
|
|
|
25
29
|
## Directory Structure
|
|
26
30
|
|
|
@@ -33,7 +33,7 @@ Prohibited:
|
|
|
33
33
|
## π§Ύ Label Response Contract (SSOT)
|
|
34
34
|
|
|
35
35
|
- End **every user-facing reply** with current status + available labels.
|
|
36
|
-
- Use the latest `npx lee-spec-kit context --json` (or `flow --json`
|
|
36
|
+
- Use the latest `npx lee-spec-kit context --json-compact` as the default source (fallback: `context --json` or `flow --json` when full detail is required).
|
|
37
37
|
- Use `actionOptions[].detail` or command `cmd` **verbatim**. Do not paraphrase.
|
|
38
38
|
- Even when the user asks something else, append the same label block at the end if executable labels exist.
|
|
39
39
|
- If no executable labels exist, print `Available labels: none` and guide re-check with `npx lee-spec-kit context`.
|
|
@@ -82,9 +82,16 @@ main
|
|
|
82
82
|
### Branch Creation
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
|
|
85
|
+
# Default (recommended): create dedicated worktree + branch
|
|
86
|
+
mkdir -p .worktrees
|
|
87
|
+
git worktree add -b feat/{issue-number}-{feature-name} .worktrees/feat-{issue-number}-{feature-name}
|
|
88
|
+
|
|
89
|
+
# If branch already exists, attach worktree only
|
|
90
|
+
git worktree add .worktrees/feat-{issue-number}-{feature-name} feat/{issue-number}-{feature-name}
|
|
86
91
|
```
|
|
87
92
|
|
|
93
|
+
> Continue implementation from the created worktree path (`.worktrees/feat-{issue-number}-{feature-name}`).
|
|
94
|
+
|
|
88
95
|
### Document Commit Rules (Continuous Sync)
|
|
89
96
|
|
|
90
97
|
> π **Docs synchronization is mandatory when Project code changes.**
|
|
@@ -22,12 +22,8 @@
|
|
|
22
22
|
- [ ] (verifiable criterion 1)
|
|
23
23
|
- [ ] (verifiable criterion 2)
|
|
24
24
|
|
|
25
|
-
## Out of Scope
|
|
26
|
-
|
|
27
|
-
- (what this issue does not cover)
|
|
28
|
-
|
|
29
25
|
## Related Docs
|
|
30
26
|
|
|
31
|
-
- Spec:
|
|
32
|
-
- Plan:
|
|
33
|
-
- Tasks:
|
|
27
|
+
- Spec: `docs/.../spec.md`
|
|
28
|
+
- Plan: `docs/.../plan.md`
|
|
29
|
+
- Tasks: `docs/.../tasks.md`
|
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
## μμ΄μ νΈ μΈμ
μμ 체ν¬λ¦¬μ€νΈ
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
+
# (μ΅μ΄ 1ν κΆμ₯) μ΄κΈ° μ¨λ³΄λ© μ κ²
|
|
9
|
+
npx lee-spec-kit onboard --strict
|
|
10
|
+
|
|
8
11
|
# 1) νλ‘μ νΈ κ°μ§
|
|
9
12
|
npx lee-spec-kit detect --json
|
|
10
13
|
|
|
11
14
|
# 2) κ°μ§ μ±κ³΅ μ 컨ν
μ€νΈ μ‘°ν
|
|
12
|
-
npx lee-spec-kit context --json
|
|
15
|
+
npx lee-spec-kit context --json-compact
|
|
13
16
|
```
|
|
14
17
|
|
|
15
18
|
- `isLeeSpecKitProject: true`μΌ λλ§ lee-spec-kit μν¬νλ‘μ°λ₯Ό μ μ©ν©λλ€.
|
|
@@ -20,7 +23,8 @@ npx lee-spec-kit context --json
|
|
|
20
23
|
|
|
21
24
|
- μ½λ νλ‘μ νΈ μ€μΊν΄λ©(μ: Next.js/NestJS) ν `lee-spec-kit init`μ μ€ννμΈμ.
|
|
22
25
|
- κ·Έ λ€μ `detect --json`μΌλ‘ κ°μ§ κ²°κ³Όλ₯Ό νμΈνκ³ , `feature`/`context` μμλ‘ μ§ννμΈμ.
|
|
23
|
-
-
|
|
26
|
+
- λλΆλΆμ κ²½μ°(κΈ°λ³Έκ°: embedded) μ μμλ§ λ°λ₯΄λ©΄ λ©λλ€.
|
|
27
|
+
- docsλ₯Ό μ½λ μ μ₯μμ λΆλ¦¬ν΄ μ΄μν λλ§ standaloneμ μ ννμΈμ. μ΄λλ μμ μν¬μ€νμ΄μ€ ν΄λ(μ: `workspace/docs`, `workspace/project`)μμ `init`μ μ€νν΄ docs/project κ²½λ‘λ₯Ό ν¨κ» μ§μ νλ λ°©μμ κΆμ₯ν©λλ€. (μ: `npx lee-spec-kit init --docs-repo standalone --dir ./docs --project-root ./project`)
|
|
24
28
|
|
|
25
29
|
## μμ ꡬ쑰 μμ½
|
|
26
30
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
## π§Ύ λΌλ²¨ μλ΅ κ³μ½ (SSOT)
|
|
34
34
|
|
|
35
35
|
- μ¬μ©μμκ² λ³΄λ΄λ **λͺ¨λ μλ΅μ λ§μ§λ§**μ νμ¬ μν + μ ν κ°λ₯ν λΌλ²¨μ νμν©λλ€.
|
|
36
|
-
- κΈ°μ€ λ°μ΄ν°λ μ΅μ `npx lee-spec-kit context --json`(λλ `flow --json`)
|
|
36
|
+
- κΈ°μ€ λ°μ΄ν°λ μ΅μ `npx lee-spec-kit context --json-compact`λ₯Ό κΈ°λ³ΈμΌλ‘ μ¬μ©νκ³ , μμΈ νλκ° νμν λλ§ `context --json`(λλ `flow --json`)μ μ¬μ©ν©λλ€.
|
|
37
37
|
- λΌλ²¨ μ€λͺ
μ `actionOptions[].detail` λλ command `cmd`λ₯Ό **μλ¬Έ κ·Έλλ‘** μ¬μ©ν©λλ€. (μμ½/μμ κΈμ§)
|
|
38
38
|
- μ¬μ©μκ° λ€λ₯Έ μ§λ¬Έμ νλλΌλ, μ€ν κ°λ₯ν λΌλ²¨μ΄ μμΌλ©΄ μλ΅ λ§μ§λ§μ λμΌ λΈλ‘μ λ€μ νμν©λλ€.
|
|
39
39
|
- μ€ν κ°λ₯ν λΌλ²¨μ΄ μμΌλ©΄ `μ ν κ°λ₯: μμ` + `npx lee-spec-kit context` μ¬νμΈμ μλ΄ν©λλ€.
|
|
@@ -82,9 +82,16 @@ main
|
|
|
82
82
|
### λΈλμΉ μμ±
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
|
|
85
|
+
# κΈ°λ³Έ(κΆμ₯): μ μ© worktree + λΈλμΉ μμ±
|
|
86
|
+
mkdir -p .worktrees
|
|
87
|
+
git worktree add -b feat/{issue-number}-{feature-name} .worktrees/feat-{issue-number}-{feature-name}
|
|
88
|
+
|
|
89
|
+
# μ΄λ―Έ λΈλμΉκ° μ‘΄μ¬νλ©΄ worktreeλ§ μ°κ²°
|
|
90
|
+
git worktree add .worktrees/feat-{issue-number}-{feature-name} feat/{issue-number}-{feature-name}
|
|
86
91
|
```
|
|
87
92
|
|
|
93
|
+
> μ΄ν μμ
μ μμ±λ worktree κ²½λ‘(`.worktrees/feat-{issue-number}-{feature-name}`)μμ μ§ννμΈμ.
|
|
94
|
+
|
|
88
95
|
### λ¬Έμ μ»€λ° κ·μΉ (Continuous Sync)
|
|
89
96
|
|
|
90
97
|
> π **Project μ½λ λ³κ²½ μ Docs λκΈ°νλ νμμ
λλ€.**
|
|
@@ -22,12 +22,8 @@
|
|
|
22
22
|
- [ ] (κ²μ¦ κ°λ₯ν μλ£ κΈ°μ€ 1)
|
|
23
23
|
- [ ] (κ²μ¦ κ°λ₯ν μλ£ κΈ°μ€ 2)
|
|
24
24
|
|
|
25
|
-
## μ μΈ λ²μ
|
|
26
|
-
|
|
27
|
-
- (μ΄λ² μ΄μμμ λ€λ£¨μ§ μλ λ΄μ©)
|
|
28
|
-
|
|
29
25
|
## κ΄λ ¨ λ¬Έμ
|
|
30
26
|
|
|
31
|
-
- Spec:
|
|
32
|
-
- Plan:
|
|
33
|
-
- Tasks:
|
|
27
|
+
- Spec: `docs/.../spec.md`
|
|
28
|
+
- Plan: `docs/.../plan.md`
|
|
29
|
+
- Tasks: `docs/.../tasks.md`
|