lee-spec-kit 0.2.4 โ†’ 0.3.0

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.4",
3
+ "version": "0.3.0",
4
4
  "description": "Project documentation structure generator for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,13 +12,6 @@
12
12
  "dist",
13
13
  "templates"
14
14
  ],
15
- "scripts": {
16
- "build": "tsup",
17
- "dev": "tsup --watch",
18
- "lint": "eslint src",
19
- "format": "prettier --write .",
20
- "prepublishOnly": "pnpm build"
21
- },
22
15
  "keywords": [
23
16
  "docs",
24
17
  "template",
@@ -45,6 +38,7 @@
45
38
  "prompts": "^2.4.2"
46
39
  },
47
40
  "devDependencies": {
41
+ "@eslint/js": "^9.39.2",
48
42
  "@types/fs-extra": "^11.0.4",
49
43
  "@types/node": "^25.0.3",
50
44
  "@types/prompts": "^2.4.9",
@@ -56,5 +50,10 @@
56
50
  "tsup": "^8.5.1",
57
51
  "typescript": "^5.9.3"
58
52
  },
59
- "packageManager": "pnpm@10.7.0"
60
- }
53
+ "scripts": {
54
+ "build": "tsup",
55
+ "dev": "tsup --watch",
56
+ "lint": "eslint src",
57
+ "format": "prettier --write ."
58
+ }
59
+ }
@@ -1,75 +1,69 @@
1
- # New Feature Creation Process
1
+ # Feature Implementation Process: CLI-driven
2
2
 
3
- Step-by-step guide for adding a new Feature.
3
+ This document defines the **only rule** for adding a new Feature.
4
+ As an agent, do not trust your own judgmentโ€”follow the **CLI output** only.
4
5
 
5
6
  ---
6
7
 
7
- ## Steps
8
+ ## ๐Ÿ”„ The Loop (repeat forever)
8
9
 
9
- ### 1. Create Feature Folder
10
+ Repeat this loop until the Feature is complete (docs committed).
10
11
 
11
- ```bash
12
- npx lee-spec-kit feature <name> -d "<description>"
13
- ```
12
+ ### Step 1: Check context
14
13
 
15
- - `<name>`: Feature name (lowercase, hyphens allowed)
16
- - `-d`: Feature description (auto-filled in spec.md)
17
-
18
- **Example:**
14
+ Run this command whenever you start work or finish a step:
19
15
 
20
16
  ```bash
21
- npx lee-spec-kit feature user-auth -d "User authentication and session management"
17
+ npx lee-spec-kit context
22
18
  ```
23
19
 
24
- ### 2. Write spec.md
25
-
26
- - **What**: Clearly describe what the feature does
27
- - **Why**: Explain why this feature is needed
28
- - โŒ Do NOT include tech stack (covered in plan.md)
20
+ ### Step 2: Do exactly what the CLI says
29
21
 
30
- ### 3. Request User Approval
22
+ Read the `๐Ÿ‘‰ Next Action` output and execute **only that instruction**.
31
23
 
32
- > ๐Ÿšจ **User Approval Required**
24
+ - If the CLI indicates **Review**, share the document with the user and stop.
25
+ - If the CLI asks for writing a file, write that file and follow the format.
26
+ - If the CLI prints a command, **copy/paste and run it exactly**. (It may include repo-safe `git -C ...` commands and scopes like `project` vs `docs`.)
33
27
 
34
- Share full spec.md content with user and wait for **explicit approval (OK)**
28
+ ### Step 3: Repeat
35
29
 
36
- ### 4. Create GitHub Issue
30
+ After completing the action, go back to Step 1 and run `context` again.
37
31
 
38
- โ†’ See `skills/create-issue.md`
32
+ ---
39
33
 
40
- ### 5. Create Branch
34
+ ## ๐Ÿ›‘ Strict rules
41
35
 
42
- ```bash
43
- git checkout -b feat/{issue-number}-{feature-name}
44
- ```
36
+ 1. **Do not jump ahead**: Never do โ€œPlanโ€ when the CLI says โ€œSpecโ€.
37
+ 2. **Do not skip**: Do not fake issue numbers/statuses to advance steps.
38
+ 3. **No self-judgment**: If unsure, run `context` again.
45
39
 
46
- > โš ๏ธ **Do NOT work on main branch.** Always create a branch after issue creation.
40
+ ---
47
41
 
48
- ### 6. Pre-Commit Checklist
42
+ ## Reference: the 10-step workflow (reference only)
49
43
 
50
- > โš ๏ธ **Before committing, verify:**
44
+ > โš ๏ธ Do NOT execute these from memory. Always follow the CLI.
51
45
 
