@kood/claude-code 0.1.13 → 0.1.14

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 CHANGED
@@ -128,6 +128,9 @@ var listAvailableTemplates = async () => {
128
128
  const items = await fs.readdir(templatesDir);
129
129
  const templates = [];
130
130
  for (const item of items) {
131
+ if (item.startsWith(".")) {
132
+ continue;
133
+ }
131
134
  const itemPath = path.join(templatesDir, item);
132
135
  const stat = await fs.stat(itemPath);
133
136
  if (stat.isDirectory()) {
@@ -358,7 +361,7 @@ var init = async (options) => {
358
361
 
359
362
  // src/index.ts
360
363
  var program = new Command();
361
- program.name("claude-code").description("Claude Code documentation installer for projects").version("0.1.13");
364
+ program.name("claude-code").description("Claude Code documentation installer for projects").version("0.1.14");
362
365
  program.option(
363
366
  "-t, --template <names>",
364
367
  "template names (comma-separated: tanstack-start,hono)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kood/claude-code",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Claude Code documentation installer for projects",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",
@@ -0,0 +1,88 @@
1
+ ---
2
+ description: 프로젝트 버전 업데이트 및 커밋
3
+ allowed-tools: Bash(git:*), Read, Edit
4
+ argument-hint: <new-version | +1>
5
+ ---
6
+
7
+ 프로젝트 전체 버전을 업데이트하고 커밋.
8
+
9
+ **인수**: `$ARGUMENTS`
10
+
11
+ ## 인수 처리
12
+
13
+ | 인수 | 동작 | 예시 |
14
+ |------|------|------|
15
+ | `+1` | patch 버전 +1 | 0.1.13 → 0.1.14 |
16
+ | `+minor` | minor 버전 +1 | 0.1.13 → 0.2.0 |
17
+ | `+major` | major 버전 +1 | 0.1.13 → 1.0.0 |
18
+ | `x.x.x` | 해당 버전으로 설정 | 0.1.13 → 2.0.0 |
19
+
20
+ ## 실행 흐름
21
+
22
+ ```
23
+ 1. 현재 버전 확인 (병렬로 버전 파일들 읽기)
24
+ 2. 인수에 따라 새 버전 계산
25
+ 3. 모든 버전 파일 업데이트
26
+ 4. git add + git commit
27
+ ```
28
+
29
+ ## 버전 파일 목록
30
+
31
+ | 파일 | 필드 |
32
+ |------|------|
33
+ | `packages/claude-code/package.json` | `"version": "x.x.x"` |
34
+ | `packages/claude-code/src/index.ts` | `.version('x.x.x')` |
35
+
36
+ ## 병렬 실행
37
+
38
+ **초기 확인 단계에서 병렬 실행 필수:**
39
+
40
+ ```
41
+ Read: packages/claude-code/package.json
42
+ Read: packages/claude-code/src/index.ts
43
+ ```
44
+
45
+ ## 업데이트 절차
46
+
47
+ 1. **버전 검증**: semver 형식 확인 (예: 0.1.14, 1.0.0)
48
+ 2. **Edit 도구로 각 파일 수정**:
49
+ - `package.json`: `"version": "이전버전"` → `"version": "새버전"`
50
+ - `index.ts`: `.version('이전버전')` → `.version('새버전')`
51
+ 3. **git add + git commit**
52
+
53
+ ## 커밋 규칙
54
+
55
+ **형식**: `chore: 버전 X.X.X로 업데이트`
56
+
57
+ ## CRITICAL: 절대 금지
58
+
59
+ | 금지 항목 |
60
+ |----------|
61
+ | "Generated with Claude Code" 포함 |
62
+ | "🤖" 또는 AI 관련 이모지 |
63
+ | "Co-Authored-By:" 헤더 |
64
+ | AI/봇 작성 표시 일체 |
65
+ | 여러 줄 커밋 메시지 |
66
+ | 커밋 메시지에 마침표(.) |
67
+
68
+ ## 예시
69
+
70
+ ```bash
71
+ # patch 버전 증가 (가장 일반적)
72
+ /version-update +1
73
+ # 0.1.13 → 0.1.14
74
+
75
+ # minor 버전 증가
76
+ /version-update +minor
77
+ # 0.1.13 → 0.2.0
78
+
79
+ # major 버전 증가
80
+ /version-update +major
81
+ # 0.1.13 → 1.0.0
82
+
83
+ # 직접 버전 지정
84
+ /version-update 2.0.0
85
+
86
+ # 커밋 결과
87
+ chore: 버전 0.1.14로 업데이트
88
+ ```