lee-spec-kit 0.6.8 β†’ 0.6.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lee-spec-kit",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "description": "Project documentation structure generator for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -51,6 +51,18 @@ Reply format: "<LABEL>" or "<LABEL> OK"
51
51
 
52
52
  ---
53
53
 
54
+ ## πŸ“š Built-in Docs Read Policy (MUST)
55
+
56
+ - Use `docs get` once per session start (or right after context compression/reset).
57
+ - Do not re-read the same doc again in the same session.
58
+ - From `requiredDocs[*].command`, fetch only docs not yet read in this session.
59
+ - You may re-read only when:
60
+ - user explicitly asks for policy refresh
61
+ - policy/config changed (for example after `update`)
62
+ - session restarted or context was compressed/reset
63
+
64
+ ---
65
+
54
66
  ## Required References
55
67
 
56
68
  - Highest-priority custom rules: `/docs/agents/custom.md`
@@ -70,7 +70,7 @@ main
70
70
 
71
71
  ## Automation Workflow
72
72
 
73
- > πŸ“– Read each step guide first with `docs get`.
73
+ > πŸ“– Read step guides via `docs get`, but do not re-read the same doc in the same session. (Re-read only after session/compression reset, policy/config changes, or explicit user refresh request.)
74
74
 
75
75
  | Workflow | Guide |
76
76
  | -------------- | -------------------------------------------------- |
@@ -58,8 +58,8 @@ In GitHub Issues, use different link formats **based on file location**:
58
58
  > Format: `- **{Label}**: \`{path}\``
59
59
 
60
60
  ```markdown
61
- - **Spec**: `docs/features/{be|fe}/F001-feature-name/spec.md`
62
- - **Tasks**: `docs/features/{be|fe}/F001-feature-name/tasks.md`
61
+ - **Spec**: `docs/features/{component}/F001-feature-name/spec.md`
62
+ - **Tasks**: `docs/features/{component}/F001-feature-name/tasks.md`
63
63
  ```
64
64
 
65
65
  > ⚠️ Local documents are not clickable on GitHub, so use **bold label + code block path** format instead of markdown links.
@@ -85,7 +85,7 @@ In GitHub Issues, use different link formats **based on file location**:
85
85
 
86
86
  ## Related Documents
87
87
 
88
- - **Spec**: `docs/features/{be|fe}/F{number}-{feature-name}/spec.md`
88
+ - **Spec**: `docs/features/{component}/F{number}-{feature-name}/spec.md`
89
89
 
90
90
  ## Labels
91
91
 
@@ -15,10 +15,10 @@ Guide for creating GitHub Issues.
15
15
 
16
16
  ### 1. Prepare Issue Draft
17
17
 
18
- > πŸ“– **Read procedure/template via `docs get` first, then generate a draft and treat it as the source of truth.**
18
+ > πŸ“– **If not read in this session, read procedure/template via `docs get`; do not re-read the same doc in the same session, then generate a draft and treat it as the source of truth.**
19
19
 
20
20
  ```bash
21
- # 1) Read procedure + template policy
21
+ # 1) Read procedure + template policy (only docs not read in this session)
22
22
  npx lee-spec-kit docs get create-issue --json
23
23
  npx lee-spec-kit docs get issue-template --json
24
24
 
@@ -17,10 +17,10 @@ Guide for creating Pull Requests.
17
17
 
18
18
  ### 1. Prepare PR Body Template
19
19
 
20
- > πŸ“– **Read procedure/template via `docs get` first, then generate a body template and treat it as the source of truth.**
20
+ > πŸ“– **If not read in this session, read procedure/template via `docs get`; do not re-read the same doc in the same session, then generate a body template and treat it as the source of truth.**
21
21
 
22
22
  ```bash
23
- # 1) Read procedure + template policy
23
+ # 1) Read procedure + template policy (only docs not read in this session)
24
24
  npx lee-spec-kit docs get create-pr --json
25
25
  npx lee-spec-kit docs get pr-template --json
26
26
 
@@ -27,7 +27,7 @@ features/
27
27
  npx lee-spec-kit feature user-auth
28
28
 
29
29
  # Multi project