52
- - [ ] Issue number in spec.md (`- **Issue Number**: #{issue}`)
53
- - [ ] Issue number in tasks.md (`- **Issue**: #{issue}`)
54
- - [ ] Branch name in tasks.md (`feat/{issue-number}-{feature-name}`)
46
+ 1. Feature folder created
47
+ 2. Write `spec.md`
48
+ 3. Get `spec.md` approved
49
+ 4. Create GitHub Issue and record `#`
50
+ 5. Create feature branch
51
+ 6. Write `plan.md`
52
+ 7. Get `plan.md` approved
53
+ 8. Write/execute `tasks.md`
54
+ 9. Pre-commit verification
55
+ 10. Commit docs
55
56
 
56
- ### 7. Commit Documents
57
+ ---
57
58
 
58
- > ๐Ÿšจ **User Approval Required**
59
+ ## Getting started
59
60
 
60
- After spec/plan/tasks approval, commit the **entire Feature folder**:
61
+ If the Feature folder does not exist yet:
61
62
 
62
63
  ```bash
63
- git add docs/features/{be|fe}/F{number}-{feature-name}/
64
- git commit -m "docs(#{issue}): F{number} planning complete"
65
- ```
66
-
67
- > ๐Ÿ“ **Included files**: spec.md, plan.md, tasks.md, decisions.md (include even if empty)
68
- > โš ๏ธ **Standalone mode**: Switch to Docs repo before committing.
69
-
70
- ---
71
-
72
- ## Reference Documents
64
+ # 1) Create the folder
65
+ npx lee-spec-kit feature <name> -d "<description>"
73
66
 
74
- - **Feature Template**: `features/feature-base/`
75
- - **Issue Creation Guide**: `skills/create-issue.md`
67
+ # 2) Enter the loop
68
+ npx lee-spec-kit context
69
+ ```
@@ -7,6 +7,7 @@ Guide for creating Pull Requests.
7
7
  ## Prerequisites
8
8
 
9
9
  - [ ] All tasks in `[DONE]` state
10
+ - [ ] All checkboxes in `tasks.md` "Completion Criteria" are checked
10
11
  - [ ] Changes committed
11
12
  - [ ] Branch pushed
12
13
 
@@ -1,95 +1,43 @@
1
- # Task Execution Process
1
+ # Task Execution Process: CLI-driven
2
2
 
3
- Guide for executing tasks from tasks.md.
3
+ This document defines the **only rule** for executing tasks.
4
+ As an agent, follow `npx lee-spec-kit context` as the single source of truth.
4
5
 
5
6
  ---
6
7
 
7
- ## Steps
8
+ ## ๐Ÿ”„ The Loop (repeat forever)
8
9
 
9
- ### 1. Check Task
10
+ Repeat this loop until the Feature is complete.
10
11
 
11
- - Find next task in `tasks.md`
12
- - Select task with `[TODO]` status
13
- - โš ๏ธ **Verify current branch matches Feature branch** (`feat/{issue-number}-{feature-name}`)
14
-
15
- ### 2. Share Execution Plan
16
-
17
- > ๐Ÿšจ **User Approval Required**
18
-
19
- Share execution plan with user before starting and wait for approval
20
-
21
- ### 3. Update Status
22
-
23
- | Timing | Status Transition | Checkbox |
24
- | ------------------- | -------------------- | ----------------- |
25
- | On start | `[TODO]` โ†’ `[DOING]` | `[ ]` (No change) |
26
- | After user approval | `[DOING]` โ†’ `[DONE]` | **`[x]` (Check)** |
27
-
28
- > โš ๏ธ Even after work is complete, **stay in `[DOING]` until user approval**
29
- > โš ๏ธ When switching to `[DONE]`, **must also check the checkbox**.
30
-
31
- Record date (YYYY-MM-DD) with each status change
32
-
33
- ### 4. Commit After Task Completion (Docs Sync)
34
-
35
- > ๐Ÿšจ **User Approval Required**
36
-
37
- Before committing, share and wait for approval:
38
-
39
- - Commit message (Applicable repositories)
40
- - Files to be included
12
+ ### Step 1: Check context
41
13
 
42
14
  ```bash
