lee-spec-kit 0.4.5 → 0.4.7
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/dist/index.js +3 -0
- package/package.json +1 -1
- package/templates/en/common/agents/issue-template.md +2 -2
- package/templates/en/common/agents/pr-template.md +3 -3
- package/templates/en/common/agents/skills/create-issue.md +2 -2
- package/templates/en/common/agents/skills/create-pr.md +2 -2
- package/templates/en/fullstack/features/feature-base/tasks.md +4 -2
- package/templates/en/single/features/feature-base/tasks.md +4 -2
- package/templates/ko/common/agents/issue-template.md +2 -2
- package/templates/ko/common/agents/pr-template.md +3 -3
- package/templates/ko/common/agents/skills/create-issue.md +2 -2
- package/templates/ko/common/agents/skills/create-pr.md +2 -2
- package/templates/ko/fullstack/features/feature-base/tasks.md +4 -2
- package/templates/ko/single/features/feature-base/tasks.md +4 -2
package/dist/index.js
CHANGED
|
@@ -1618,6 +1618,9 @@ function parsePrLink(value) {
|
|
|
1618
1618
|
const trimmed = value.trim();
|
|
1619
1619
|
if (!trimmed) return void 0;
|
|
1620
1620
|
if (trimmed === "#" || trimmed === "-") return void 0;
|
|
1621
|
+
if (/^(?:#\s*)?(?:tbd|todo|n\/a|na|none|pending|미정|없음)$/i.test(trimmed)) {
|
|
1622
|
+
return void 0;
|
|
1623
|
+
}
|
|
1621
1624
|
if (trimmed.includes("{") || trimmed.includes("}")) return void 0;
|
|
1622
1625
|
return trimmed;
|
|
1623
1626
|
}
|
package/package.json
CHANGED
|
@@ -9,10 +9,10 @@ A template for AI agents to create GitHub Issues.
|
|
|
9
9
|
### Title Format
|
|
10
10
|
|
|
11
11
|
```text
|
|
12
|
-
|
|
12
|
+
{feature-name} ({short description})
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Example: `
|
|
15
|
+
Example: `user-auth (User authentication feature)`
|
|
16
16
|
|
|
17
17
|
> Keep the "short description" concise enough to convey the intent in one line.
|
|
18
18
|
|
|
@@ -9,10 +9,10 @@ A template for AI agents to create Pull Requests.
|
|
|
9
9
|
### Title Format
|
|
10
10
|
|
|
11
11
|
```text
|
|
12
|
-
feat(#{issue-number}): {feature-name}
|
|
12
|
+
feat(#{issue-number}): {feature-name} ({short description})
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Example: `feat(#1):
|
|
15
|
+
Example: `feat(#1): user-auth (User authentication feature)`
|
|
16
16
|
|
|
17
17
|
### Link Format (Important!)
|
|
18
18
|
|
|
@@ -73,7 +73,7 @@ Closes #{issue-number}
|
|
|
73
73
|
BRANCH=$(git branch --show-current)
|
|
74
74
|
|
|
75
75
|
gh pr create \
|
|
76
|
-
--title "feat(#{issue}): {feature-name}" \
|
|
76
|
+
--title "feat(#{issue}): {feature-name} ({short description})" \
|
|
77
77
|
--body-file /tmp/pr-body.md \
|
|
78
78
|
--base main
|
|
79
79
|
```
|
|
@@ -19,7 +19,7 @@ Guide for creating GitHub Issues.
|
|
|
19
19
|
|
|
20
20
|
| Item | Format |
|
|
21
21
|
| -------- | ------------------------------------------- |
|
|
22
|
-
| Title | `
|
|
22
|
+
| Title | `{feature-name} ({description})` |
|
|
23
23
|
| Body | Overview, Goals, Criteria, Related docs |
|
|
24
24
|
| Labels | `enhancement`, `bug`, `documentation`, etc. |
|
|
25
25
|
| Assignee | `@me` (default) |
|
|
@@ -38,7 +38,7 @@ Before creating issue, share and wait for approval:
|
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
gh issue create \
|
|
41
|
-
--title "
|
|
41
|
+
--title "{feature-name} ({description})" \
|
|
42
42
|
--body-file /tmp/issue-body.md \
|
|
43
43
|
--assignee @me \
|
|
44
44
|
--label enhancement
|
|
@@ -21,7 +21,7 @@ Guide for creating Pull Requests.
|
|
|
21
21
|
|
|
22
22
|
| Item | Format |
|
|
23
23
|
| -------- | ---------------------------------- |
|
|
24
|
-
| Title | `feat(#{issue-number}): {feature}` |
|
|
24
|
+
| Title | `feat(#{issue-number}): {feature} ({short description})` |
|
|
25
25
|
| Body | Overview, Changes, Tests, Docs |
|
|
26
26
|
| Labels | Appropriate labels |
|
|
27
27
|
| Assignee | `@me` (default) |
|
|
@@ -49,7 +49,7 @@ Before creating PR, share the following **in a code block** and wait for **expli
|
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
51
|
gh pr create \
|
|
52
|
-
--title "feat(#{issue-number}): {feature}" \
|
|
52
|
+
--title "feat(#{issue-number}): {feature} ({short description})" \
|
|
53
53
|
--body-file /tmp/pr-body.md \
|
|
54
54
|
--assignee @me \
|
|
55
55
|
--base main
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
- **Repo**: {{projectName}}-{be|fe}
|
|
13
13
|
- **Issue**: #{issue-number}
|
|
14
14
|
- **Branch**: `feat/{issue-number}-{feature-name}`
|
|
15
|
-
- **PR**:
|
|
16
|
-
-
|
|
15
|
+
- **PR**: -
|
|
16
|
+
- Example: `#123` or PR URL
|
|
17
|
+
- **PR Status**: -
|
|
18
|
+
- Values: Draft | Review | Approved
|
|
17
19
|
|
|
18
20
|
---
|
|
19
21
|
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
- **Repo**: {{projectName}}
|
|
13
13
|
- **Issue**: #{issue-number}
|
|
14
14
|
- **Branch**: `feat/{issue-number}-{feature-name}`
|
|
15
|
-
- **PR**:
|
|
16
|
-
-
|
|
15
|
+
- **PR**: -
|
|
16
|
+
- Example: `#123` or PR URL
|
|
17
|
+
- **PR Status**: -
|
|
18
|
+
- Values: Draft | Review | Approved
|
|
17
19
|
|
|
18
20
|
---
|
|
19
21
|
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
### 제목 형식
|
|
10
10
|
|
|
11
11
|
```text
|
|
12
|
-
feat(#{이슈번호}): {기능명}
|
|
12
|
+
feat(#{이슈번호}): {기능명} ({짧은 설명})
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
예: `feat(#1): 사용자 인증
|
|
15
|
+
예: `feat(#1): user-auth (사용자 인증 기능)`
|
|
16
16
|
|
|
17
17
|
### 링크 형식 (중요!)
|
|
18
18
|
|
|
@@ -71,7 +71,7 @@ Closes #{이슈번호}
|
|
|
71
71
|
BRANCH=$(git branch --show-current)
|
|
72
72
|
|
|
73
73
|
gh pr create \
|
|
74
|
-
--title "feat(#{issue}): {기능명}" \
|
|
74
|
+
--title "feat(#{issue}): {기능명} ({짧은 설명})" \
|
|
75
75
|
--body-file /tmp/pr-body.md \
|
|
76
76
|
--base main
|
|
77
77
|
```
|
|
@@ -19,7 +19,7 @@ GitHub Issue를 생성할 때 따르는 가이드입니다.
|
|
|
19
19
|
|
|
20
20
|
| 항목 | 형식 |
|
|
21
21
|
| ------ | ---------------------------------------- |
|
|
22
|
-
| 제목 | `
|
|
22
|
+
| 제목 | `{기능명} ({짧은 설명})` |
|
|
23
23
|
| 본문 | 개요, 목표, 완료 조건, 관련 문서 |
|
|
24
24
|
| 라벨 | `enhancement`, `bug`, `documentation` 등 |
|
|
25
25
|
| 담당자 | `@me` (기본값) |
|
|
@@ -38,7 +38,7 @@ GitHub Issue를 생성할 때 따르는 가이드입니다.
|
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
gh issue create \
|
|
41
|
-
--title "
|
|
41
|
+
--title "{기능명} ({짧은 설명})" \
|
|
42
42
|
--body-file /tmp/issue-body.md \
|
|
43
43
|
--assignee @me \
|
|
44
44
|
--label enhancement
|
|
@@ -21,7 +21,7 @@ Pull Request를 생성할 때 따르는 가이드입니다.
|
|
|
21
21
|
|
|
22
22
|
| 항목 | 형식 |
|
|
23
23
|
| ------ | ---------------------------------- |
|
|
24
|
-
| 제목 | `feat(#{이슈번호}): {기능명}`
|
|
24
|
+
| 제목 | `feat(#{이슈번호}): {기능명} ({짧은 설명})` |
|
|
25
25
|
| 본문 | 개요, 변경 사항, 테스트, 관련 문서 |
|
|
26
26
|
| 라벨 | 적절한 라벨 지정 |
|
|
27
27
|
| 담당자 | `@me` (기본값) |
|
|
@@ -49,7 +49,7 @@ PR 생성 전 다음 내용을 **코드블록으로** 사용자에게 공유하
|
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
51
|
gh pr create \
|
|
52
|
-
--title "feat(#{이슈번호}): {기능명}" \
|
|
52
|
+
--title "feat(#{이슈번호}): {기능명} ({짧은 설명})" \
|
|
53
53
|
--body-file /tmp/pr-body.md \
|
|
54
54
|
--assignee @me \
|
|
55
55
|
--base main
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
- **레포**: {{projectName}}-{be|fe}
|
|
13
13
|
- **Issue**: #{이슈번호}
|
|
14
14
|
- **브랜치**: `feat/{이슈번호}-{기능명}`
|
|
15
|
-
- **PR**:
|
|
16
|
-
-
|
|
15
|
+
- **PR**: -
|
|
16
|
+
- 예: `#123` 또는 PR URL
|
|
17
|
+
- **PR 상태**: -
|
|
18
|
+
- 값: Draft | Review | Approved
|
|
17
19
|
|
|
18
20
|
---
|
|
19
21
|
|