30
- npx lee-spec-kit feature --component fe user-profile
30
+ npx lee-spec-kit feature --component app user-profile
31
31
  ```
32
32
 
33
33
  > πŸ’‘ CLI copies templates from `feature-base/` and auto-assigns IDs.
@@ -7,7 +7,7 @@
7
7
  ## Overview
8
8
 
9
9
  - **Feature ID**: F{number}
10
- - **Target Repo**: {{projectName}}-{be|fe}
10
+ - **Target Repo**: {{projectName}}-{component}
11
11
  - **Created**: {YYYY-MM-DD}
12
12
  - **Status**: Review | Approved
13
13
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  - **Feature ID**: F{number}
10
10
  - **Feature Name**: {feature-name}
11
- - **Target Repo**: {{projectName}}-{be|fe}
11
+ - **Target Repo**: {{projectName}}-{component}
12
12
  - **Issue Number**: #{issue-number}
13
13
  - **Created**: {YYYY-MM-DD}
14
14
  - **Status**: Review | Approved
@@ -13,7 +13,7 @@
13
13
  ## GitHub Issue
14
14
 
15
15
  - **Doc Status**: Review | Approved
16
- - **Repo**: {{projectName}}-{be|fe}
16
+ - **Repo**: {{projectName}}-{component}
17
17
  - **Issue**: #{issue-number}
18
18
  - **Branch**: `feat/{issue-number}-{feature-name}`
19
19
  - **PR**: -
@@ -14,7 +14,7 @@ Core rule: once an idea becomes a Feature, the SSOT moves to `docs/features/`.
14
14
  - Put at least these at the top:
15
15
  - Goal / context
16
16
  - Rough scope (what’s in/out)
17
- - Target repo (optional): `be` / `fe` / `both`
17
+ - Target component (optional): `api` / `app` / `worker` / `all`
18
18
 
19
19
  ---
20
20
 
@@ -51,6 +51,18 @@ B: <detail>
51
51
 
52
52
  ---
53
53
 
54
+ ## πŸ“š λ‚΄μž₯ λ¬Έμ„œ 쑰회 κ·œμΉ™ (MUST)
55
+
56
+ - `docs get`은 μ„Έμ…˜ μ‹œμž‘(λ˜λŠ” context μ••μΆ•/리셋 직후) κΈ°μ€€μœΌλ‘œ 1회 ν™•μΈν•©λ‹ˆλ‹€.
57
+ - 같은 μ„Έμ…˜μ—μ„œ 이미 읽은 동일 λ¬Έμ„œλŠ” λ‹€μ‹œ 읽지 μ•ŠμŠ΅λ‹ˆλ‹€.
58
+ - ν˜„μž¬ μ•‘μ…˜μ˜ `requiredDocs[*].command` 쀑 이번 μ„Έμ…˜μ— 아직 읽지 μ•Šμ€ λ¬Έμ„œλ§Œ μΆ”κ°€ μ‘°νšŒν•©λ‹ˆλ‹€.
59
+ - μ•„λž˜ κ²½μš°μ—λŠ” μ˜ˆμ™Έμ μœΌλ‘œ μž¬μ‘°νšŒν•  수 μžˆμŠ΅λ‹ˆλ‹€:
60
+ - μ‚¬μš©μžκ°€ μ •μ±… μƒˆλ‘œκ³ μΉ¨μ„ μš”μ²­ν•œ 경우
61
+ - `update` μ‹€ν–‰ λ“±μœΌλ‘œ μ •μ±…/섀정이 λ³€κ²½λœ 경우
62
+ - μ„Έμ…˜μ΄ μƒˆλ‘œ μ‹œμž‘λ˜μ—ˆκ±°λ‚˜ context μ••μΆ•/리셋이 λ°œμƒν•œ 경우
63
+
64
+ ---
65
+
54
66
  ## ν•„μˆ˜ μ°Έμ‘°
55
67
 
56
68
  - μ΅œμš°μ„  κ·œμΉ™: `/docs/agents/custom.md`
@@ -70,7 +70,7 @@ main
70
70
 
71
71
  ## μžλ™ν™” μ›Œν¬ν”Œλ‘œμš°
72
72
 
73
- > πŸ“– 단계별 상세 κ°€μ΄λ“œλŠ” `docs get` λͺ…λ ΉμœΌλ‘œ λ¨Όμ € ν™•μΈν•˜μ„Έμš”.
73
+ > πŸ“– 단계별 상세 κ°€μ΄λ“œλŠ” `docs get`으둜 ν™•μΈν•˜λ˜, 같은 μ„Έμ…˜μ—μ„œ 이미 읽은 동일 λ¬Έμ„œλŠ” λ‹€μ‹œ ν˜ΈμΆœν•˜μ§€ λ§ˆμ„Έμš”. (μ„Έμ…˜ μ‹œμž‘/μ••μΆ• ν›„, μ •μ±…Β·μ„€μ • λ³€κ²½, μ‚¬μš©μž μƒˆλ‘œκ³ μΉ¨ μš”μ²­ μ‹œμ—λ§Œ 재쑰회)
74
74
 
75
75
  | μ›Œν¬ν”Œλ‘œμš° | κ°€μ΄λ“œ |
76
76
  | ------------ | -------------------------------------------------- |
@@ -42,8 +42,8 @@ GitHub Issueμ—μ„œ λ§ν¬λŠ” **파일 μœ„μΉ˜μ— 따라** λ‹€λ₯΄κ²Œ μž‘μ„±:
42
42
  > ν˜•μ‹: `- **{λ ˆμ΄λΈ”}**: \`{경둜}\``