43
- # 1. Project Commit (If code changed)
44
- git add .
45
- git commit -m "{type}(#{issue}): {task description}"
46
-
47
- # 2. Docs Commit (If docs changed)
48
- # For Standalone mode, move to docs repo
49
- git add .
50
- git commit -m "docs(#{issue}): {task description} update docs"
15
+ npx lee-spec-kit context
51
16
  ```
52
17
 
53
- ---
54
-
55
- ## Handling Requests Outside tasks.md
56
-
57
- When user requests work not in tasks.md:
58
-
59
- 1. Ask if it should be added to tasks.md
60
- 2. If approved: Add to tasks.md then execute
61
- 3. If declined: Proceed as temporary work (still included in commit)
18
+ ### Step 2: Do the next action only
62
19
 
63
- ---
64
-
65
- ## ๐Ÿšจ Never Modify Completed Tasks
66
-
67
- > โš ๏ธ **Tasks in `[DONE]` status must NEVER be modified.**
20
+ Execute the `๐Ÿ‘‰ Next Action` exactly as printed by the CLI.
68
21
 
69
- ### Principle
22
+ - If the CLI points to an active task, focus on that task only.
23
+ - If there is no active task, pick the next `[TODO]` task, switch it to `[DOING]`, and start.
24
+ - If the CLI prints commands, copy/paste them. (In standalone setups commands may include `git -C ...` and scopes like `project`/`docs`.)
70
25
 
71
- - Completed tasks are preserved for **history/record purposes**
72
- - If modifications are needed, **add a new task**
26
+ ### Step 3: Update tasks.md (only what you did)
73
27
 
74
- ### When Modifications Are Needed
28
+ Keep `tasks.md` aligned with reality.
75
29
 
76
- 1. Keep the existing task as-is
77
- 2. Add new task: `T{next-number}: {modification description}`
78
- 3. Perform changes in the new task
30
+ - Do not mark `[DONE]` without actually completing the work and verifying criteria.
31
+ - If you need to change a completed task, add a new task instead of rewriting history.
79
32
 
80
- **Example:**
33
+ ### Step 4: Repeat
81
34
 
82
- ```markdown
83
- ## Tasks
84
-
85
- - [DONE] T001: Implement user authentication (2026-01-05)
86
- - [DONE] T002: Create login page (2026-01-06)
87
- - [TODO] T003: Fix T002 - Add password validation โ† New task for modifications
88
- ```
35
+ After finishing a meaningful chunk of work, run `context` again.
89
36
 
90
37
  ---
91
38
 
92
- ## Reference Documents
39
+ ## ๐Ÿ›‘ Strict rules
93
40
 
94
- - **Git Workflow**: `git-workflow.md`
95
- - **Commit Convention**: `git-workflow.md` > "Commit Convention" section
41
+ 1. **No skipping**: Never โ€œfinishโ€ tasks by editing status only.
42
+ 2. **No jumping ahead**: If the CLI is waiting for approvals, stop and ask the user.
43
+ 3. **No rewriting history**: Do not modify `[DONE]` tasks; add a new one.
@@ -0,0 +1,29 @@
1
+ # Designs
2
+
3
+ Store design references used by the project.
4
+
5
+ (e.g., Figma links, screenshots, design system rules, UI guidelines)
6
+
7
+ ---
8
+
9
+ ## What belongs here
10
+
11
+ - Screen/flow references (Figma, images, links)
12
+ - Component/pattern guidelines (buttons, forms, navigation, etc.)
13
+ - UI rules (brand, typography, colors/tokens)
14
+
15
+ ---
16
+
17
+ ## Conventions
18
+
19
+ - For external references, keep the **source URL + a short summary (or a snapshot)**.
20
+ - Use kebab-case filenames (e.g., `auth-flow.md`, `design-system.md`).
21
+ - If you need images/files, create and use an `assets/` folder.
22
+
23
+ ---
24
+
25
+ ## How to reference
26
+
27
+ Prefer **project-root paths** over relative links in feature docs:
28
+
29
+ - Example: `docs/designs/auth-flow.md`
@@ -0,0 +1,30 @@
1
+ # Ideas
2
+
3
+ A place for pre-feature ideas / to-dos / experiments.
4
+
5
+ Core rule: once an idea becomes a Feature, the SSOT moves to `docs/features/`.
6
+
7
+ ---
8
+
9
+ ## Conventions
10
+
11
+ - 1 idea = 1 file (kebab-case recommended)
12
+ - Example: `login-rate-limit.md`
13
+ - Example: `admin-dashboard-metrics.md`
14
+ - Put at least these at the top:
15
+ - Goal / context
16
+ - Rough scope (whatโ€™s in/out)
17
+ - Target repo (optional): `be` / `fe` / `both`
18
+
19
+ ---
20
+
21
+ ## Promotion / Cleanup (Idea โ†’ Feature)
22
+
23
+ 1. Create a Feature folder with `npx lee-spec-kit feature <name>`
24
+ 2. Add the idea doc path to the new Featureโ€™s `spec.md` or `tasks.md`
25
+ - Example: `docs/ideas/login-rate-limit.md`
26
+ 3. Remove the idea from the active list (choose one):
27
+ - **Recommended**: move to `docs/ideas/archive/` and add `Status: Converted`, `Feature: F00X-...` on top
28
+ - Or: delete it (only if you donโ€™t need history)
29
+
30
+ > Tip: archiving is usually better than deleting for traceability (โ€œwhy this feature existsโ€).
@@ -8,5 +8,50 @@ This documentation is organized by feature to help agents quickly understand the
8
8
  | ------------------- | --------------------- | ------------------------------------------------------------- |
9
9
  | `docs/agents/` | Agent operating rules | `agents.md`, `constitution.md`, `git-workflow.md` |
10
10
  | `docs/prd/` | Product requirements | Project-specific |
11
+ | `docs/designs/` | Design references | `README.md` (links/guidelines/references) |
12
+ | `docs/ideas/` | Ideas / to-dos | `README.md` (Idea โ†’ Feature promotion rules) |
11
13
  | `docs/features/be/` | Backend features | `{feature-id}/spec.md`, `plan.md`, `tasks.md`, `decisions.md` |
12
14
  | `docs/features/fe/` | Frontend features | `{feature-id}/spec.md`, `plan.md`, `tasks.md`, `decisions.md` |
15
+
16
+ ---
17
+
18
+ ## CLI Config (`.lee-spec-kit.json`)
19
+
20
+ When you run `lee-spec-kit init`, it creates `.lee-spec-kit.json` in the docs root (default: `docs/`).
21
+
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 **Docs Push rules** in `/docs/agents/git-workflow.md` (the CLI does not auto-push).
24
+
25
+ ### Fields
26
+
27
+ - `projectName` (string): Project name
28
+ - `projectType` ("single" | "fullstack"): Project type
29
+ - `lang` ("ko" | "en"): Docs language
30
+ - `createdAt` (string, YYYY-MM-DD): Creation date
31
+ - `docsRepo` ("embedded" | "standalone"): How docs are managed
32
+ - `pushDocs` (boolean, optional): Only written when `docsRepo: "standalone"` (whether to push to remote)
33
+ - `docsRemote` (string, optional): Only written when `pushDocs: true` (remote repo URL)
34
+
35
+ ### Examples
36
+
37
+ ```json
38
+ {
39
+ "projectName": "{{projectName}}",
40
+ "projectType": "fullstack",
41
+ "lang": "en",
42
+ "createdAt": "{{date}}",
43
+ "docsRepo": "embedded"
44
+ }
45
+ ```
46
+
47
+ ```json
48
+ {
49
+ "projectName": "{{projectName}}",
50
+ "projectType": "fullstack",
51
+ "lang": "en",
52
+ "createdAt": "{{date}}",
53
+ "docsRepo": "standalone",
54
+ "pushDocs": true,
55
+ "docsRemote": "git@github.com:org/{{projectName}}-docs.git"
56
+ }
57
+ ```
@@ -33,6 +33,8 @@ Operating rules for AI code assistants to perform consistent code generation and
33
33
 
34
34
  ### Core Documents
35
35
 
36
+ > ๐Ÿšจ **You MUST read and understand all core documents before proceeding.**
37
+
36
38
  > โš ๏ธ **Rules in `custom.md` take precedence over all other rules.**
37
39
 
38
40
  - **๐Ÿ”ด Custom Rules (Highest Priority)**: `/docs/agents/custom.md`
@@ -70,6 +72,8 @@ docs/
70
72
  โ”‚ โ”œโ”€โ”€ create-pr.md
71
73
  โ”‚ โ””โ”€โ”€ execute-task.md
72
74
  โ”œโ”€โ”€ prd/ # Product requirements
75
+ โ”œโ”€โ”€ designs/ # Design references
76
+ โ”œโ”€โ”€ ideas/ # Pre-feature ideas / to-dos
73
77
  โ”œโ”€โ”€ features/ # Feature documentation
74
78
  โ”‚ โ”œโ”€โ”€ be/ # Backend Features
75
79
  โ”‚ โ””โ”€โ”€ fe/ # Frontend Features
@@ -29,5 +29,12 @@
29
29
 
30
30
  ## Completion Criteria
31
31
 
32
- - [ ] All tasks [DONE]
33
- - [ ] All tests passing
32
+ > โš ๏ธ This is a **final verification checklist**. Only check after you actually verified.
33
+
34
+ - [ ] All tasks are `[DONE]`, and each task's `Acceptance` is verified and `Checklist` is checked
35
+ - [ ] Tests executed and passing (record command/result below)
36
+
37
+ ### Test Run Log
38
+
39
+ - Command: `{test command you ran}`
40
+ - Result: `{PASS/FAIL summary}`
@@ -8,4 +8,49 @@ This documentation is organized by feature to help agents quickly understand the
8
8
  | ---------------- | --------------------- | ------------------------------------------------------------- |
9
9
  | `docs/agents/` | Agent operating rules | `agents.md`, `constitution.md`, `git-workflow.md` |
10
10
  | `docs/prd/` | Product requirements | Project-specific |
11
+ | `docs/designs/` | Design references | `README.md` (links/guidelines/references) |
12
+ | `docs/ideas/` | Ideas / to-dos | `README.md` (Idea โ†’ Feature promotion rules) |
11
13
  | `docs/features/` | Feature documentation | `{feature-id}/spec.md`, `plan.md`, `tasks.md`, `decisions.md` |
14
+
15
+ ---
16
+
17
+ ## CLI Config (`.lee-spec-kit.json`)
18
+
19
+ When you run `lee-spec-kit init`, it creates `.lee-spec-kit.json` in the docs root (default: `docs/`).
20
+
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 **Docs Push rules** in `/docs/agents/git-workflow.md` (the CLI does not auto-push).
23
+
24
+ ### Fields
25
+
26
+ - `projectName` (string): Project name
27
+ - `projectType` ("single" | "fullstack"): Project type
28
+ - `lang` ("ko" | "en"): Docs language
29
+ - `createdAt` (string, YYYY-MM-DD): Creation date
30
+ - `docsRepo` ("embedded" | "standalone"): How docs are managed
31
+ - `pushDocs` (boolean, optional): Only written when `docsRepo: "standalone"` (whether to push to remote)
32
+ - `docsRemote` (string, optional): Only written when `pushDocs: true` (remote repo URL)
33
+
34
+ ### Examples
35
+
36
+ ```json
37
+ {
38
+ "projectName": "{{projectName}}",
39
+ "projectType": "single",
40
+ "lang": "en",
41
+ "createdAt": "{{date}}",
42
+ "docsRepo": "embedded"
43
+ }
44
+ ```
45
+
46
+ ```json
47
+ {
48
+ "projectName": "{{projectName}}",
49
+ "projectType": "single",
50
+ "lang": "en",
51
+ "createdAt": "{{date}}",
52
+ "docsRepo": "standalone",
53
+ "pushDocs": true,
54
+ "docsRemote": "git@github.com:org/{{projectName}}-docs.git"
55
+ }
56
+ ```
@@ -33,6 +33,8 @@ Operating rules for AI code assistants to perform consistent code generation and
33
33
 
34
34
  ### Core Documents
35
35
 
36
+ > ๐Ÿšจ **You MUST read and understand all core documents before proceeding.**
37
+
36
38
  > โš ๏ธ **Rules in `custom.md` take precedence over all other rules.**
37
39
 
38
40
  - **๐Ÿ”ด Custom Rules (Highest Priority)**: `/docs/agents/custom.md`
@@ -65,6 +67,8 @@ docs/
65
67
  โ”‚ โ”œโ”€โ”€ create-pr.md
66
68
  โ”‚ โ””โ”€โ”€ execute-task.md
67
69
  โ”œโ”€โ”€ prd/ # Product requirements
70
+ โ”œโ”€โ”€ designs/ # Design references
71
+ โ”œโ”€โ”€ ideas/ # Pre-feature ideas / to-dos
68
72
  โ”œโ”€โ”€ features/ # Feature documentation
69
73
  โ”‚ โ”œโ”€โ”€ feature-base/ # Template
70
74
  โ”‚ โ””โ”€โ”€ F00X-{name}/
@@ -29,5 +29,12 @@
29
29
 
30
30
  ## Completion Criteria
31
31
 
32
- - [ ] All tasks [DONE]
33
- - [ ] All tests passing
32
+ > โš ๏ธ This is a **final verification checklist**. Only check after you actually verified.
33
+
34
+ - [ ] All tasks are `[DONE]`, and each task's `Acceptance` is verified and `Checklist` is checked
35
+ - [ ] Tests executed and passing (record command/result below)
36
+
37
+ ### Test Run Log
38
+
39
+ - Command: `{test command you ran}`
40
+ - Result: `{PASS/FAIL summary}`
@@ -1,75 +1,70 @@
1
- # ์ƒˆ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ ํ”„๋กœ์„ธ์Šค
1
+ # ๊ธฐ๋Šฅ ๊ตฌํ˜„ ํ”„๋กœ์„ธ์Šค: CLI ์ฃผ๋„ํ˜•
2
2
 
3
- ์ƒˆ ๊ธฐ๋Šฅ(Feature)์„ ์ถ”๊ฐ€ํ•  ๋•Œ ๋”ฐ๋ฅด๋Š” ๋‹จ๊ณ„๋ณ„ ๊ฐ€์ด๋“œ์ž…๋‹ˆ๋‹ค.
3
+ ์ด ๋ฌธ์„œ๋Š” ์ƒˆ ๊ธฐ๋Šฅ(Feature)์„ ์ถ”๊ฐ€ํ•  ๋•Œ ๋”ฐ๋ฅด๋Š” **์œ ์ผํ•œ ๊ทœ์น™**์ž…๋‹ˆ๋‹ค.
4
+ ์—์ด์ „ํŠธ๋Š” ์ž์‹ ์˜ ํŒ๋‹จ์„ ์‹ ๋ขฐํ•˜์ง€ ์•Š๊ณ , ์˜ค์ง **CLI ๋„๊ตฌ์˜ ์ง€์‹œ**์— ๋”ฐ๋ผ ํ–‰๋™ํ•ฉ๋‹ˆ๋‹ค.
4
5
 
5
6
  ---
6
7
 
7
- ## ๋‹จ๊ณ„
8
+ ## ๐Ÿ”„ The Loop (๋ฌดํ•œ ๋ฐ˜๋ณต)
8
9
 
9
- ### 1. Feature ํด๋” ์ƒ์„ฑ
10
+ Feature ๊ตฌํ˜„์ด ์™„๋ฃŒ๋  ๋•Œ๊นŒ์ง€(๋ฌธ์„œ ์ปค๋ฐ‹๊นŒ์ง€) ๋‹ค์Œ ๊ณผ์ •์„ **๊ณ„์† ๋ฐ˜๋ณต**ํ•˜์„ธ์š”.
10
11
 
11
- ```bash
12
- npx lee-spec-kit feature <name> -d "<์„ค๋ช…>"
13
- ```
12
+ ### 1๋‹จ๊ณ„: ์ƒํƒœ ํ™•์ธ
14
13
 
15
- - `<name>`: ๊ธฐ๋Šฅ ์ด๋ฆ„ (์˜๋ฌธ, ํ•˜์ดํ”ˆ ์‚ฌ์šฉ)
16
- - `-d`: ๊ธฐ๋Šฅ ์„ค๋ช… (spec.md์— ์ž๋™ ๋ฐ˜์˜)
17
-
18
- **์˜ˆ์‹œ:**
14
+ ์ž‘์—…์„ ์‹œ์ž‘ํ•˜๊ฑฐ๋‚˜ ํ•œ ๋‹จ๊ณ„๋ฅผ ๋งˆ์น  ๋•Œ๋งˆ๋‹ค **๋ฐ˜๋“œ์‹œ** ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
19
15
 
20
16
  ```bash
