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
|
@@ -85,14 +85,29 @@ main
|
|
|
85
85
|
git checkout -b feat/{issue-number}-{feature-name}
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
### Document Commit
|
|
88
|
+
### Document Commit Rules (Continuous Sync)
|
|
89
89
|
|
|
90
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
### λ¬Έμ 컀λ°
|
|
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
|
-
|
|
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
|
---
|