43
43
 
44
44
  ```markdown
45
- - **Spec**: `docs/features/{be|fe}/F001-feature-name/spec.md`
46
- - **Tasks**: `docs/features/{be|fe}/F001-feature-name/tasks.md`
45
+ - **Spec**: `docs/features/{component}/F001-feature-name/spec.md`
46
+ - **Tasks**: `docs/features/{component}/F001-feature-name/tasks.md`
47
47
  ```
48
48
 
49
49
  > ⚠️ 둜컬 λ¬Έμ„œλŠ” GitHubμ—μ„œ ν΄λ¦­λ˜μ§€ μ•ŠμœΌλ―€λ‘œ, λ§ˆν¬λ‹€μš΄ 링크 λŒ€μ‹  **λ³Όλ“œ λ ˆμ΄λΈ” + μ½”λ“œλΈ”λ‘ 경둜** ν˜•μ‹μ„ μ‚¬μš©ν•©λ‹ˆλ‹€.
@@ -69,7 +69,7 @@ GitHub Issueμ—μ„œ λ§ν¬λŠ” **파일 μœ„μΉ˜μ— 따라** λ‹€λ₯΄κ²Œ μž‘μ„±:
69
69
 
70
70
  ## κ΄€λ ¨ λ¬Έμ„œ
71
71
 
72
- - **Spec**: `docs/features/{be|fe}/F{번호}-{κΈ°λŠ₯λͺ…}/spec.md`
72
+ - **Spec**: `docs/features/{component}/F{번호}-{κΈ°λŠ₯λͺ…}/spec.md`
73
73
 
74
74
  ## 라벨
75
75
 
@@ -15,10 +15,10 @@ GitHub Issueλ₯Ό 생성할 λ•Œ λ”°λ₯΄λŠ” κ°€μ΄λ“œμž…λ‹ˆλ‹€.
15
15
 
16
16
  ### 1. 이슈 μ΄ˆμ•ˆ μž‘μ„±
17
17
 
18
- > πŸ“– **λ¨Όμ € `docs get`으둜 절차/ν…œν”Œλ¦Ώμ„ 읽고, μ΄ˆμ•ˆμ„ 생성해 κΈ°μ€€μœΌλ‘œ μ‚¬μš©ν•˜μ„Έμš”.**
18
+ > πŸ“– **이번 μ„Έμ…˜μ— 아직 읽지 μ•Šμ•˜λ‹€λ©΄ `docs get`으둜 절차/ν…œν”Œλ¦Ώμ„ 읽고, 이미 읽은 동일 λ¬Έμ„œλŠ” μž¬ν˜ΈμΆœν•˜μ§€ μ•Šμ€ 채 μ΄ˆμ•ˆμ„ 생성해 κΈ°μ€€μœΌλ‘œ μ‚¬μš©ν•˜μ„Έμš”.**
19
19
 