21
- npx lee-spec-kit feature user-auth -d "์‚ฌ์šฉ์ž ์ธ์ฆ ๋ฐ ์„ธ์…˜ ๊ด€๋ฆฌ"
17
+ npx lee-spec-kit context
22
18
  ```
23
19
 
24
- ### 2. spec.md ์ž‘์„ฑ
25
-
26
- - **๋ฌด์—‡์„**: ๊ธฐ๋Šฅ์ด ๋ฌด์—‡์ธ์ง€ ๋ช…ํ™•ํžˆ ๊ธฐ์ˆ 
27
- - **์™œ**: ์ด ๊ธฐ๋Šฅ์ด ํ•„์š”ํ•œ ์ด์œ 
28
- - โŒ ๊ธฐ์ˆ  ์Šคํƒ์€ ์ž‘์„ฑํ•˜์ง€ ์•Š์Œ (plan.md์—์„œ ๋‹ค๋ฃธ)
20
+ ### 2๋‹จ๊ณ„: ์ง€์‹œ ์ˆ˜ํ–‰ (Next Action)
29
21
 
30
- ### 3. ์‚ฌ์šฉ์ž ํ™•์ธ ์š”์ฒญ
22
+ CLI๊ฐ€ ์ถœ๋ ฅํ•˜๋Š” **`๐Ÿ‘‰ Next Action` ๋ฉ”์‹œ์ง€๋ฅผ ์ฝ๊ณ , ๊ทธ ์ง€์‹œ๋งŒ ์ •ํ™•ํžˆ ์ˆ˜ํ–‰**ํ•ฉ๋‹ˆ๋‹ค.
31
23
 
32
- > ๐Ÿšจ **์‚ฌ์šฉ์ž ํ™•์ธ ํ•„์ˆ˜**
24
+ - **์Šน์ธ ๋Œ€๊ธฐ(Review)** ์ƒํƒœ๋ผ๋ฉด ์‚ฌ์šฉ์ž์—๊ฒŒ ๊ณต์œ ํ•˜๊ณ  ๋ฉˆ์ถฅ๋‹ˆ๋‹ค.
25
+ - CLI๊ฐ€ ํŒŒ์ผ ์ž‘์„ฑ์„ ์ง€์‹œํ•˜๋ฉด ํ•ด๋‹น ํŒŒ์ผ์„ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.
26
+ - CLI๊ฐ€ ์ด์Šˆ ์ƒ์„ฑ์„ ์ง€์‹œํ•˜๋ฉด ์ด์Šˆ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
27
+ - CLI๊ฐ€ ๋ช…๋ น์–ด๋ฅผ ์ถœ๋ ฅํ•˜๋ฉด **๊ทธ๋Œ€๋กœ ๋ณต์‚ฌํ•ด ์‹คํ–‰**ํ•ฉ๋‹ˆ๋‹ค. (standalone ํ™˜๊ฒฝ์—์„œ๋„ ๋ ˆํฌ ๊ฒฝ๋กœ๊ฐ€ ํฌํ•จ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค)
33
28
 
34
- spec.md ์ „๋ฌธ์„ ์‚ฌ์šฉ์ž์—๊ฒŒ ๊ณต์œ ํ•˜๊ณ  **๋ช…์‹œ์  ์Šน์ธ(OK)** ๋Œ€๊ธฐ
29
+ ### 3๋‹จ๊ณ„: ๋ฐ˜๋ณต
35
30
 
36
- ### 4. GitHub Issue ์ƒ์„ฑ
31
+ ์ง€์‹œ๋œ ํ–‰๋™์„ ์™„๋ฃŒํ–ˆ๋‹ค๋ฉด, **์ฆ‰์‹œ 1๋‹จ๊ณ„๋กœ ๋Œ์•„๊ฐ€** ๋‹ค์‹œ `context`๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
37
32
 
38
- โ†’ `skills/create-issue.md` ์ฐธ์กฐ
33
+ ---
39
34
 
40
- ### 5. ๋ธŒ๋žœ์น˜ ์ƒ์„ฑ
35
+ ## ๐Ÿ›‘ ์ ˆ๋Œ€ ๊ธˆ์ง€ ์‚ฌํ•ญ (Strict Rules)
41
36
 
42
- ```bash
43
- git checkout -b feat/{์ด์Šˆ๋ฒˆํ˜ธ}-{๊ธฐ๋Šฅ๋ช…}
44
- ```
37
+ 1. **์•ž์„œ๊ฐ€์ง€ ์•Š๊ธฐ**: CLI๊ฐ€ "Spec ์ž‘์„ฑ"์„ ์ง€์‹œํ–ˆ๋Š”๋ฐ "Plan ์ž‘์„ฑ"๊นŒ์ง€ ํ•œ ๋ฒˆ์— ํ•˜์ง€ ๋งˆ์„ธ์š”.
38
+ 2. **๊ฑด๋„ˆ๋›ฐ์ง€ ์•Š๊ธฐ**: "์ด์Šˆ ์ƒ์„ฑ" ๋‹จ๊ณ„๋ฅผ ๊ท€์ฐฎ์•„์„œ ์ƒ๋žตํ•˜๊ฑฐ๋‚˜ ๊ฐ€์งœ ๋ฒˆํ˜ธ๋ฅผ ๋„ฃ์ง€ ๋งˆ์„ธ์š”.
39
+ 3. **์Šค์Šค๋กœ ํŒ๋‹จ ๊ธˆ์ง€**: "์ด ์ •๋„๋ฉด ๋๊ฒ ์ง€?"๋ผ๊ณ  ์ƒ๊ฐํ•˜์ง€ ๋ง๊ณ  CLI์—๊ฒŒ ๋ฌผ์–ด๋ณด์„ธ์š”.
45
40
 
46
- > โš ๏ธ **main ๋ธŒ๋žœ์น˜์—์„œ ์ž‘์—…ํ•˜์ง€ ๋งˆ์„ธ์š”.** Issue ์ƒ์„ฑ ํ›„ ๋ฐ˜๋“œ์‹œ ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
41
+ ---
47
42
 
48
- ### 6. ๋ฌธ์„œ ์ปค๋ฐ‹ ์ „ ํ™•์ธ
43
+ ## ์ฐธ์กฐ: CLI๊ฐ€ ์•ˆ๋‚ดํ•˜๋Š” 10๋‹จ๊ณ„ (์ฐธ์กฐ์šฉ)
49
44
 
50
- > โš ๏ธ **์ปค๋ฐ‹ ์ „ ์ฒดํฌ๋ฆฌ์ŠคํŠธ**
45
+ > โš ๏ธ ์ด ๋‹จ๊ณ„๋ฅผ ์™ธ์›Œ์„œ ์‹คํ–‰ํ•˜์ง€ ๋งˆ์„ธ์š”. **์ฐธ์กฐ์šฉ**์ผ ๋ฟ์ž…๋‹ˆ๋‹ค. ํ•ญ์ƒ CLI๋ฅผ ๋ฏฟ์œผ์„ธ์š”.
51
46
 
52
- - [ ] spec.md์— ์ด์Šˆ๋ฒˆํ˜ธ ๋ฐ˜์˜ (`- **์ด์Šˆ ๋ฒˆํ˜ธ**: #{์ด์Šˆ๋ฒˆํ˜ธ}`)
53
- - [ ] tasks.md์— ์ด์Šˆ๋ฒˆํ˜ธ ๋ฐ˜์˜ (`- **Issue**: #{์ด์Šˆ๋ฒˆํ˜ธ}`)
54
- - [ ] tasks.md์— ๋ธŒ๋žœ์น˜๋ช… ๋ฐ˜์˜ (`feat/{์ด์Šˆ๋ฒˆํ˜ธ}-{๊ธฐ๋Šฅ๋ช…}`)
47
+ 1. **Feature ํด๋” ์ƒ์„ฑ**: `npx lee-spec-kit feature ...`
48
+ 2. **spec.md ์ž‘์„ฑ**: ๊ธฐ๋Šฅ ์ •์˜ (Status: Draft)
49
+ 3. **spec.md ์Šน์ธ**: ์‚ฌ์šฉ์ž ๊ฒ€ํ†  ๋ฐ ์Šน์ธ (Status: Approved)
50
+ 4. **GitHub Issue ์ƒ์„ฑ**: ์ด์Šˆ ๋ฒˆํ˜ธ ๋ฐœ๊ธ‰
51
+ 5. **๋ธŒ๋žœ์น˜ ์ƒ์„ฑ**: `git checkout -b feat/...`
52
+ 6. **plan.md ์ž‘์„ฑ**: ๊ตฌํ˜„ ๊ณ„ํš (Status: Draft)
53
+ 7. **plan.md ์Šน์ธ**: ์‚ฌ์šฉ์ž ๊ฒ€ํ†  ๋ฐ ์Šน์ธ (Status: Approved)
54
+ 8. **tasks.md ์ž‘์„ฑ/์‹คํ–‰**: ํƒœ์Šคํฌ ๋ถ„ํ•ด ๋ฐ ์ง„ํ–‰
55
+ 9. **๋ฌธ์„œ ์ปค๋ฐ‹ ์ „ ํ™•์ธ**: ์ตœ์ข… ์ ๊ฒ€
56
+ 10. **๋ฌธ์„œ ์ปค๋ฐ‹**: Docs Sync
55
57
 
