lee-spec-kit 0.4.14 → 0.5.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/README.en.md +240 -17
- package/README.md +240 -26
- package/dist/index.js +3195 -982
- package/package.json +2 -1
- package/templates/en/common/agents/pr-template.md +1 -1
- package/templates/en/common/agents/skills/create-feature.md +3 -2
- package/templates/en/common/agents/skills/execute-task.md +1 -1
- package/templates/en/fullstack/README.md +1 -1
- package/templates/en/fullstack/agents/agents.md +1 -1
- package/templates/en/single/README.md +1 -1
- package/templates/en/single/agents/agents.md +1 -1
- package/templates/ko/common/agents/pr-template.md +1 -1
- package/templates/ko/common/agents/skills/create-feature.md +3 -2
- package/templates/ko/common/agents/skills/execute-task.md +1 -1
- package/templates/ko/fullstack/README.md +1 -1
- package/templates/ko/fullstack/agents/agents.md +1 -1
- package/templates/ko/single/README.md +1 -1
- package/templates/ko/single/agents/agents.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lee-spec-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Project documentation structure generator for AI-assisted development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"build": "tsup",
|
|
56
56
|
"dev": "tsup --watch",
|
|
57
57
|
"lint": "eslint src",
|
|
58
|
+
"test:race": "pnpm build && node --test tests/race.test.mjs",
|
|
58
59
|
"format": "prettier --write ."
|
|
59
60
|
}
|
|
60
61
|
}
|
|
@@ -123,7 +123,7 @@ gh pr create \
|
|
|
123
123
|
After all reviews are resolved:
|
|
124
124
|
|
|
125
125
|
> ⚠️ Merging (`git merge`/`gh pr merge`) and creating merge commits are considered **remote git operations**.
|
|
126
|
-
> Before running these commands, share the changes with the user and proceed only after the user replies
|
|
126
|
+
> Before running these commands, share the changes with the user and proceed only after the user replies in **`<label>` or `<label> OK` format** (e.g. `A`, `A OK`).
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
129
|
# Update main before merge
|
|
@@ -17,9 +17,10 @@ Run this command whenever you start work or finish a step:
|
|
|
17
17
|
npx lee-spec-kit context
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
### Step 2:
|
|
20
|
+
### Step 2: Execute one option only (Next Options)
|
|
21
21
|
|
|
22
|
-
Read
|
|
22
|
+
Read `👉 Next Options (Atomic)`, choose exactly one option (`A/B/C`), and execute **only that option**.
|
|
23
|
+
For gated actions, proceed only after the user replies in **`<label>` or `<label> OK` format** (e.g. `A`, `A OK`).
|
|
23
24
|
|
|
24
25
|
- If the CLI indicates **Review**, share the document with the user and stop.
|
|
25
26
|
- If the CLI asks for writing a file, write that file and follow the format.
|
|
@@ -17,7 +17,7 @@ npx lee-spec-kit context
|
|
|
17
17
|
|
|
18
18
|
### Step 2: Do the next action only
|
|
19
19
|
|
|
20
|
-
Execute
|
|
20
|
+
Execute exactly one option from `👉 Next Options (Atomic)` as printed by the CLI.
|
|
21
21
|
|
|
22
22
|
- If the CLI points to an active task, focus on that task only.
|
|
23
23
|
- Treat the task state/approval rules in `tasks.md` **"Task Rules"** as SSOT (e.g. when OK is required for `[TODO]→[DOING]`, `[DOING]→[DONE]`).
|
|
@@ -31,7 +31,7 @@ When you run `lee-spec-kit init`, it creates `.lee-spec-kit.json` in the docs ro
|
|
|
31
31
|
- `docsRepo` ("embedded" | "standalone"): How docs are managed
|
|
32
32
|
- `pushDocs` (boolean, optional): Only written when `docsRepo: "standalone"` (whether to push to remote)
|
|
33
33
|
- `docsRemote` (string, optional): Only written when `pushDocs: true` (remote repo URL)
|
|
34
|
-
- `approval` (object, optional): Override `[CHECK required]` / `requiresUserCheck` policy in `context` output (approval token: `OK`)
|
|
34
|
+
- `approval` (object, optional): Override `[CHECK required]` / `requiresUserCheck` policy in `context` output (approval token: `A`, accepted: `A`/`A OK`)
|
|
35
35
|
|
|
36
36
|
### Examples
|
|
37
37
|
|
|
@@ -8,7 +8,7 @@ Operating rules for AI code assistants to perform consistent code generation and
|
|
|
8
8
|
|
|
9
9
|
> ⚠️ **The following actions require explicit user approval (OK) before proceeding.**
|
|
10
10
|
> **If approval is not given, stop immediately and request confirmation.**
|
|
11
|
-
> ✅
|
|
11
|
+
> ✅ Approval replies must be in **`<label>` or `<label> OK` format** (e.g. `A`, `A OK`).
|
|
12
12
|
|
|
13
13
|
| Action | When to Confirm | What to Share |
|
|
14
14
|
| --------------------- | ------------------------ | ------------------------- |
|
|
@@ -30,7 +30,7 @@ When you run `lee-spec-kit init`, it creates `.lee-spec-kit.json` in the docs ro
|
|
|
30
30
|
- `docsRepo` ("embedded" | "standalone"): How docs are managed
|
|
31
31
|
- `pushDocs` (boolean, optional): Only written when `docsRepo: "standalone"` (whether to push to remote)
|
|
32
32
|
- `docsRemote` (string, optional): Only written when `pushDocs: true` (remote repo URL)
|
|
33
|
-
- `approval` (object, optional): Override `[CHECK required]` / `requiresUserCheck` policy in `context` output (approval token: `OK`)
|
|
33
|
+
- `approval` (object, optional): Override `[CHECK required]` / `requiresUserCheck` policy in `context` output (approval token: `A`, accepted: `A`/`A OK`)
|
|
34
34
|
|
|
35
35
|
### Examples
|
|
36
36
|
|
|
@@ -8,7 +8,7 @@ Operating rules for AI code assistants to perform consistent code generation and
|
|
|
8
8
|
|
|
9
9
|
> ⚠️ **The following actions require explicit user approval (OK) before proceeding.**
|
|
10
10
|
> **If approval is not given, stop immediately and request confirmation.**
|
|
11
|
-
> ✅
|
|
11
|
+
> ✅ Approval replies must be in **`<label>` or `<label> OK` format** (e.g. `A`, `A OK`).
|
|
12
12
|
|
|
13
13
|
| Action | When to Confirm | What to Share |
|
|
14
14
|
| --------------------- | ------------------------ | ------------------------- |
|
|
@@ -121,7 +121,7 @@ gh pr create \
|
|
|
121
121
|
모든 리뷰 해결 시:
|
|
122
122
|
|
|
123
123
|
> ⚠️ 머지(`git merge`/`gh pr merge`) 및 머지 커밋 생성은 **Git 원격 작업**에 해당합니다.
|
|
124
|
-
> 실행 전 변경 사항을 사용자에게 공유하고, 사용자가
|
|
124
|
+
> 실행 전 변경 사항을 사용자에게 공유하고, 사용자가 **`<라벨>` 또는 `<라벨> OK` 형식(예: `A`, `A OK`)**으로 답한 뒤에만 진행하세요.
|
|
125
125
|
|
|
126
126
|
```bash
|
|
127
127
|
# 머지 전 main 최신화
|
|
@@ -17,9 +17,10 @@ Feature 구현이 완료될 때까지(문서 커밋까지) 다음 과정을 **
|
|
|
17
17
|
npx lee-spec-kit context
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
### 2단계: 지시 수행 (Next
|
|
20
|
+
### 2단계: 지시 수행 (Next Options)
|
|
21
21
|
|
|
22
|
-
CLI가 출력하는 **`👉 Next
|
|
22
|
+
CLI가 출력하는 **`👉 Next Options (Atomic)` 목록에서 단 하나의 옵션(A/B/C)을 선택**해 수행합니다.
|
|
23
|
+
승인이 필요한 작업은 사용자에게 공유한 뒤 **`<라벨>` 또는 `<라벨> OK` 응답(예: `A`, `A OK`)**을 받은 옵션만 실행합니다.
|
|
23
24
|
|
|
24
25
|
- **승인 대기(Review)** 상태라면 사용자에게 공유하고 멈춥니다.
|
|
25
26
|
- CLI가 파일 작성을 지시하면 해당 파일을 작성합니다.
|
|
@@ -19,7 +19,7 @@ npx lee-spec-kit context
|
|
|
19
19
|
|
|
20
20
|
### 2단계: 태스크 수행 (Action)
|
|
21
21
|
|
|
22
|
-
CLI가 가리키는 **Active Task** 또는
|
|
22
|
+
CLI가 가리키는 **Active Task** 또는 **`👉 Next Options (Atomic)`의 단일 옵션**을 수행합니다.
|
|
23
23
|
|
|
24
24
|
- **[DOING] 상태인 태스크가 있다면**: 해당 태스크를 최우선으로 완료하세요.
|
|
25
25
|
- 태스크 상태 전환/승인 규칙은 `tasks.md`의 **"태스크 규칙"** 섹션을 SSOT로 따릅니다. (예: `[TODO]→[DOING]`, `[DOING]→[DONE]` 시점의 OK)
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
- `docsRepo` ("embedded" | "standalone"): Docs 관리 방식
|
|
32
32
|
- `pushDocs` (boolean, optional): `docsRepo: "standalone"`일 때만 생성 (원격 push 여부)
|
|
33
33
|
- `docsRemote` (string, optional): `pushDocs: true`일 때만 생성 (원격 레포 URL)
|
|
34
|
-
- `approval` (object, optional): `context` 출력의 `[확인 필요]` / `requiresUserCheck` 정책 오버라이드 (승인 토큰: `OK`)
|
|
34
|
+
- `approval` (object, optional): `context` 출력의 `[확인 필요]` / `requiresUserCheck` 정책 오버라이드 (승인 토큰: `A`, 허용: `A`/`A OK`)
|
|
35
35
|
|
|
36
36
|
### 예시
|
|
37
37
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> ⚠️ **아래 작업은 반드시 사용자의 명시적 승인(OK)을 받은 후에만 진행합니다.**
|
|
10
10
|
> **확인 없이 진행 시 작업을 즉시 중단해야 합니다.**
|
|
11
|
-
> ✅ 승인
|
|
11
|
+
> ✅ 승인 응답은 **`<라벨>` 또는 `<라벨> OK` 형식**(예: `A`, `A OK`)을 의미합니다.
|
|
12
12
|
|
|
13
13
|
| 작업 | 확인 시점 | 공유 내용 |
|
|
14
14
|
| ------------- | -------------------- | --------------------------- |
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
- `docsRepo` ("embedded" | "standalone"): Docs 관리 방식
|
|
31
31
|
- `pushDocs` (boolean, optional): `docsRepo: "standalone"`일 때만 생성 (원격 push 여부)
|
|
32
32
|
- `docsRemote` (string, optional): `pushDocs: true`일 때만 생성 (원격 레포 URL)
|
|
33
|
-
- `approval` (object, optional): `context` 출력의 `[확인 필요]` / `requiresUserCheck` 정책 오버라이드 (승인 토큰: `OK`)
|
|
33
|
+
- `approval` (object, optional): `context` 출력의 `[확인 필요]` / `requiresUserCheck` 정책 오버라이드 (승인 토큰: `A`, 허용: `A`/`A OK`)
|
|
34
34
|
|
|
35
35
|
### 예시
|
|
36
36
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> ⚠️ **아래 작업은 반드시 사용자의 명시적 승인(OK)을 받은 후에만 진행합니다.**
|
|
10
10
|
> **확인 없이 진행 시 작업을 즉시 중단해야 합니다.**
|
|
11
|
-
> ✅ 승인
|
|
11
|
+
> ✅ 승인 응답은 **`<라벨>` 또는 `<라벨> OK` 형식**(예: `A`, `A OK`)을 의미합니다.
|
|
12
12
|
|
|
13
13
|
| 작업 | 확인 시점 | 공유 내용 |
|
|
14
14
|
| ------------- | -------------------- | --------------------------- |
|