20
20
  ```bash
21
- # 1) 절차/ν…œν”Œλ¦Ώ μ •μ±… 확인
21
+ # 1) 절차/ν…œν”Œλ¦Ώ μ •μ±… 확인 (이번 μ„Έμ…˜ 미확인 λ¬Έμ„œλ§Œ)
22
22
  npx lee-spec-kit docs get create-issue --json
23
23
  npx lee-spec-kit docs get issue-template --json
24
24
 
@@ -17,10 +17,10 @@ Pull Requestλ₯Ό 생성할 λ•Œ λ”°λ₯΄λŠ” κ°€μ΄λ“œμž…λ‹ˆλ‹€.
17
17
 
18
18
  ### 1. PR λ³Έλ¬Έ ν…œν”Œλ¦Ώ μ€€λΉ„
19
19
 
20
- > πŸ“– **λ¨Όμ € `docs get`으둜 절차/ν…œν”Œλ¦Ώμ„ 읽고, λ³Έλ¬Έ ν…œν”Œλ¦Ώμ„ 생성해 κΈ°μ€€μœΌλ‘œ μ‚¬μš©ν•˜μ„Έμš”.**
20
+ > πŸ“– **이번 μ„Έμ…˜μ— 아직 읽지 μ•Šμ•˜λ‹€λ©΄ `docs get`으둜 절차/ν…œν”Œλ¦Ώμ„ 읽고, 이미 읽은 동일 λ¬Έμ„œλŠ” μž¬ν˜ΈμΆœν•˜μ§€ μ•Šμ€ 채 λ³Έλ¬Έ ν…œν”Œλ¦Ώμ„ 생성해 κΈ°μ€€μœΌλ‘œ μ‚¬μš©ν•˜μ„Έμš”.**
21
21
 
22
22
  ```bash
23
- # 1) 절차/ν…œν”Œλ¦Ώ μ •μ±… 확인
23
+ # 1) 절차/ν…œν”Œλ¦Ώ μ •μ±… 확인 (이번 μ„Έμ…˜ 미확인 λ¬Έμ„œλ§Œ)
24
24
  npx lee-spec-kit docs get create-pr --json
25
25
  npx lee-spec-kit docs get pr-template --json
26
26
 
@@ -27,7 +27,7 @@ features/
27
27
  npx lee-spec-kit feature user-auth
28
28
 
29
29
  # Multi ν”„λ‘œμ νŠΈ
30
- npx lee-spec-kit feature --component fe user-profile
30
+ npx lee-spec-kit feature --component app user-profile
31
31
  ```
32
32
 
33
33
  > πŸ’‘ CLIλŠ” `feature-base/`μ—μ„œ ν…œν”Œλ¦Ώμ„ λ³΅μ‚¬ν•˜κ³  IDλ₯Ό μžλ™ μ±„λ²ˆν•©λ‹ˆλ‹€.
@@ -7,7 +7,7 @@
7
7
  ## κ°œμš”
8
8
 
9
9
  - **κΈ°λŠ₯ ID**: F{번호}
10
- - **λŒ€μƒ 레포**: {{projectName}}-{be|fe}
10
+ - **λŒ€μƒ 레포**: {{projectName}}-{component}
11
11
  - **μž‘μ„±μΌ**: {YYYY-MM-DD}
12
12
  - **μƒνƒœ**: Review | Approved
13
13
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  - **κΈ°λŠ₯ ID**: F{번호}
10
10
  - **κΈ°λŠ₯λͺ…**: {κΈ°λŠ₯λͺ…}
11
- - **λŒ€μƒ 레포**: {{projectName}}-{be|fe}
11
+ - **λŒ€μƒ 레포**: {{projectName}}-{component}
12
12
  - **이슈 번호**: #{이슈번호}
13
13
  - **μž‘μ„±μΌ**: {YYYY-MM-DD}
14
14
  - **μƒνƒœ**: Review | Approved
@@ -13,7 +13,7 @@
13
13
  ## GitHub Issue
14
14
 
15
15
  - **λ¬Έμ„œ μƒνƒœ**: Review | Approved
16
- - **레포**: {{projectName}}-{be|fe}
16
+ - **레포**: {{projectName}}-{component}
17
17
  - **Issue**: #{이슈번호}
18
18
  - **브랜치**: `feat/{이슈번호}-{κΈ°λŠ₯λͺ…}`
19
19
  - **PR**: -
@@ -14,7 +14,7 @@ Feature둜 λ°œμ „ν•˜κΈ° μ „μ˜ 아이디어 / To-do / μ‹€ν—˜ 기둝을 λͺ¨μ•„두
14
14
  - 상단에 μ΅œμ†Œν•œ μ•„λž˜ 메타 정보λ₯Ό λ‘‘λ‹ˆλ‹€:
15
15
  - λͺ©μ /λ°°κ²½
16
16
  - λŒ€λž΅ λ²”μœ„(뭘 ν• μ§€/μ•ˆ ν• μ§€)
17
- - λŒ€μƒ 레포(ν•„μš” μ‹œ): `be` / `fe` / `both`
17
+ - λŒ€μƒ μ»΄ν¬λ„ŒνŠΈ(ν•„μš” μ‹œ): `api` / `app` / `worker` / `all`
18
18
 
19
19
  ---
20
20