56
- ### 7. ๋ฌธ์„œ ์ปค๋ฐ‹
58
+ ---
57
59
 
58
- > ๐Ÿšจ **์‚ฌ์šฉ์ž ํ™•์ธ ํ•„์ˆ˜**
60
+ ## ์‹œ์ž‘ํ•˜๊ธฐ
59
61
 
60
- spec/plan/tasks ์Šน์ธ ํ›„ **Feature ํด๋” ์ „์ฒด**๋ฅผ ์ปค๋ฐ‹:
62
+ ์•„์ง ๊ธฐ๋Šฅ ํด๋”๊ฐ€ ์—†๋‹ค๋ฉด, ๋จผ์ € ํด๋”๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ๋ฃจํ”„๋ฅผ ์‹œ์ž‘ํ•˜์„ธ์š”:
61
63
 
62
64
  ```bash
63
- git add docs/features/{be|fe}/F{๋ฒˆํ˜ธ}-{๊ธฐ๋Šฅ๋ช…}/
64
- git commit -m "docs(#{์ด์Šˆ๋ฒˆํ˜ธ}): F{๋ฒˆํ˜ธ} ๊ณ„ํš ์™„๋ฃŒ"
65
- ```
66
-
67
- > ๐Ÿ“ **ํฌํ•จ ํŒŒ์ผ**: spec.md, plan.md, tasks.md, decisions.md (๋น„์–ด์žˆ์–ด๋„ ํฌํ•จ)
68
- > โš ๏ธ **Standalone ๋ชจ๋“œ**: Docs ๋ ˆํฌ๋กœ ์ด๋™ ํ›„ ์ปค๋ฐ‹ํ•˜์„ธ์š”.
69
-
70
- ---
71
-
72
- ## ์ฐธ์กฐ ๋ฌธ์„œ
65
+ # 1. ์ƒ์„ฑ
66
+ npx lee-spec-kit feature <name> -d "<์„ค๋ช…>"
73
67
 
