@kood/claude-code 0.3.7 → 0.3.8
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 +1 -1
- package/package.json +1 -1
- package/templates/.claude/agents/code-reviewer.md +124 -124
- package/templates/.claude/agents/dependency-manager.md +85 -85
- package/templates/.claude/agents/deployment-validator.md +56 -56
- package/templates/.claude/agents/git-operator.md +64 -64
- package/templates/.claude/agents/implementation-executor.md +95 -95
- package/templates/.claude/agents/ko-to-en-translator.md +74 -0
- package/templates/.claude/agents/lint-fixer.md +78 -78
- package/templates/.claude/agents/refactor-advisor.md +122 -122
- package/templates/.claude/commands/agent-creator.md +185 -185
- package/templates/.claude/commands/bug-fix.md +193 -193
- package/templates/.claude/commands/command-creator.md +54 -54
- package/templates/.claude/commands/docs-creator.md +57 -57
- package/templates/.claude/commands/docs-refactor.md +26 -26
- package/templates/.claude/commands/execute.md +12 -12
- package/templates/.claude/commands/git-all.md +32 -32
- package/templates/.claude/commands/git-session.md +42 -42
- package/templates/.claude/commands/git.md +34 -34
- package/templates/.claude/commands/lint-fix.md +138 -138
- package/templates/.claude/commands/lint-init.md +61 -61
- package/templates/.claude/commands/plan.md +260 -260
- package/templates/.claude/commands/prd.md +24 -24
- package/templates/.claude/commands/pre-deploy.md +109 -109
- package/templates/.claude/commands/refactor.md +147 -147
- package/templates/.claude/commands/version-update.md +17 -17
- package/templates/hono/CLAUDE.md +27 -27
- package/templates/hono/docs/architecture.md +24 -24
- package/templates/hono/docs/deployment/cloudflare.md +18 -18
- package/templates/hono/docs/deployment/docker.md +13 -13
- package/templates/hono/docs/deployment/index.md +19 -19
- package/templates/hono/docs/deployment/railway.md +32 -32
- package/templates/hono/docs/deployment/vercel.md +29 -29
- package/templates/hono/docs/guides/conventions.md +57 -57
- package/templates/hono/docs/guides/env-setup.md +47 -47
- package/templates/hono/docs/guides/getting-started.md +27 -27
- package/templates/hono/docs/library/hono/error-handling.md +11 -11
- package/templates/hono/docs/library/hono/index.md +4 -4
- package/templates/hono/docs/library/hono/middleware.md +18 -18
- package/templates/hono/docs/library/hono/rpc.md +7 -7
- package/templates/hono/docs/library/hono/validation.md +6 -6
- package/templates/hono/docs/library/prisma/cloudflare-d1.md +29 -29
- package/templates/hono/docs/library/prisma/config.md +16 -16
- package/templates/hono/docs/library/prisma/index.md +32 -32
- package/templates/hono/docs/library/t3-env/index.md +22 -22
- package/templates/hono/docs/library/zod/index.md +31 -31
- package/templates/nextjs/CLAUDE.md +51 -51
- package/templates/nextjs/docs/design.md +183 -183
- package/templates/nextjs/docs/guides/conventions.md +86 -86
- package/templates/nextjs/docs/guides/getting-started.md +28 -28
- package/templates/nextjs/docs/guides/routes.md +32 -32
- package/templates/nextjs/docs/library/better-auth/index.md +70 -70
- package/templates/nextjs/docs/library/nextjs/app-router.md +43 -43
- package/templates/nextjs/docs/library/nextjs/caching.md +73 -73
- package/templates/nextjs/docs/library/nextjs/index.md +51 -51
- package/templates/nextjs/docs/library/nextjs/middleware.md +41 -41
- package/templates/nextjs/docs/library/nextjs/route-handlers.md +31 -31
- package/templates/nextjs/docs/library/nextjs/server-actions.md +34 -34
- package/templates/nextjs/docs/library/prisma/cloudflare-d1.md +20 -20
- package/templates/nextjs/docs/library/prisma/config.md +18 -18
- package/templates/nextjs/docs/library/prisma/crud.md +17 -17
- package/templates/nextjs/docs/library/prisma/index.md +18 -18
- package/templates/nextjs/docs/library/prisma/relations.md +16 -16
- package/templates/nextjs/docs/library/prisma/schema.md +23 -23
- package/templates/nextjs/docs/library/prisma/setup.md +6 -6
- package/templates/nextjs/docs/library/prisma/transactions.md +10 -10
- package/templates/nextjs/docs/library/tanstack-query/index.md +6 -6
- package/templates/nextjs/docs/library/tanstack-query/invalidation.md +20 -20
- package/templates/nextjs/docs/library/tanstack-query/optimistic-updates.md +4 -4
- package/templates/nextjs/docs/library/tanstack-query/use-mutation.md +15 -15
- package/templates/nextjs/docs/library/tanstack-query/use-query.md +22 -22
- package/templates/nextjs/docs/library/zod/complex-types.md +11 -11
- package/templates/nextjs/docs/library/zod/index.md +8 -8
- package/templates/nextjs/docs/library/zod/transforms.md +11 -11
- package/templates/nextjs/docs/library/zod/validation.md +9 -9
- package/templates/npx/CLAUDE.md +37 -37
- package/templates/npx/docs/library/commander/index.md +12 -12
- package/templates/npx/docs/library/fs-extra/index.md +9 -9
- package/templates/npx/docs/library/prompts/index.md +3 -3
- package/templates/npx/docs/references/patterns.md +12 -12
- package/templates/tanstack-start/CLAUDE.md +53 -53
- package/templates/tanstack-start/docs/architecture.md +128 -128
- package/templates/tanstack-start/docs/design.md +169 -169
- package/templates/tanstack-start/docs/guides/conventions.md +43 -43
- package/templates/tanstack-start/docs/guides/env-setup.md +35 -35
- package/templates/tanstack-start/docs/guides/getting-started.md +19 -19
- package/templates/tanstack-start/docs/guides/hooks.md +45 -45
- package/templates/tanstack-start/docs/guides/routes.md +54 -54
- package/templates/tanstack-start/docs/guides/services.md +45 -45
- package/templates/tanstack-start/docs/library/better-auth/index.md +68 -68
- package/templates/tanstack-start/docs/library/prisma/cloudflare-d1.md +19 -19
- package/templates/tanstack-start/docs/library/prisma/config.md +16 -16
- package/templates/tanstack-start/docs/library/prisma/crud.md +17 -17
- package/templates/tanstack-start/docs/library/prisma/index.md +17 -17
- package/templates/tanstack-start/docs/library/prisma/relations.md +16 -16
- package/templates/tanstack-start/docs/library/prisma/schema.md +23 -23
- package/templates/tanstack-start/docs/library/prisma/setup.md +6 -6
- package/templates/tanstack-start/docs/library/prisma/transactions.md +10 -10
- package/templates/tanstack-start/docs/library/t3-env/index.md +21 -160
- package/templates/tanstack-start/docs/library/tanstack-query/index.md +6 -6
- package/templates/tanstack-start/docs/library/tanstack-query/invalidation.md +19 -19
- package/templates/tanstack-start/docs/library/tanstack-query/optimistic-updates.md +4 -4
- package/templates/tanstack-start/docs/library/tanstack-query/use-mutation.md +14 -14
- package/templates/tanstack-start/docs/library/tanstack-query/use-query.md +21 -21
- package/templates/tanstack-start/docs/library/tanstack-router/error-handling.md +9 -9
- package/templates/tanstack-start/docs/library/tanstack-router/hooks.md +11 -11
- package/templates/tanstack-start/docs/library/tanstack-router/index.md +18 -18
- package/templates/tanstack-start/docs/library/tanstack-router/navigation.md +17 -17
- package/templates/tanstack-start/docs/library/tanstack-router/route-context.md +5 -5
- package/templates/tanstack-start/docs/library/tanstack-router/search-params.md +10 -10
- package/templates/tanstack-start/docs/library/tanstack-start/auth-patterns.md +8 -8
- package/templates/tanstack-start/docs/library/tanstack-start/index.md +15 -15
- package/templates/tanstack-start/docs/library/tanstack-start/middleware.md +9 -9
- package/templates/tanstack-start/docs/library/tanstack-start/routing.md +6 -6
- package/templates/tanstack-start/docs/library/tanstack-start/server-functions.md +18 -18
- package/templates/tanstack-start/docs/library/tanstack-start/setup.md +4 -4
- package/templates/tanstack-start/docs/library/zod/complex-types.md +11 -11
- package/templates/tanstack-start/docs/library/zod/index.md +8 -8
- package/templates/tanstack-start/docs/library/zod/transforms.md +11 -11
- package/templates/tanstack-start/docs/library/zod/validation.md +9 -9
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Commit and push only files modified in the current session
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Git Session Command
|
|
6
6
|
|
|
7
|
-
> @git-operator
|
|
7
|
+
> Use the @git-operator agent to selectively commit and push only files modified in the current session.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<critical_requirements>
|
|
12
12
|
|
|
13
|
-
## ⚠️ CRITICAL:
|
|
13
|
+
## ⚠️ CRITICAL: Required checks before proceeding
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
**This command must use the @git-operator agent.**
|
|
16
16
|
|
|
17
|
-
### MANDATORY:
|
|
17
|
+
### MANDATORY: Call @git-operator with Task tool
|
|
18
18
|
|
|
19
19
|
```typescript
|
|
20
20
|
Task({
|
|
21
21
|
subagent_type: 'git-operator',
|
|
22
|
-
description: '
|
|
22
|
+
description: 'Commit and push session files only',
|
|
23
23
|
prompt: `
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
24
|
+
Session commit mode:
|
|
25
|
+
- Selectively commit only files related to current session
|
|
26
|
+
- Must push (git push)
|
|
27
|
+
- Exclude incomplete work from previous sessions
|
|
28
28
|
`
|
|
29
29
|
})
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
**❌
|
|
33
|
-
-
|
|
34
|
-
- @git-operator
|
|
35
|
-
-
|
|
32
|
+
**❌ Absolutely forbidden:**
|
|
33
|
+
- Execute git commands directly with Bash tool
|
|
34
|
+
- Perform commit/push without @git-operator
|
|
35
|
+
- Analyze files directly in command
|
|
36
36
|
|
|
37
|
-
**✅
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
37
|
+
**✅ Required:**
|
|
38
|
+
- Call @git-operator agent with Task tool
|
|
39
|
+
- Delegate all git work to agent
|
|
40
|
+
- Select only current session files
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
**Self-check before proceeding:**
|
|
45
45
|
```text
|
|
46
|
-
□ Task
|
|
47
|
-
□ @git-operator
|
|
48
|
-
□
|
|
46
|
+
□ Task tool ready to use?
|
|
47
|
+
□ Delegating work to @git-operator agent?
|
|
48
|
+
□ Not executing git commands directly with Bash?
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
**⚠️
|
|
51
|
+
**⚠️ Do not start if checklist is not complete.**
|
|
52
52
|
|
|
53
53
|
</critical_requirements>
|
|
54
54
|
|
|
@@ -56,10 +56,10 @@ Task({
|
|
|
56
56
|
|
|
57
57
|
<mode>
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
**Session commit mode**
|
|
60
60
|
|
|
61
|
-
-
|
|
62
|
-
-
|
|
61
|
+
- **Selectively commit only files related to current session**
|
|
62
|
+
- **Must push** (git push)
|
|
63
63
|
|
|
64
64
|
</mode>
|
|
65
65
|
|
|
@@ -67,11 +67,11 @@ Task({
|
|
|
67
67
|
|
|
68
68
|
<selection_criteria>
|
|
69
69
|
|
|
70
|
-
|
|
|
71
|
-
|
|
72
|
-
|
|
|
73
|
-
|
|
|
74
|
-
|
|
|
70
|
+
| Include | Exclude |
|
|
71
|
+
|---------|---------|
|
|
72
|
+
| Files related to current session | Incomplete work from previous sessions |
|
|
73
|
+
| Recently worked files | Auto-generated files (lock, cache) |
|
|
74
|
+
| Related feature files | Unrelated changes |
|
|
75
75
|
|
|
76
76
|
</selection_criteria>
|
|
77
77
|
|
|
@@ -79,11 +79,11 @@ Task({
|
|
|
79
79
|
|
|
80
80
|
<workflow>
|
|
81
81
|
|
|
82
|
-
1.
|
|
83
|
-
2.
|
|
84
|
-
3.
|
|
85
|
-
4.
|
|
86
|
-
5. git push
|
|
82
|
+
1. Analyze all changes
|
|
83
|
+
2. **Select only files related to current session**
|
|
84
|
+
3. Group into logical units
|
|
85
|
+
4. Commit each group
|
|
86
|
+
5. Execute git push
|
|
87
87
|
|
|
88
88
|
</workflow>
|
|
89
89
|
|
|
@@ -92,15 +92,15 @@ Task({
|
|
|
92
92
|
<example>
|
|
93
93
|
|
|
94
94
|
```bash
|
|
95
|
-
#
|
|
95
|
+
# Situation: Working on login feature, previous profile feature incomplete
|
|
96
96
|
|
|
97
97
|
git status
|
|
98
|
-
# modified: src/auth/login.ts (
|
|
99
|
-
# modified: src/auth/logout.ts (
|
|
100
|
-
# modified: src/profile/edit.ts (
|
|
98
|
+
# modified: src/auth/login.ts (current session)
|
|
99
|
+
# modified: src/auth/logout.ts (current session)
|
|
100
|
+
# modified: src/profile/edit.ts (previous session)
|
|
101
101
|
|
|
102
|
-
# ✅
|
|
103
|
-
git add src/auth/login.ts src/auth/logout.ts && git commit -m "feat:
|
|
102
|
+
# ✅ Commit only login-related files
|
|
103
|
+
git add src/auth/login.ts src/auth/logout.ts && git commit -m "feat: Add login/logout functionality"
|
|
104
104
|
git push
|
|
105
105
|
```
|
|
106
106
|
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Git
|
|
3
|
-
argument-hint: [push|pull
|
|
2
|
+
description: Git status check and commit operations
|
|
3
|
+
argument-hint: [push|pull|commit instructions...]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Git Command
|
|
7
7
|
|
|
8
|
-
> @git-operator
|
|
8
|
+
> Perform Git operations using @git-operator agent.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
<critical_requirements>
|
|
13
13
|
|
|
14
|
-
## ⚠️ CRITICAL:
|
|
14
|
+
## ⚠️ CRITICAL: Verification required before start
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
**This command MUST use the @git-operator agent.**
|
|
17
17
|
|
|
18
|
-
### MANDATORY:
|
|
18
|
+
### MANDATORY: Call @git-operator with Task tool
|
|
19
19
|
|
|
20
20
|
```typescript
|
|
21
21
|
Task({
|
|
22
22
|
subagent_type: 'git-operator',
|
|
23
|
-
description: 'Git
|
|
23
|
+
description: 'Git commit operation',
|
|
24
24
|
prompt: `
|
|
25
|
-
$ARGUMENTS
|
|
26
|
-
[
|
|
25
|
+
Process $ARGUMENTS:
|
|
26
|
+
[User arguments or default behavior description]
|
|
27
27
|
`
|
|
28
28
|
})
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
**❌
|
|
32
|
-
-
|
|
33
|
-
- @git-operator
|
|
34
|
-
-
|
|
31
|
+
**❌ Absolutely forbidden:**
|
|
32
|
+
- Execute git commands directly with Bash tool
|
|
33
|
+
- Commit/push without @git-operator
|
|
34
|
+
- Directly analyze files in command
|
|
35
35
|
|
|
36
|
-
**✅
|
|
37
|
-
-
|
|
38
|
-
-
|
|
36
|
+
**✅ Required:**
|
|
37
|
+
- Call @git-operator agent with Task tool
|
|
38
|
+
- Delegate all git operations to agent
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
**Self-check before proceeding:**
|
|
43
43
|
```text
|
|
44
|
-
□ Task
|
|
45
|
-
□ @git-operator
|
|
46
|
-
□
|
|
44
|
+
□ Task tool ready to use?
|
|
45
|
+
□ Delegate to @git-operator agent?
|
|
46
|
+
□ Not executing git directly with Bash?
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
**⚠️
|
|
49
|
+
**⚠️ Do not start unless checklist passes.**
|
|
50
50
|
|
|
51
51
|
</critical_requirements>
|
|
52
52
|
|
|
@@ -54,10 +54,10 @@ Task({
|
|
|
54
54
|
|
|
55
55
|
<mode>
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
**Default Mode**: Selective commit
|
|
58
58
|
|
|
59
|
-
-
|
|
60
|
-
-
|
|
59
|
+
- Commit some changes only
|
|
60
|
+
- Push is optional (only when specified)
|
|
61
61
|
|
|
62
62
|
</mode>
|
|
63
63
|
|
|
@@ -65,18 +65,18 @@ Task({
|
|
|
65
65
|
|
|
66
66
|
<arguments>
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
**Has $ARGUMENTS**: Execute those instructions first
|
|
69
69
|
|
|
70
|
-
|
|
|
71
|
-
|
|
72
|
-
| `push` |
|
|
73
|
-
| `pull` | git pull
|
|
74
|
-
|
|
|
70
|
+
| Example | Action |
|
|
71
|
+
|---------|--------|
|
|
72
|
+
| `push` | Commit then push |
|
|
73
|
+
| `pull` | Run git pull first |
|
|
74
|
+
| `login-feature-only` | Commit only that file |
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
**No $ARGUMENTS**: Default behavior
|
|
77
77
|
|
|
78
|
-
1. git status, git diff
|
|
79
|
-
2.
|
|
80
|
-
3.
|
|
78
|
+
1. Analyze git status, git diff
|
|
79
|
+
2. Group into logical units
|
|
80
|
+
3. Selective commit
|
|
81
81
|
|
|
82
82
|
</arguments>
|