lee-spec-kit 0.6.2 β 0.6.4
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 +25 -0
- package/README.md +25 -0
- package/dist/index.js +1935 -853
- package/package.json +1 -1
- package/templates/en/common/agents/git-workflow.md +8 -8
- package/templates/en/common/agents/pr-template.md +1 -1
- package/templates/en/common/agents/skills/create-issue.md +13 -5
- package/templates/en/common/agents/skills/create-pr.md +16 -5
- package/templates/en/fullstack/README.md +2 -2
- package/templates/en/fullstack/agents/agents.md +13 -11
- package/templates/en/single/README.md +2 -2
- package/templates/en/single/agents/agents.md +13 -11
- package/templates/ko/common/agents/git-workflow.md +8 -8
- package/templates/ko/common/agents/pr-template.md +1 -1
- package/templates/ko/common/agents/skills/create-issue.md +13 -5
- package/templates/ko/common/agents/skills/create-pr.md +16 -5
- package/templates/ko/fullstack/README.md +2 -2
- package/templates/ko/fullstack/agents/agents.md +13 -11
- package/templates/ko/single/README.md +2 -2
- package/templates/ko/single/agents/agents.md +13 -11
package/package.json
CHANGED
|
@@ -70,14 +70,14 @@ main
|
|
|
70
70
|
|
|
71
71
|
## Automation Workflow
|
|
72
72
|
|
|
73
|
-
> π
|
|
74
|
-
|
|
75
|
-
| Workflow | Guide
|
|
76
|
-
| -------------- |
|
|
77
|
-
| Feature Start |
|
|
78
|
-
| Issue Creation |
|
|
79
|
-
| Task Execution |
|
|
80
|
-
| PR Creation |
|
|
73
|
+
> π Read each step guide first with `docs get`.
|
|
74
|
+
|
|
75
|
+
| Workflow | Guide |
|
|
76
|
+
| -------------- | -------------------------------------------------- |
|
|
77
|
+
| Feature Start | `npx lee-spec-kit docs get create-feature --json` |
|
|
78
|
+
| Issue Creation | `npx lee-spec-kit docs get create-issue --json` |
|
|
79
|
+
| Task Execution | `npx lee-spec-kit docs get execute-task --json` |
|
|
80
|
+
| PR Creation | `npx lee-spec-kit docs get create-pr --json` |
|
|
81
81
|
|
|
82
82
|
### Branch Creation
|
|
83
83
|
|
|
@@ -65,7 +65,7 @@ For file links within the repo in PR body, **always use current branch name**:
|
|
|
65
65
|
## Screenshots (Frontend / UI changes)
|
|
66
66
|
|
|
67
67
|
<!-- If there are no UI changes, or if screenshot upload is disabled (e.g. `.lee-spec-kit.json` has `pr.screenshots.upload: false`), remove this section. -->
|
|
68
|
-
> If you follow the Release assets upload flow in
|
|
68
|
+
> If you follow the Release assets upload flow in `npx lee-spec-kit docs get create-pr --json`, you can include images in the PR body without committing files to your branch.
|
|
69
69
|
|
|
70
70
|
{Screenshot markdown (e.g. )}
|
|
71
71
|
|
|
@@ -15,14 +15,20 @@ Guide for creating GitHub Issues.
|
|
|
15
15
|
|
|
16
16
|
### 1. Prepare Issue Draft
|
|
17
17
|
|
|
18
|
-
> π **
|
|
18
|
+
> π **Read procedure/template via `docs get` first, then generate a draft and treat it as the source of truth.**
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
#
|
|
21
|
+
# 1) Read procedure + template policy
|
|
22
|
+
npx lee-spec-kit docs get create-issue --json
|
|
23
|
+
npx lee-spec-kit docs get issue-template --json
|
|
24
|
+
|
|
25
|
+
# 2) Generate draft body (no remote action)
|
|
22
26
|
npx lee-spec-kit github issue F001 --json
|
|
23
27
|
```
|
|
24
28
|
|
|
25
|
-
Use
|
|
29
|
+
Use `docs get issue-template --json` output as the section policy,
|
|
30
|
+
and `github issue --json` output `body` as the first draft to review/share.
|
|
31
|
+
If needed, use `bodyFile` as the filesystem source.
|
|
26
32
|
|
|
27
33
|
| Item | Format |
|
|
28
34
|
| -------- | ------------------------------------------- |
|
|
@@ -38,9 +44,11 @@ Use the generated `bodyFile` in JSON output as the draft body to review/share.
|
|
|
38
44
|
Before creating issue, share and wait for explicit approval (OK):
|
|
39
45
|
|
|
40
46
|
- Title
|
|
41
|
-
- Full body draft (from `
|
|
47
|
+
- Full body draft (from `body`)
|
|
42
48
|
- Labels
|
|
43
49
|
|
|
50
|
+
Also refine Goals/Completion Criteria based on spec before creating.
|
|
51
|
+
|
|
44
52
|
### 3. Create Issue
|
|
45
53
|
|
|
46
54
|
```bash
|
|
@@ -58,5 +66,5 @@ npx lee-spec-kit github issue F001 --create --confirm OK --labels enhancement
|
|
|
58
66
|
|
|
59
67
|
## Reference Documents
|
|
60
68
|
|
|
61
|
-
- **Draft generator
|
|
69
|
+
- **Draft generator**: `npx lee-spec-kit github issue <feature-name>`
|
|
62
70
|
- **Approval rule**: share title/body/labels first, then run `--create --confirm OK`
|
|
@@ -17,14 +17,23 @@ Guide for creating Pull Requests.
|
|
|
17
17
|
|
|
18
18
|
### 1. Prepare PR Draft
|
|
19
19
|
|
|
20
|
-
> π **
|
|
20
|
+
> π **Read procedure/template via `docs get` first, then generate a draft and treat it as the source of truth.**
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
#
|
|
23
|
+
# 1) Read procedure + template policy
|
|
24
|
+
npx lee-spec-kit docs get create-pr --json
|
|
25
|
+
npx lee-spec-kit docs get pr-template --json
|
|
26
|
+
|
|
27
|
+
# 2) Generate draft body (no remote action)
|
|
24
28
|
npx lee-spec-kit github pr F001 --json
|
|
29
|
+
# - Force screenshots section: --screenshots on
|
|
30
|
+
# - Force Mermaid section: --mermaid on
|
|
31
|
+
# - Auto policy (default): --screenshots auto --mermaid auto
|
|
25
32
|
```
|
|
26
33
|
|
|
27
|
-
Use
|
|
34
|
+
Use `docs get pr-template --json` output as the section policy,
|
|
35
|
+
and `github pr --json` output `body` as the first PR draft body.
|
|
36
|
+
If needed, use `bodyFile` as the filesystem source.
|
|
28
37
|
|
|
29
38
|
| Item | Format |
|
|
30
39
|
| -------- | ---------------------------------- |
|
|
@@ -122,9 +131,11 @@ echo \"\"
|
|
|
122
131
|
Before creating PR, share the following **in a code block** and wait for **explicit approval (OK)**:
|
|
123
132
|
|
|
124
133
|
- Title
|
|
125
|
-
- Full body draft (from `
|
|
134
|
+
- Full body draft (from `body`)
|
|
126
135
|
- Labels (at least 1; cannot be empty)
|
|
127
136
|
|
|
137
|
+
Before approval/create, refine the generated draft's Changes/Tests sections based on actual work.
|
|
138
|
+
|
|
128
139
|
### 5. Create PR
|
|
129
140
|
|
|
130
141
|
```bash
|
|
@@ -178,5 +189,5 @@ Use **current branch name** for file links in PR body:
|
|
|
178
189
|
|
|
179
190
|
## Reference Documents
|
|
180
191
|
|
|
181
|
-
- **Draft generator
|
|
192
|
+
- **Draft generator**: `npx lee-spec-kit github pr <feature-name>`
|
|
182
193
|
- **Approval rule**: share title/body/labels first, then run `--create --confirm OK`
|
|
@@ -6,7 +6,7 @@ This documentation is organized by feature to help agents quickly understand the
|
|
|
6
6
|
|
|
7
7
|
| Path | Purpose | Key Documents |
|
|
8
8
|
| ------------------- | --------------------- | ------------------------------------------------------------- |
|
|
9
|
-
| `docs/agents/` | Agent operating rules | `custom.md`, `constitution.md` (engine-managed guides are
|
|
9
|
+
| `docs/agents/` | Agent operating rules | `custom.md`, `constitution.md` (engine-managed guides are fetched via `npx lee-spec-kit docs get <doc-id> --json`) |
|
|
10
10
|
| `docs/prd/` | Product requirements | Project-specific |
|
|
11
11
|
| `docs/designs/` | Design references | `README.md` (links/guidelines/references) |
|
|
12
12
|
| `docs/ideas/` | Ideas / to-dos | `README.md` (Idea β Feature promotion rules) |
|
|
@@ -20,7 +20,7 @@ This documentation is organized by feature to help agents quickly understand the
|
|
|
20
20
|
When you run `lee-spec-kit init`, it creates `.lee-spec-kit.json` in the docs root (default: `docs/`).
|
|
21
21
|
|
|
22
22
|
- Used by `lee-spec-kit feature`, `status`, and `update` to detect docs location / project type / language.
|
|
23
|
-
- `docsRepo`, `pushDocs`, `docsRemote` are metadata for the CLI
|
|
23
|
+
- `docsRepo`, `pushDocs`, `docsRemote` are metadata for the CLI-managed **Docs Push policy** (the CLI does not auto-push).
|
|
24
24
|
|
|
25
25
|
### Fields
|
|
26
26
|
|
|
@@ -40,9 +40,10 @@ Operating rules for AI code assistants to perform consistent code generation and
|
|
|
40
40
|
|
|
41
41
|
- **π΄ Custom Rules (Highest Priority)**: `/docs/agents/custom.md`
|
|
42
42
|
- **Project Principles**: `/docs/agents/constitution.md`
|
|
43
|
-
- **
|
|
44
|
-
- **
|
|
45
|
-
- **
|
|
43
|
+
- **Agent Root Guide**: `npx lee-spec-kit docs get agents --json`
|
|
44
|
+
- **Git Workflow**: `npx lee-spec-kit docs get git-workflow --json`
|
|
45
|
+
- **Issue Procedure/Template**: `npx lee-spec-kit docs get create-issue --json` β `npx lee-spec-kit docs get issue-template --json`
|
|
46
|
+
- **PR Procedure/Template**: `npx lee-spec-kit docs get create-pr --json` β `npx lee-spec-kit docs get pr-template --json`
|
|
46
47
|
|
|
47
48
|
### PRD
|
|
48
49
|
|
|
@@ -52,7 +53,7 @@ Operating rules for AI code assistants to perform consistent code generation and
|
|
|
52
53
|
|
|
53
54
|
- **BE Features**: `/docs/features/be/{feature-id}/`
|
|
54
55
|
- **FE Features**: `/docs/features/fe/{feature-id}/`
|
|
55
|
-
- **Template (SSOT)**:
|
|
56
|
+
- **Template (SSOT)**: docs generated via `npx lee-spec-kit feature <name>`
|
|
56
57
|
|
|
57
58
|
---
|
|
58
59
|
|
|
@@ -65,8 +66,9 @@ docs/
|
|
|
65
66
|
β βββ custom.md # Project-specific custom rules
|
|
66
67
|
β βββ constitution.md # Project principles
|
|
67
68
|
β
|
|
68
|
-
β # Engine-managed policy guides are
|
|
69
|
-
β # -
|
|
69
|
+
β # Engine-managed policy guides are not synced into project docs.
|
|
70
|
+
β # - list: npx lee-spec-kit docs list --json
|
|
71
|
+
β # - example: npx lee-spec-kit docs get git-workflow --json
|
|
70
72
|
βββ prd/ # Product requirements
|
|
71
73
|
βββ designs/ # Design references
|
|
72
74
|
βββ ideas/ # Pre-feature ideas / to-dos
|
|
@@ -80,14 +82,14 @@ docs/
|
|
|
80
82
|
|
|
81
83
|
## Request Type Processes
|
|
82
84
|
|
|
83
|
-
> π
|
|
85
|
+
> π Read each process guide first with `docs get`.
|
|
84
86
|
|
|
85
87
|
| Process | Guide |
|
|
86
88
|
| -------------- | ------------------------------------- |
|
|
87
|
-
| New Feature |
|
|
88
|
-
| GitHub Issue |
|
|
89
|
-
| Pull Request |
|
|
90
|
-
| Task Execution |
|
|
89
|
+
| New Feature | `npx lee-spec-kit docs get create-feature --json` |
|
|
90
|
+
| GitHub Issue | `npx lee-spec-kit docs get create-issue --json` |
|
|
91
|
+
| Pull Request | `npx lee-spec-kit docs get create-pr --json` |
|
|
92
|
+
| Task Execution | `npx lee-spec-kit docs get execute-task --json` |
|
|
91
93
|
|
|
92
94
|
### Additional Rules (Fullstack)
|
|
93
95
|
|
|
@@ -6,7 +6,7 @@ This documentation is organized by feature to help agents quickly understand the
|
|
|
6
6
|
|
|
7
7
|
| Path | Purpose | Key Documents |
|
|
8
8
|
| ---------------- | --------------------- | ------------------------------------------------------------- |
|
|
9
|
-
| `docs/agents/` | Agent operating rules | `custom.md`, `constitution.md` (engine-managed guides are
|
|
9
|
+
| `docs/agents/` | Agent operating rules | `custom.md`, `constitution.md` (engine-managed guides are fetched via `npx lee-spec-kit docs get <doc-id> --json`) |
|
|
10
10
|
| `docs/prd/` | Product requirements | Project-specific |
|
|
11
11
|
| `docs/designs/` | Design references | `README.md` (links/guidelines/references) |
|
|
12
12
|
| `docs/ideas/` | Ideas / to-dos | `README.md` (Idea β Feature promotion rules) |
|
|
@@ -19,7 +19,7 @@ This documentation is organized by feature to help agents quickly understand the
|
|
|
19
19
|
When you run `lee-spec-kit init`, it creates `.lee-spec-kit.json` in the docs root (default: `docs/`).
|
|
20
20
|
|
|
21
21
|
- Used by `lee-spec-kit feature`, `status`, and `update` to detect docs location / project type / language.
|
|
22
|
-
- `docsRepo`, `pushDocs`, `docsRemote` are metadata for the CLI
|
|
22
|
+
- `docsRepo`, `pushDocs`, `docsRemote` are metadata for the CLI-managed **Docs Push policy** (the CLI does not auto-push).
|
|
23
23
|
|
|
24
24
|
### Fields
|
|
25
25
|
|
|
@@ -40,14 +40,15 @@ Operating rules for AI code assistants to perform consistent code generation and
|
|
|
40
40
|
|
|
41
41
|
- **π΄ Custom Rules (Highest Priority)**: `/docs/agents/custom.md`
|
|
42
42
|
- **Project Principles**: `/docs/agents/constitution.md`
|
|
43
|
-
- **
|
|
44
|
-
- **
|
|
45
|
-
- **
|
|
43
|
+
- **Agent Root Guide**: `npx lee-spec-kit docs get agents --json`
|
|
44
|
+
- **Git Workflow**: `npx lee-spec-kit docs get git-workflow --json`
|
|
45
|
+
- **Issue Procedure/Template**: `npx lee-spec-kit docs get create-issue --json` β `npx lee-spec-kit docs get issue-template --json`
|
|
46
|
+
- **PR Procedure/Template**: `npx lee-spec-kit docs get create-pr --json` β `npx lee-spec-kit docs get pr-template --json`
|
|
46
47
|
|
|
47
48
|
### Features
|
|
48
49
|
|
|
49
50
|
- **Feature Docs**: `/docs/features/{feature-id}/`
|
|
50
|
-
- **Template (SSOT)**:
|
|
51
|
+
- **Template (SSOT)**: docs generated via `npx lee-spec-kit feature <name>`
|
|
51
52
|
|
|
52
53
|
---
|
|
53
54
|
|
|
@@ -60,8 +61,9 @@ docs/
|
|
|
60
61
|
β βββ custom.md # Project-specific custom rules
|
|
61
62
|
β βββ constitution.md # Project principles
|
|
62
63
|
β
|
|
63
|
-
β # Engine-managed policy guides are
|
|
64
|
-
β # -
|
|
64
|
+
β # Engine-managed policy guides are not synced into project docs.
|
|
65
|
+
β # - list: npx lee-spec-kit docs list --json
|
|
66
|
+
β # - example: npx lee-spec-kit docs get git-workflow --json
|
|
65
67
|
βββ prd/ # Product requirements
|
|
66
68
|
βββ designs/ # Design references
|
|
67
69
|
βββ ideas/ # Pre-feature ideas / to-dos
|
|
@@ -74,14 +76,14 @@ docs/
|
|
|
74
76
|
|
|
75
77
|
## Request Type Processes
|
|
76
78
|
|
|
77
|
-
> π
|
|
79
|
+
> π Read each process guide first with `docs get`.
|
|
78
80
|
|
|
79
81
|
| Process | Guide |
|
|
80
82
|
| -------------- | ------------------------------------- |
|
|
81
|
-
| New Feature |
|
|
82
|
-
| GitHub Issue |
|
|
83
|
-
| Pull Request |
|
|
84
|
-
| Task Execution |
|
|
83
|
+
| New Feature | `npx lee-spec-kit docs get create-feature --json` |
|
|
84
|
+
| GitHub Issue | `npx lee-spec-kit docs get create-issue --json` |
|
|
85
|
+
| Pull Request | `npx lee-spec-kit docs get create-pr --json` |
|
|
86
|
+
| Task Execution | `npx lee-spec-kit docs get execute-task --json` |
|
|
85
87
|
|
|
86
88
|
---
|
|
87
89
|
|
|
@@ -70,14 +70,14 @@ main
|
|
|
70
70
|
|
|
71
71
|
## μλν μν¬νλ‘μ°
|
|
72
72
|
|
|
73
|
-
> π λ¨κ³λ³ μμΈ κ°μ΄λλ
|
|
74
|
-
|
|
75
|
-
| μν¬νλ‘μ° | κ°μ΄λ
|
|
76
|
-
| ------------ |
|
|
77
|
-
| Feature μμ |
|
|
78
|
-
| Issue μμ± |
|
|
79
|
-
| νμ€ν¬ μ€ν |
|
|
80
|
-
| PR μμ± |
|
|
73
|
+
> π λ¨κ³λ³ μμΈ κ°μ΄λλ `docs get` λͺ
λ ΉμΌλ‘ λ¨Όμ νμΈνμΈμ.
|
|
74
|
+
|
|
75
|
+
| μν¬νλ‘μ° | κ°μ΄λ |
|
|
76
|
+
| ------------ | -------------------------------------------------- |
|
|
77
|
+
| Feature μμ | `npx lee-spec-kit docs get create-feature --json` |
|
|
78
|
+
| Issue μμ± | `npx lee-spec-kit docs get create-issue --json` |
|
|
79
|
+
| νμ€ν¬ μ€ν | `npx lee-spec-kit docs get execute-task --json` |
|
|
80
|
+
| PR μμ± | `npx lee-spec-kit docs get create-pr --json` |
|
|
81
81
|
|
|
82
82
|
### λΈλμΉ μμ±
|
|
83
83
|
|
|
@@ -63,7 +63,7 @@ PR λ³Έλ¬Έμμ λ ν¬ λ΄ νμΌ λ§ν¬λ **λ°λμ νμ¬ λΈλμΉλͺ
μ
|
|
|
63
63
|
## μ€ν¬λ¦°μ· (νλ‘ νΈμλ / UI λ³κ²½ μ)
|
|
64
64
|
|
|
65
65
|
<!-- UI λ³κ²½μ΄ μλκ±°λ, μ€ν¬λ¦°μ·μ μ
λ‘λνμ§ μμλ€λ©΄(μ: `.lee-spec-kit.json`μ `pr.screenshots.upload: false`) μ΄ μΉμ
μ μ κ±°νμΈμ. -->
|
|
66
|
-
>
|
|
66
|
+
> `npx lee-spec-kit docs get create-pr --json`μ Release assets μ
λ‘λ μ μ°¨λ₯Ό μ¬μ©νλ©΄ λΈλμΉμ νμΌμ 컀λ°νμ§ μκ³ λ μ΄λ―Έμ§λ₯Ό λ³Έλ¬Έμ ν¬ν¨ν μ μμ΅λλ€.
|
|
67
67
|
|
|
68
68
|
{μ€ν¬λ¦°μ· λ§ν¬λ€μ΄ (μ: )}
|
|
69
69
|
|
|
@@ -15,14 +15,20 @@ GitHub Issueλ₯Ό μμ±ν λ λ°λ₯΄λ κ°μ΄λμ
λλ€.
|
|
|
15
15
|
|
|
16
16
|
### 1. μ΄μ μ΄μ μμ±
|
|
17
17
|
|
|
18
|
-
> π
|
|
18
|
+
> π **λ¨Όμ `docs get`μΌλ‘ μ μ°¨/ν
νλ¦Ώμ μ½κ³ , μ΄μμ μμ±ν΄ κΈ°μ€μΌλ‘ μ¬μ©νμΈμ.**
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
#
|
|
21
|
+
# 1) μ μ°¨/ν
νλ¦Ώ μ μ±
νμΈ
|
|
22
|
+
npx lee-spec-kit docs get create-issue --json
|
|
23
|
+
npx lee-spec-kit docs get issue-template --json
|
|
24
|
+
|
|
25
|
+
# 2) μ΄μ λ³Έλ¬Έ μμ± (μ격 μμ
μλ)
|
|
22
26
|
npx lee-spec-kit github issue F001 --json
|
|
23
27
|
```
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
`docs get issue-template --json` μΆλ ₯μ μΉμ
μ μ±
μΌλ‘ λ³΄κ³ ,
|
|
30
|
+
`github issue --json`μ `body`λ₯Ό μ°μ λ³Έλ¬Έ μ΄μμΌλ‘ μ¬μ©νμΈμ.
|
|
31
|
+
νμνλ©΄ `bodyFile` κ²½λ‘ νμΌμ ν¨κ» μ°Έκ³ νμΈμ.
|
|
26
32
|
|
|
27
33
|
| νλͺ© | νμ |
|
|
28
34
|
| ------ | ---------------------------------------- |
|
|
@@ -38,9 +44,11 @@ JSON μΆλ ₯μ `bodyFile` κ²½λ‘μ μμ±λ λ΄μ©μ μ΄μ λ³Έλ¬ΈμΌλ‘ μ¬
|
|
|
38
44
|
μ΄μ μμ± μ λ€μ λ΄μ©μ 곡μ νκ³ λͺ
μμ μΉμΈ(OK) λκΈ°:
|
|
39
45
|
|
|
40
46
|
- μ λͺ©
|
|
41
|
-
- λ³Έλ¬Έ μ 체 μ΄μ (`
|
|
47
|
+
- λ³Έλ¬Έ μ 체 μ΄μ (`body` κΈ°μ€)
|
|
42
48
|
- λΌλ²¨
|
|
43
49
|
|
|
50
|
+
μμ± μ λͺ©ν/μλ£ κΈ°μ€μ spec κΈ°μ€μΌλ‘ ꡬ체ννκ³ κ²ν νμΈμ.
|
|
51
|
+
|
|
44
52
|
### 3. μ΄μ μμ±
|
|
45
53
|
|
|
46
54
|
```bash
|
|
@@ -58,5 +66,5 @@ npx lee-spec-kit github issue F001 --create --confirm OK --labels enhancement
|
|
|
58
66
|
|
|
59
67
|
## μ°Έμ‘° λ¬Έμ
|
|
60
68
|
|
|
61
|
-
- **μ΄μ
|
|
69
|
+
- **μ΄μ μμ±κΈ°**: `npx lee-spec-kit github issue <feature-name>`
|
|
62
70
|
- **μΉμΈ κ·μΉ**: μ λͺ©/λ³Έλ¬Έ/λΌλ²¨ 곡μ ν `--create --confirm OK` μ€ν
|
|
@@ -17,14 +17,23 @@ Pull Requestλ₯Ό μμ±ν λ λ°λ₯΄λ κ°μ΄λμ
λλ€.
|
|
|
17
17
|
|
|
18
18
|
### 1. PR μ΄μ μμ±
|
|
19
19
|
|
|
20
|
-
> π
|
|
20
|
+
> π **λ¨Όμ `docs get`μΌλ‘ μ μ°¨/ν
νλ¦Ώμ μ½κ³ , μ΄μμ μμ±ν΄ κΈ°μ€μΌλ‘ μ¬μ©νμΈμ.**
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
#
|
|
23
|
+
# 1) μ μ°¨/ν
νλ¦Ώ μ μ±
νμΈ
|
|
24
|
+
npx lee-spec-kit docs get create-pr --json
|
|
25
|
+
npx lee-spec-kit docs get pr-template --json
|
|
26
|
+
|
|
27
|
+
# 2) μ΄μ λ³Έλ¬Έ μμ± (μ격 μμ
μλ)
|
|
24
28
|
npx lee-spec-kit github pr F001 --json
|
|
29
|
+
# - μ€ν¬λ¦°μ· κ°μ ν¬ν¨: --screenshots on
|
|
30
|
+
# - Mermaid κ°μ ν¬ν¨: --mermaid on
|
|
31
|
+
# - μλ μ μ±
(κΈ°λ³Έ): --screenshots auto --mermaid auto
|
|
25
32
|
```
|
|
26
33
|
|
|
27
|
-
|
|
34
|
+
`docs get pr-template --json` μΆλ ₯μ μΉμ
μ μ±
μΌλ‘ λ³΄κ³ ,
|
|
35
|
+
`github pr --json`μ `body`λ₯Ό μ°μ PR μ΄μ λ³Έλ¬ΈμΌλ‘ μ¬μ©νμΈμ.
|
|
36
|
+
νμνλ©΄ `bodyFile` κ²½λ‘ νμΌμ ν¨κ» μ°Έκ³ νμΈμ.
|
|
28
37
|
|
|
29
38
|
| νλͺ© | νμ |
|
|
30
39
|
| ------ | ---------------------------------- |
|
|
@@ -122,9 +131,11 @@ echo \"\"
|
|
|
122
131
|
PR μμ± μ λ€μ λ΄μ©μ **μ½λλΈλ‘μΌλ‘** μ¬μ©μμκ² κ³΅μ νκ³ **λͺ
μμ μΉμΈ(OK)** λκΈ°:
|
|
123
132
|
|
|
124
133
|
- μ λͺ©
|
|
125
|
-
- λ³Έλ¬Έ μ 체 μ΄μ (`
|
|
134
|
+
- λ³Έλ¬Έ μ 체 μ΄μ (`body` κΈ°μ€)
|
|
126
135
|
- λΌλ²¨(μ΅μ 1κ°, λΉμλ μ μμ)
|
|
127
136
|
|
|
137
|
+
μΉμΈ/μμ± μ μ μμ±λ μ΄μμ λ³κ²½ μ¬ν/ν
μ€νΈ μΉμ
μ μ€μ μμ
κΈ°μ€μΌλ‘ 보μνμΈμ.
|
|
138
|
+
|
|
128
139
|
### 5. PR μμ±
|
|
129
140
|
|
|
130
141
|
```bash
|
|
@@ -178,5 +189,5 @@ PR λ³Έλ¬Έμ νμΌ λ§ν¬λ **νμ¬ λΈλμΉλͺ
**μ μ¬μ©:
|
|
|
178
189
|
|
|
179
190
|
## μ°Έμ‘° λ¬Έμ
|
|
180
191
|
|
|
181
|
-
- **μ΄μ
|
|
192
|
+
- **μ΄μ μμ±κΈ°**: `npx lee-spec-kit github pr <feature-name>`
|
|
182
193
|
- **μΉμΈ κ·μΉ**: μ λͺ©/λ³Έλ¬Έ/λΌλ²¨ 곡μ ν `--create --confirm OK` μ€ν
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
| κ²½λ‘ | λͺ©μ | ν΅μ¬ λ¬Έμ/μν |
|
|
8
8
|
| ------------------- | -------------------- | ------------------------------------------------------------- |
|
|
9
|
-
| `docs/agents/` | μμ΄μ νΈ μ΄μ κ·μΉ | `custom.md`, `constitution.md` (μμ§ μ’
μ κ°μ΄λλ
|
|
9
|
+
| `docs/agents/` | μμ΄μ νΈ μ΄μ κ·μΉ | `custom.md`, `constitution.md` (μμ§ μ’
μ κ°μ΄λλ `npx lee-spec-kit docs get <doc-id> --json`μΌλ‘ μ‘°ν) |
|
|
10
10
|
| `docs/prd/` | μ ν μꡬμ¬ν | νλ‘μ νΈλ³ μμ± |
|
|
11
11
|
| `docs/designs/` | λμμΈ μ°Έκ³ μλ£ | `README.md` (λ§ν¬/κ°μ΄λ/λ νΌλ°μ€) |
|
|
12
12
|
| `docs/ideas/` | μμ΄λμ΄/To-do | `README.md` (Idea β Feature μΉκ²© κ·μΉ) |
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
`lee-spec-kit init`μ μ€ννλ©΄ λ¬Έμ 루νΈ(κΈ°λ³Έ: `docs/`)μ `.lee-spec-kit.json`μ΄ μμ±λ©λλ€.
|
|
21
21
|
|
|
22
22
|
- `lee-spec-kit feature`, `status`, `update`μμ λ¬Έμ μμΉ/νλ‘μ νΈ νμ
/μΈμ΄λ₯Ό κ°μ§νλ μ©λλ‘ μ¬μ©λ©λλ€.
|
|
23
|
-
- `docsRepo`, `pushDocs`, `docsRemote`λ CLI
|
|
23
|
+
- `docsRepo`, `pushDocs`, `docsRemote`λ CLI κ΄λ¦¬ **Docs Push μ μ±
**μ μν λ©νλ°μ΄ν°μ
λλ€. (μλ pushλ νμ§ μμ΅λλ€)
|
|
24
24
|
|
|
25
25
|
### νλ
|
|
26
26
|
|
|
@@ -40,9 +40,10 @@
|
|
|
40
40
|
|
|
41
41
|
- **π΄ 컀μ€ν
κ·μΉ (μ΅μ°μ )**: `/docs/agents/custom.md`
|
|
42
42
|
- **νλ‘μ νΈ μμΉ**: `/docs/agents/constitution.md`
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
43
|
+
- **μμ΄μ νΈ λ£¨νΈ κ°μ΄λ**: `npx lee-spec-kit docs get agents --json`
|
|
44
|
+
- **Git μν¬νλ‘μ°**: `npx lee-spec-kit docs get git-workflow --json`
|
|
45
|
+
- **μ΄μ μ μ°¨/ν
νλ¦Ώ**: `npx lee-spec-kit docs get create-issue --json` β `npx lee-spec-kit docs get issue-template --json`
|
|
46
|
+
- **PR μ μ°¨/ν
νλ¦Ώ**: `npx lee-spec-kit docs get create-pr --json` β `npx lee-spec-kit docs get pr-template --json`
|
|
46
47
|
|
|
47
48
|
### PRD
|
|
48
49
|
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
|
|
53
54
|
- **BE κΈ°λ₯**: `/docs/features/be/{feature-id}/`
|
|
54
55
|
- **FE κΈ°λ₯**: `/docs/features/fe/{feature-id}/`
|
|
55
|
-
- **ν
νλ¦Ώ (SSOT)**:
|
|
56
|
+
- **ν
νλ¦Ώ (SSOT)**: `npx lee-spec-kit feature <name>`λ‘ μμ±λ λ¬Έμ ꡬ쑰 (spec, plan, tasks, decisions)
|
|
56
57
|
|
|
57
58
|
---
|
|
58
59
|
|
|
@@ -65,8 +66,9 @@ docs/
|
|
|
65
66
|
β βββ custom.md # νλ‘μ νΈλ³ 컀μ€ν
κ·μΉ
|
|
66
67
|
β βββ constitution.md # νλ‘μ νΈ μμΉ
|
|
67
68
|
β
|
|
68
|
-
β # μμ§ μ’
μ κ°μ΄λλ
|
|
69
|
-
β # -
|
|
69
|
+
β # μμ§ μ’
μ κ°μ΄λλ νλ‘μ νΈ docsμ λκΈ°νλμ§ μμ΅λλ€.
|
|
70
|
+
β # - μ‘°ν: npx lee-spec-kit docs list --json
|
|
71
|
+
β # - μμ: npx lee-spec-kit docs get git-workflow --json
|
|
70
72
|
βββ prd/ # μ ν μꡬμ¬ν
|
|
71
73
|
βββ designs/ # λμμΈ μ°Έκ³ μλ£
|
|
72
74
|
βββ ideas/ # μμ΄λμ΄/To-do (Feature μΉκ²© μ )
|
|
@@ -96,14 +98,14 @@ docs/
|
|
|
96
98
|
|
|
97
99
|
## μμ² μ νλ³ νλ‘μΈμ€
|
|
98
100
|
|
|
99
|
-
> π κ° νλ‘μΈμ€μ μμΈ κ°μ΄λλ
|
|
101
|
+
> π κ° νλ‘μΈμ€μ μμΈ κ°μ΄λλ `docs get` λͺ
λ ΉμΌλ‘ λ¨Όμ μ‘°ννμΈμ.
|
|
100
102
|
|
|
101
103
|
| νλ‘μΈμ€ | κ°μ΄λ |
|
|
102
104
|
| ----------------- | --------------------------------- |
|
|
103
|
-
| μ κΈ°λ₯ μΆκ° |
|
|
104
|
-
| GitHub Issue μμ± |
|
|
105
|
-
| Pull Request μμ± |
|
|
106
|
-
| νμ€ν¬ μ€ν |
|
|
105
|
+
| μ κΈ°λ₯ μΆκ° | `npx lee-spec-kit docs get create-feature --json` |
|
|
106
|
+
| GitHub Issue μμ± | `npx lee-spec-kit docs get create-issue --json` |
|
|
107
|
+
| Pull Request μμ± | `npx lee-spec-kit docs get create-pr --json` |
|
|
108
|
+
| νμ€ν¬ μ€ν | `npx lee-spec-kit docs get execute-task --json` |
|
|
107
109
|
|
|
108
110
|
### μΆκ° κ·μΉ (Fullstack)
|
|
109
111
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
| κ²½λ‘ | λͺ©μ | ν΅μ¬ λ¬Έμ/μν |
|
|
8
8
|
| ---------------- | ------------------ | ------------------------------------------------------------- |
|
|
9
|
-
| `docs/agents/` | μμ΄μ νΈ μ΄μ κ·μΉ | `custom.md`, `constitution.md` (μμ§ μ’
μ κ°μ΄λλ
|
|
9
|
+
| `docs/agents/` | μμ΄μ νΈ μ΄μ κ·μΉ | `custom.md`, `constitution.md` (μμ§ μ’
μ κ°μ΄λλ `npx lee-spec-kit docs get <doc-id> --json`μΌλ‘ μ‘°ν) |
|
|
10
10
|
| `docs/prd/` | μ ν μꡬμ¬ν | νλ‘μ νΈλ³ μμ± |
|
|
11
11
|
| `docs/designs/` | λμμΈ μ°Έκ³ μλ£ | `README.md` (λ§ν¬/κ°μ΄λ/λ νΌλ°μ€) |
|
|
12
12
|
| `docs/ideas/` | μμ΄λμ΄/To-do | `README.md` (Idea β Feature μΉκ²© κ·μΉ) |
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
`lee-spec-kit init`μ μ€ννλ©΄ λ¬Έμ 루νΈ(κΈ°λ³Έ: `docs/`)μ `.lee-spec-kit.json`μ΄ μμ±λ©λλ€.
|
|
20
20
|
|
|
21
21
|
- `lee-spec-kit feature`, `status`, `update`μμ λ¬Έμ μμΉ/νλ‘μ νΈ νμ
/μΈμ΄λ₯Ό κ°μ§νλ μ©λλ‘ μ¬μ©λ©λλ€.
|
|
22
|
-
- `docsRepo`, `pushDocs`, `docsRemote`λ CLI
|
|
22
|
+
- `docsRepo`, `pushDocs`, `docsRemote`λ CLI κ΄λ¦¬ **Docs Push μ μ±
**μ μν λ©νλ°μ΄ν°μ
λλ€. (μλ pushλ νμ§ μμ΅λλ€)
|
|
23
23
|
|
|
24
24
|
### νλ
|
|
25
25
|
|
|
@@ -40,9 +40,10 @@
|
|
|
40
40
|
|
|
41
41
|
- **π΄ 컀μ€ν
κ·μΉ (μ΅μ°μ )**: `/docs/agents/custom.md`
|
|
42
42
|
- **νλ‘μ νΈ μμΉ**: `/docs/agents/constitution.md`
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
43
|
+
- **μμ΄μ νΈ λ£¨νΈ κ°μ΄λ**: `npx lee-spec-kit docs get agents --json`
|
|
44
|
+
- **Git μν¬νλ‘μ°**: `npx lee-spec-kit docs get git-workflow --json`
|
|
45
|
+
- **μ΄μ μ μ°¨/ν
νλ¦Ώ**: `npx lee-spec-kit docs get create-issue --json` β `npx lee-spec-kit docs get issue-template --json`
|
|
46
|
+
- **PR μ μ°¨/ν
νλ¦Ώ**: `npx lee-spec-kit docs get create-pr --json` β `npx lee-spec-kit docs get pr-template --json`
|
|
46
47
|
|
|
47
48
|
### PRD
|
|
48
49
|
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
### Feature (κΈ°λ₯λ³ λ¬Έμ)
|
|
52
53
|
|
|
53
54
|
- **κΈ°λ₯ λ¬Έμ**: `/docs/features/{feature-id}/`
|
|
54
|
-
- **ν
νλ¦Ώ (SSOT)**:
|
|
55
|
+
- **ν
νλ¦Ώ (SSOT)**: `npx lee-spec-kit feature <name>`λ‘ μμ±λ λ¬Έμ ꡬ쑰
|
|
55
56
|
|
|
56
57
|
---
|
|
57
58
|
|
|
@@ -64,8 +65,9 @@ docs/
|
|
|
64
65
|
β βββ custom.md # νλ‘μ νΈλ³ 컀μ€ν
κ·μΉ
|
|
65
66
|
β βββ constitution.md # νλ‘μ νΈ μμΉ
|
|
66
67
|
β
|
|
67
|
-
β # μμ§ μ’
μ κ°μ΄λλ
|
|
68
|
-
β # -
|
|
68
|
+
β # μμ§ μ’
μ κ°μ΄λλ νλ‘μ νΈ docsμ λκΈ°νλμ§ μμ΅λλ€.
|
|
69
|
+
β # - μ‘°ν: npx lee-spec-kit docs list --json
|
|
70
|
+
β # - μμ: npx lee-spec-kit docs get git-workflow --json
|
|
69
71
|
βββ prd/ # μ ν μꡬμ¬ν
|
|
70
72
|
βββ designs/ # λμμΈ μ°Έκ³ μλ£
|
|
71
73
|
βββ ideas/ # μμ΄λμ΄/To-do (Feature μΉκ²© μ )
|
|
@@ -87,14 +89,14 @@ docs/
|
|
|
87
89
|
|
|
88
90
|
## μμ² μ νλ³ νλ‘μΈμ€
|
|
89
91
|
|
|
90
|
-
> π κ° νλ‘μΈμ€μ μμΈ κ°μ΄λλ
|
|
92
|
+
> π κ° νλ‘μΈμ€μ μμΈ κ°μ΄λλ `docs get` λͺ
λ ΉμΌλ‘ λ¨Όμ μ‘°ννμΈμ.
|
|
91
93
|
|
|
92
94
|
| νλ‘μΈμ€ | κ°μ΄λ |
|
|
93
95
|
| ----------------- | --------------------------------- |
|
|
94
|
-
| μ κΈ°λ₯ μΆκ° |
|
|
95
|
-
| GitHub Issue μμ± |
|
|
96
|
-
| Pull Request μμ± |
|
|
97
|
-
| νμ€ν¬ μ€ν |
|
|
96
|
+
| μ κΈ°λ₯ μΆκ° | `npx lee-spec-kit docs get create-feature --json` |
|
|
97
|
+
| GitHub Issue μμ± | `npx lee-spec-kit docs get create-issue --json` |
|
|
98
|
+
| Pull Request μμ± | `npx lee-spec-kit docs get create-pr --json` |
|
|
99
|
+
| νμ€ν¬ μ€ν | `npx lee-spec-kit docs get execute-task --json` |
|
|
98
100
|
|
|
99
101
|
---
|
|
100
102
|
|