74
- - **Feature ํ…œํ”Œ๋ฆฟ**: `features/feature-base/`
75
- - **Issue ์ƒ์„ฑ ๊ฐ€์ด๋“œ**: `skills/create-issue.md`
68
+ # 2. ๋ฃจํ”„ ์ง„์ž…
69
+ npx lee-spec-kit context
70
+ ```
@@ -7,6 +7,7 @@ Pull Request๋ฅผ ์ƒ์„ฑํ•  ๋•Œ ๋”ฐ๋ฅด๋Š” ๊ฐ€์ด๋“œ์ž…๋‹ˆ๋‹ค.
7
7
  ## ์‚ฌ์ „ ์กฐ๊ฑด
8
8
 
9
9
  - [ ] ๋ชจ๋“  ํƒœ์Šคํฌ `[DONE]` ์ƒํƒœ
10
+ - [ ] `tasks.md`์˜ "์™„๋ฃŒ ์กฐ๊ฑด" ์ฒดํฌ๋ฆฌ์ŠคํŠธ ๋ชจ๋‘ ์ฒดํฌ
10
11
  - [ ] ๋ณ€๊ฒฝ ์‚ฌํ•ญ ์ปค๋ฐ‹ ์™„๋ฃŒ
11
12
  - [ ] ๋ธŒ๋žœ์น˜ ํ‘ธ์‹œ ์™„๋ฃŒ
12
13