@kosuke-ai/cli 0.0.6 → 0.0.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/README.md +76 -18
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +58 -26
- package/dist/index.js.map +1 -1
- package/dist/kosuke/commands/analyse.d.ts +1 -1
- package/dist/kosuke/commands/analyse.d.ts.map +1 -1
- package/dist/kosuke/commands/analyse.js +124 -180
- package/dist/kosuke/commands/analyse.js.map +1 -1
- package/dist/kosuke/commands/lint.d.ts +1 -5
- package/dist/kosuke/commands/lint.d.ts.map +1 -1
- package/dist/kosuke/commands/lint.js +78 -97
- package/dist/kosuke/commands/lint.js.map +1 -1
- package/dist/kosuke/commands/requirements.d.ts +15 -0
- package/dist/kosuke/commands/requirements.d.ts.map +1 -0
- package/dist/kosuke/commands/requirements.js +286 -0
- package/dist/kosuke/commands/requirements.js.map +1 -0
- package/dist/kosuke/commands/sync-rules.d.ts +2 -1
- package/dist/kosuke/commands/sync-rules.d.ts.map +1 -1
- package/dist/kosuke/commands/sync-rules.js +106 -102
- package/dist/kosuke/commands/sync-rules.js.map +1 -1
- package/dist/kosuke/types.d.ts +11 -1
- package/dist/kosuke/types.d.ts.map +1 -1
- package/dist/kosuke/utils/git.d.ts +0 -4
- package/dist/kosuke/utils/git.d.ts.map +1 -1
- package/dist/kosuke/utils/git.js +0 -6
- package/dist/kosuke/utils/git.js.map +1 -1
- package/dist/kosuke/utils/pr-orchestrator.d.ts +47 -0
- package/dist/kosuke/utils/pr-orchestrator.d.ts.map +1 -0
- package/dist/kosuke/utils/pr-orchestrator.js +152 -0
- package/dist/kosuke/utils/pr-orchestrator.js.map +1 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -18,23 +18,33 @@ npx @kosuke-ai/cli <command>
|
|
|
18
18
|
|
|
19
19
|
## Prerequisites
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Set up the required environment variable:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
# Required for Claude API access
|
|
25
25
|
export ANTHROPIC_API_KEY="your-api-key-here"
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Optional: Only required when using --pr flag
|
|
28
28
|
export GITHUB_TOKEN="your-github-token-here"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
You can also create a `.env` file in your project root:
|
|
32
32
|
|
|
33
|
-
```
|
|
33
|
+
```env
|
|
34
34
|
ANTHROPIC_API_KEY=your-api-key-here
|
|
35
35
|
GITHUB_TOKEN=your-github-token-here
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Workflow
|
|
39
|
+
|
|
40
|
+
By default, all commands apply changes **locally** without git operations. This allows you to:
|
|
41
|
+
|
|
42
|
+
- Review changes before committing
|
|
43
|
+
- Test fixes in your local environment
|
|
44
|
+
- Iterate quickly without creating PRs
|
|
45
|
+
|
|
46
|
+
Use the `--pr` flag to automatically create a pull request with the changes.
|
|
47
|
+
|
|
38
48
|
## Commands
|
|
39
49
|
|
|
40
50
|
### `kosuke sync-rules`
|
|
@@ -44,28 +54,40 @@ Sync rules and documentation from kosuke-template repository.
|
|
|
44
54
|
**Options:**
|
|
45
55
|
|
|
46
56
|
- `--force` - Compare files regardless of recent commit history
|
|
57
|
+
- `--pr` - Create a pull request with the changes
|
|
58
|
+
- `--base-branch=<name>` - Base branch for PR (default: current branch)
|
|
47
59
|
|
|
48
60
|
**Examples:**
|
|
49
61
|
|
|
50
62
|
```bash
|
|
63
|
+
# Sync locally
|
|
51
64
|
kosuke sync-rules
|
|
65
|
+
|
|
66
|
+
# Force comparison and sync locally
|
|
52
67
|
kosuke sync-rules --force
|
|
68
|
+
|
|
69
|
+
# Create PR with synced changes
|
|
70
|
+
kosuke sync-rules --pr
|
|
71
|
+
|
|
72
|
+
# Create PR with custom base branch
|
|
73
|
+
kosuke sync-rules --pr --base-branch=develop
|
|
53
74
|
```
|
|
54
75
|
|
|
55
76
|
### `kosuke analyse`
|
|
56
77
|
|
|
57
|
-
Analyze and fix code quality issues against CLAUDE.md rules.
|
|
78
|
+
Analyze and fix code quality issues against CLAUDE.md rules. Applies fixes locally by default.
|
|
58
79
|
|
|
59
80
|
**Options:**
|
|
60
81
|
|
|
61
|
-
- `--
|
|
82
|
+
- `--pr` - Create a pull request with fixes
|
|
83
|
+
- `--base-branch=<name>` - Base branch for PR (default: current branch)
|
|
62
84
|
- `--scope=<dirs>` - Analyze specific directories (comma-separated)
|
|
63
85
|
- `--types=<exts>` - Analyze specific file types (comma-separated)
|
|
64
86
|
|
|
65
87
|
**Examples:**
|
|
66
88
|
|
|
67
89
|
```bash
|
|
68
|
-
# Analyze
|
|
90
|
+
# Analyze and fix locally
|
|
69
91
|
kosuke analyse
|
|
70
92
|
|
|
71
93
|
# Analyze specific directories
|
|
@@ -74,37 +96,73 @@ kosuke analyse --scope=hooks,lib/trpc
|
|
|
74
96
|
# Analyze specific file types
|
|
75
97
|
kosuke analyse --types=ts,tsx
|
|
76
98
|
|
|
77
|
-
#
|
|
78
|
-
kosuke analyse --
|
|
99
|
+
# Create PR with fixes
|
|
100
|
+
kosuke analyse --pr
|
|
101
|
+
|
|
102
|
+
# Create PR with custom base branch
|
|
103
|
+
kosuke analyse --pr --base-branch=main
|
|
79
104
|
```
|
|
80
105
|
|
|
81
106
|
### `kosuke lint`
|
|
82
107
|
|
|
83
|
-
Use Claude AI to automatically fix linting errors
|
|
108
|
+
Use Claude AI to automatically fix linting errors. Applies fixes locally by default.
|
|
84
109
|
|
|
85
110
|
**Options:**
|
|
86
111
|
|
|
87
|
-
- `--
|
|
88
|
-
- `--
|
|
112
|
+
- `--pr` - Create a pull request with fixes
|
|
113
|
+
- `--base-branch=<name>` - Base branch for PR (default: current branch)
|
|
89
114
|
|
|
90
115
|
**Examples:**
|
|
91
116
|
|
|
92
117
|
```bash
|
|
93
|
-
# Fix
|
|
118
|
+
# Fix linting errors locally
|
|
94
119
|
kosuke lint
|
|
95
120
|
|
|
96
|
-
#
|
|
97
|
-
kosuke lint --
|
|
121
|
+
# Create PR with fixes
|
|
122
|
+
kosuke lint --pr
|
|
98
123
|
|
|
99
|
-
#
|
|
100
|
-
kosuke lint --
|
|
124
|
+
# Create PR with custom base branch
|
|
125
|
+
kosuke lint --pr --base-branch=main
|
|
101
126
|
```
|
|
102
127
|
|
|
103
128
|
**Requirements:**
|
|
104
129
|
|
|
105
|
-
- Your `package.json` must have a `lint` script (e.g., `"lint": "eslint .
|
|
130
|
+
- Your `package.json` must have a `lint` script (e.g., `"lint": "eslint ."`)
|
|
106
131
|
- The lint script should support the `--fix` flag for auto-fixing
|
|
107
132
|
|
|
133
|
+
### `kosuke requirements`
|
|
134
|
+
|
|
135
|
+
Interactive requirements gathering tool powered by Claude AI. Creates a comprehensive `docs.md` file through a conversational workflow.
|
|
136
|
+
|
|
137
|
+
**How it works:**
|
|
138
|
+
|
|
139
|
+
1. You describe your web application
|
|
140
|
+
2. Claude analyzes and extracts core functionalities
|
|
141
|
+
3. Claude asks clarification questions
|
|
142
|
+
4. You answer iteratively until requirements are clear
|
|
143
|
+
5. Claude generates a detailed `docs.md` with:
|
|
144
|
+
- Product Overview
|
|
145
|
+
- Core Functionalities
|
|
146
|
+
- Technical Architecture
|
|
147
|
+
- User Flows
|
|
148
|
+
- Database Schema
|
|
149
|
+
- API Endpoints
|
|
150
|
+
- Implementation Notes
|
|
151
|
+
|
|
152
|
+
**Example:**
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
kosuke requirements
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**Features:**
|
|
159
|
+
|
|
160
|
+
- ✨ Fully interactive conversation workflow
|
|
161
|
+
- 💰 Real-time cost tracking (shows token usage)
|
|
162
|
+
- 🔄 Iterative refinement until requirements are comprehensive
|
|
163
|
+
- 📝 Structured markdown output in `docs.md`
|
|
164
|
+
- 🌐 Optimized for web application projects
|
|
165
|
+
|
|
108
166
|
## Configuration
|
|
109
167
|
|
|
110
168
|
### `.kosukeignore`
|
|
@@ -113,7 +171,7 @@ Create a `.kosukeignore` file in your project root to exclude files and director
|
|
|
113
171
|
|
|
114
172
|
Example:
|
|
115
173
|
|
|
116
|
-
```
|
|
174
|
+
```gitignore
|
|
117
175
|
# Ignore build outputs
|
|
118
176
|
dist/
|
|
119
177
|
build/
|
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
* Commands:
|
|
6
6
|
* sync-rules [--force] Sync rules from kosuke-template
|
|
7
7
|
* analyse Analyze and fix code quality issues
|
|
8
|
+
* lint Fix linting errors with Claude AI
|
|
9
|
+
* requirements Interactive requirements gathering
|
|
8
10
|
*
|
|
9
11
|
* Usage:
|
|
10
12
|
* bun run kosuke sync-rules
|
|
11
13
|
* bun run kosuke analyse
|
|
14
|
+
* bun run kosuke lint
|
|
15
|
+
* bun run kosuke requirements
|
|
12
16
|
*
|
|
13
17
|
* Environment Variables:
|
|
14
18
|
* ANTHROPIC_API_KEY - Required for Claude API
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
* Commands:
|
|
6
6
|
* sync-rules [--force] Sync rules from kosuke-template
|
|
7
7
|
* analyse Analyze and fix code quality issues
|
|
8
|
+
* lint Fix linting errors with Claude AI
|
|
9
|
+
* requirements Interactive requirements gathering
|
|
8
10
|
*
|
|
9
11
|
* Usage:
|
|
10
12
|
* bun run kosuke sync-rules
|
|
11
13
|
* bun run kosuke analyse
|
|
14
|
+
* bun run kosuke lint
|
|
15
|
+
* bun run kosuke requirements
|
|
12
16
|
*
|
|
13
17
|
* Environment Variables:
|
|
14
18
|
* ANTHROPIC_API_KEY - Required for Claude API
|
|
@@ -18,23 +22,29 @@ import 'dotenv/config';
|
|
|
18
22
|
import { syncRulesCommand } from './kosuke/commands/sync-rules.js';
|
|
19
23
|
import { analyseCommand } from './kosuke/commands/analyse.js';
|
|
20
24
|
import { lintCommand } from './kosuke/commands/lint.js';
|
|
25
|
+
import { requirementsCommand } from './kosuke/commands/requirements.js';
|
|
21
26
|
async function main() {
|
|
22
27
|
const args = process.argv.slice(2);
|
|
23
28
|
const command = args[0];
|
|
24
|
-
if (!command) {
|
|
29
|
+
if (!command || command === '--help' || command === '-h' || command === 'help') {
|
|
25
30
|
showHelp();
|
|
26
|
-
process.exit(
|
|
31
|
+
process.exit(0);
|
|
27
32
|
}
|
|
28
33
|
try {
|
|
29
34
|
switch (command) {
|
|
30
35
|
case 'sync-rules': {
|
|
31
|
-
const
|
|
32
|
-
|
|
36
|
+
const options = {
|
|
37
|
+
force: args.includes('--force'),
|
|
38
|
+
pr: args.includes('--pr'),
|
|
39
|
+
baseBranch: args.find((arg) => arg.startsWith('--base-branch='))?.split('=')[1],
|
|
40
|
+
};
|
|
41
|
+
await syncRulesCommand(options);
|
|
33
42
|
break;
|
|
34
43
|
}
|
|
35
44
|
case 'analyse': {
|
|
36
45
|
const options = {
|
|
37
|
-
|
|
46
|
+
pr: args.includes('--pr'),
|
|
47
|
+
baseBranch: args.find((arg) => arg.startsWith('--base-branch='))?.split('=')[1],
|
|
38
48
|
scope: args.find((arg) => arg.startsWith('--scope='))?.split('=')[1],
|
|
39
49
|
types: args
|
|
40
50
|
.find((arg) => arg.startsWith('--types='))
|
|
@@ -46,12 +56,16 @@ async function main() {
|
|
|
46
56
|
}
|
|
47
57
|
case 'lint': {
|
|
48
58
|
const options = {
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
pr: args.includes('--pr'),
|
|
60
|
+
baseBranch: args.find((arg) => arg.startsWith('--base-branch='))?.split('=')[1],
|
|
51
61
|
};
|
|
52
62
|
await lintCommand(options);
|
|
53
63
|
break;
|
|
54
64
|
}
|
|
65
|
+
case 'requirements': {
|
|
66
|
+
await requirementsCommand();
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
55
69
|
default:
|
|
56
70
|
console.error(`❌ Unknown command: ${command}\n`);
|
|
57
71
|
showHelp();
|
|
@@ -71,48 +85,66 @@ function showHelp() {
|
|
|
71
85
|
|
|
72
86
|
COMMANDS:
|
|
73
87
|
|
|
74
|
-
sync-rules [
|
|
88
|
+
sync-rules [options]
|
|
75
89
|
Sync rules and documentation from kosuke-template
|
|
76
90
|
|
|
77
91
|
Options:
|
|
78
|
-
--force
|
|
92
|
+
--force Compare files regardless of recent commit history
|
|
93
|
+
--pr Create a pull request with changes
|
|
94
|
+
--base-branch=<name> Base branch for PR (default: current branch)
|
|
79
95
|
|
|
80
96
|
Examples:
|
|
81
|
-
kosuke sync-rules
|
|
82
|
-
kosuke sync-rules --force
|
|
97
|
+
kosuke sync-rules # Local changes only
|
|
98
|
+
kosuke sync-rules --force # Force comparison
|
|
99
|
+
kosuke sync-rules --pr # Create PR
|
|
100
|
+
kosuke sync-rules --pr --base-branch=develop
|
|
83
101
|
|
|
84
|
-
analyse
|
|
102
|
+
analyse [options]
|
|
85
103
|
Analyze and fix code quality issues against CLAUDE.md rules
|
|
86
|
-
|
|
104
|
+
Applies fixes locally by default
|
|
87
105
|
|
|
88
106
|
Options:
|
|
89
|
-
--
|
|
90
|
-
--
|
|
91
|
-
--
|
|
107
|
+
--pr Create a pull request with fixes
|
|
108
|
+
--base-branch=<name> Base branch for PR (default: current branch)
|
|
109
|
+
--scope=<dirs> Analyze specific directories (comma-separated)
|
|
110
|
+
--types=<exts> Analyze specific file types (comma-separated)
|
|
92
111
|
|
|
93
112
|
Examples:
|
|
94
|
-
kosuke analyse
|
|
113
|
+
kosuke analyse # Local fixes only
|
|
114
|
+
kosuke analyse --pr # Create PR with fixes
|
|
95
115
|
kosuke analyse --scope=hooks,lib/trpc
|
|
96
116
|
kosuke analyse --types=ts,tsx
|
|
97
|
-
kosuke analyse --
|
|
117
|
+
kosuke analyse --pr --base-branch=main
|
|
98
118
|
|
|
99
|
-
lint
|
|
119
|
+
lint [options]
|
|
100
120
|
Use Claude AI to automatically fix linting errors
|
|
101
|
-
|
|
121
|
+
Applies fixes locally by default
|
|
102
122
|
|
|
103
123
|
Options:
|
|
104
|
-
--
|
|
105
|
-
--
|
|
124
|
+
--pr Create a pull request with fixes
|
|
125
|
+
--base-branch=<name> Base branch for PR (default: current branch)
|
|
106
126
|
|
|
107
127
|
Examples:
|
|
108
|
-
kosuke lint
|
|
109
|
-
kosuke lint --
|
|
110
|
-
kosuke lint --
|
|
128
|
+
kosuke lint # Local fixes only
|
|
129
|
+
kosuke lint --pr # Create PR with fixes
|
|
130
|
+
kosuke lint --pr --base-branch=main
|
|
131
|
+
|
|
132
|
+
requirements
|
|
133
|
+
Interactive requirements gathering with Claude AI
|
|
134
|
+
Generates a comprehensive docs.md file
|
|
135
|
+
|
|
136
|
+
Examples:
|
|
137
|
+
kosuke requirements
|
|
138
|
+
|
|
139
|
+
WORKFLOW:
|
|
140
|
+
|
|
141
|
+
By default, all commands apply changes locally without git operations.
|
|
142
|
+
Use the --pr flag to create a pull request with the changes.
|
|
111
143
|
|
|
112
144
|
ENVIRONMENT VARIABLES:
|
|
113
145
|
|
|
114
146
|
ANTHROPIC_API_KEY Required for Claude API access
|
|
115
|
-
GITHUB_TOKEN Required
|
|
147
|
+
GITHUB_TOKEN Required when using --pr flag
|
|
116
148
|
|
|
117
149
|
CONFIGURATION:
|
|
118
150
|
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;GAkBG;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,kBAAkB,EAAE,KAAK,CAAC,CAAC;QACzC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,SAAS,QAAQ;IACf,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwEb,CAAC,CAAC;AACH,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - Each batch of 10-12 files gets its own Claude run
|
|
6
6
|
* - Claude only sees those specific files (no repository-wide context)
|
|
7
7
|
* - Validate after each batch, commit locally
|
|
8
|
-
* - Push all commits
|
|
8
|
+
* - If --pr flag: Push all commits and create single PR
|
|
9
9
|
*/
|
|
10
10
|
import type { AnalyseOptions } from '../types.js';
|
|
11
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyse.d.ts","sourceRoot":"","sources":["../../../kosuke/commands/analyse.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"analyse.d.ts","sourceRoot":"","sources":["../../../kosuke/commands/analyse.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AASH,OAAO,KAAK,EAAE,cAAc,EAAc,MAAM,aAAa,CAAC;AA4R9D;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CAkFhF"}
|