lee-spec-kit 0.2.1 β†’ 0.2.2

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.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Project documentation structure generator for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -85,14 +85,29 @@ main
85
85
  git checkout -b feat/{issue-number}-{feature-name}
86
86
  ```
87
87
 
88
- ### Document Commit Timing (docs repo)
88
+ ### Document Commit Rules (Continuous Sync)
89
89
 
90
- | Commit Timing | Included Content | Commit Message Example |
91
- | ------------------------------------------------- | ----------------------------------- | --------------------------------------------- |
92
- | When planning complete (spec+plan+tasks approved) | `F{number}-{feature-name}/` folder | `docs(#{issue}): F{number} spec, plan, tasks` |
93
- | When Feature complete (all tasks done) | `F{number}-{feature-name}/` changes | `docs(#{issue}): F{number} Feature complete` |
90
+ > πŸ”„ **Docs synchronization is mandatory when Project code changes.**
94
91
 
95
- > ⚠️ Do not commit when creating Feature folder.
92
+ | Situation | Rule |
93
+ | ------------------------- | --------------------------------------------------------------------- |
94
+ | **Project + Docs Change** | Must commit Docs **together with Project commit** (Maintain Sync) |
95
+ | **Docs Only Change** | If only docs changed (e.g., `custom.md` update), **commit Docs only** |
96
+
97
+ #### Standalone Mode Commit Guide
98
+
99
+ 1. **Project Commit** (If code changed)
100
+
101
+ ```bash
102
+ git commit -m "feat(#123): implement feature"
103
+ ```
104
+
105
+ 2. **Docs Commit** (If docs changed - **Run in Docs Repo**)
106
+ ```bash
107
+ git commit -m "docs(#123): update feature docs"
108
+ ```
109
+
110
+ > πŸ’‘ **Core Rule**: At task completion, **all changed repositories** must be committed.
96
111
 
97
112
  ### Merge Strategy
98
113
 
@@ -27,18 +27,24 @@ Share execution plan with user before starting and wait for approval
27
27
 
28
28
  Record date (YYYY-MM-DD) with each status change
29
29
 
30
- ### 4. Commit After Task Completion
30
+ ### 4. Commit After Task Completion (Docs Sync)
31
31
 
32
32
  > 🚨 **User Approval Required**
33
33
 
34
34
  Before committing, share and wait for approval:
35
35
 
36
- - Commit message
36
+ - Commit message (Applicable repositories)
37
37
  - Files to be included
38
38
 
39
39
  ```bash
40
+ # 1. Project Commit (If code changed)
40
41
  git add .
41
- git commit -m "{type}(#{issue-number}): {task description}"
42
+ git commit -m "{type}(#{issue}): {task description}"
43
+
44
+ # 2. Docs Commit (If docs changed)
45
+ # For Standalone mode, move to docs repo
46
+ git add .
47
+ git commit -m "docs(#{issue}): {task description} update docs"
42
48
  ```
43
49
 
44
50
  ---
@@ -85,14 +85,29 @@ main
85
85
  git checkout -b feat/{issue-number}-{feature-name}
86
86
  ```
87
87
 
88
- ### λ¬Έμ„œ 컀밋 μ‹œμ  (docs 레포)
88
+ ### λ¬Έμ„œ 컀밋 κ·œμΉ™ (Continuous Sync)
89
89
 
90
- | 컀밋 μ‹œμ  | 포함 λ‚΄μš© | 컀밋 λ©”μ‹œμ§€ μ˜ˆμ‹œ |
91
- | -------------------------------------- | ---------------------------------- | ---------------------------------------------- |
92
- | κ³„νš μ™„λ£Œ μ‹œ (spec+plan+tasks 승인 ν›„) | `F{번호}-{κΈ°λŠ₯λͺ…}/` 폴더 전체 | `docs(#{이슈번호}): F{번호} spec, plan, tasks` |
93
- | Feature μ™„λ£Œ μ‹œ (λͺ¨λ“  νƒœμŠ€ν¬ μ™„λ£Œ ν›„) | `F{번호}-{κΈ°λŠ₯λͺ…}/` 폴더 λ³€κ²½ 사항 | `docs(#{이슈번호}): F{번호} Feature μ™„λ£Œ` |
90
+ > πŸ”„ **Project μ½”λ“œ λ³€κ²½ μ‹œ Docs λ™κΈ°ν™”λŠ” ν•„μˆ˜μž…λ‹ˆλ‹€.**
94
91
 
95
- > ⚠️ Feature 폴더 생성 μ‹œμ μ—λŠ” μ»€λ°‹ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
92
+ | 상황 | κ·œμΉ™ |
93
+ | ----------------------- | -------------------------------------------------------- |
94
+ | **Project + Docs λ³€κ²½** | ν”„λ‘œμ νŠΈ 컀밋 μ‹œ Docs도 **λ°˜λ“œμ‹œ ν•¨κ»˜ 컀밋** (Sync μœ μ§€) |
95
+ | **Docs만 λ³€κ²½** | `custom.md` μˆ˜μ • λ“± λ¬Έμ„œλ§Œ λ³€κ²½λœ 경우 **Docs만 컀밋** |
96
+
97
+ #### Standalone λͺ¨λ“œ 컀밋 κ°€μ΄λ“œ
98
+
99
+ 1. **Project 컀밋** (μ½”λ“œ 변경사항이 μžˆλŠ” 경우)
100
+
101
+ ```bash
102
+ git commit -m "feat(#123): κΈ°λŠ₯ κ΅¬ν˜„"
103
+ ```
104
+
105
+ 2. **Docs 컀밋** (λ¬Έμ„œ 변경사항이 μžˆλŠ” 경우 - **Docs λ ˆν¬μ—μ„œ μ‹€ν–‰**)
106
+ ```bash
107
+ git commit -m "docs(#123): κΈ°λŠ₯ κ΅¬ν˜„ λ¬Έμ„œ μ—…λ°μ΄νŠΈ"
108
+ ```
109
+
110
+ > πŸ’‘ **Core Rule**: νƒœμŠ€ν¬ μ™„λ£Œ μ‹œμ μ—λŠ” **λ³€κ²½λœ λͺ¨λ“  λ ˆν¬μ§€ν† λ¦¬**κ°€ μ»€λ°‹λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.
96
111
 
97
112
  ### λ¨Έμ§€ μ „λž΅
98
113
 
@@ -27,18 +27,24 @@ tasks.md의 νƒœμŠ€ν¬λ₯Ό μ‹€ν–‰ν•  λ•Œ λ”°λ₯΄λŠ” κ°€μ΄λ“œμž…λ‹ˆλ‹€.
27
27
 
28
28
  μƒνƒœ μ „ν™˜ μ‹œ λ‚ μ§œλ„ ν•¨κ»˜ 기둝 (YYYY-MM-DD)
29
29
 
30
- ### 4. νƒœμŠ€ν¬ μ™„λ£Œ ν›„ 컀밋
30
+ ### 4. νƒœμŠ€ν¬ μ™„λ£Œ ν›„ 컀밋 (Docs Sync)
31
31
 
32
32
  > 🚨 **μ‚¬μš©μž 확인 ν•„μˆ˜**
33
33
 
34
34
  컀밋 생성 μ „ λ‹€μŒ λ‚΄μš©μ„ κ³΅μœ ν•˜κ³  승인 λŒ€κΈ°:
35
35
 
36
- - 컀밋 λ©”μ‹œμ§€
36
+ - 컀밋 λ©”μ‹œμ§€ (ν•΄λ‹Ήλ˜λŠ” λ ˆν¬μ§€ν† λ¦¬)
37
37
  - 포함될 파일 λͺ©λ‘
38
38
 
39
39
  ```bash
40
+ # 1. Project 컀밋 (μ½”λ“œ 변경사항이 μžˆλŠ” 경우)
40
41
  git add .
41
42
  git commit -m "{type}(#{이슈번호}): {νƒœμŠ€ν¬ μ„€λͺ…}"
43
+
44
+ # 2. Docs 컀밋 (Docs 변경사항이 μžˆλŠ” 경우)
45
+ # Standalone λͺ¨λ“œμΈ 경우 Docs 레포둜 μ΄λ™ν•˜μ—¬ μ‹€ν–‰
46
+ git add .
47
+ git commit -m "docs(#{이슈번호}): {νƒœμŠ€ν¬ μ„€λͺ…} λ¬Έμ„œ μ—…λ°μ΄νŠΈ"
42
48
  ```
43
49
 
44
50
  ---