cokit-cli 1.2.6 → 1.2.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/README.md +4 -14
- package/docs/cokit-comprehensive-mapping-guide.md +1 -5
- package/docs/cokit-slides.md +2 -4
- package/docs/cokit-team-presentation.md +0 -2
- package/docs/migration-guide.md +1 -1
- package/docs/project-overview-pdr.md +1 -1
- package/docs/project-roadmap.md +1 -1
- package/docs/system-architecture.md +1 -3
- package/package.json +1 -1
- package/src/commands/add.js +0 -1
- package/src/commands/doctor.js +2 -2
- package/src/commands/init.js +19 -28
- package/src/commands/update.js +1 -1
package/README.md
CHANGED
|
@@ -6,19 +6,11 @@ Check it out at https://camping89.github.io/cokit/index.html
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
8
|
```bash
|
|
9
|
-
npx cokit-cli init
|
|
9
|
+
npx cokit-cli init
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
That's it! All CoKit resources are now available in your Copilot.
|
|
13
13
|
|
|
14
|
-
### Options
|
|
15
|
-
|
|
16
|
-
| Command | Description |
|
|
17
|
-
|---------|-------------|
|
|
18
|
-
| `npx cokit-cli init` | Interactive setup |
|
|
19
|
-
| `npx cokit-cli init -g` | Global install (recommended) |
|
|
20
|
-
| `npx cokit-cli init -a` | Global + project install |
|
|
21
|
-
|
|
22
14
|
## Usage
|
|
23
15
|
|
|
24
16
|
After installation, use commands in GitHub Copilot chat:
|
|
@@ -117,12 +109,10 @@ Otherwise?
|
|
|
117
109
|
|
|
118
110
|
See [docs/](docs/) for detailed resource documentation.
|
|
119
111
|
|
|
120
|
-
## What's New (v1.2.
|
|
112
|
+
## What's New (v1.2.7)
|
|
121
113
|
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
- Updated all 12 agents with Copilot alignment (removed Team Mode, added skill qualifiers)
|
|
125
|
-
- Added "(if available)" qualifiers for external tools (repomix, ai-multimodal, etc.)
|
|
114
|
+
- Simplified CLI: removed `-g`/`--global` and `-a`/`--all` flags — `init` is now always interactive
|
|
115
|
+
- Removed `-g`/`--global` from `add` command
|
|
126
116
|
|
|
127
117
|
See [CHANGELOG.md](CHANGELOG.md) for full history.
|
|
128
118
|
|
|
@@ -32,8 +32,6 @@ CoKit transforms GitHub Copilot from basic autocomplete to a structured AI devel
|
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
npx cokit-cli init # Interactive setup
|
|
35
|
-
npx cokit-cli init -g # Global resources only
|
|
36
|
-
npx cokit-cli init -a # Both project and global
|
|
37
35
|
```
|
|
38
36
|
|
|
39
37
|
---
|
|
@@ -163,7 +161,7 @@ items:
|
|
|
163
161
|
|
|
164
162
|
```bash
|
|
165
163
|
cd your-project
|
|
166
|
-
npx cokit-cli init
|
|
164
|
+
npx cokit-cli init
|
|
167
165
|
```
|
|
168
166
|
|
|
169
167
|
You'll be prompted to choose:
|
|
@@ -201,8 +199,6 @@ You'll be prompted to choose:
|
|
|
201
199
|
| Command | Description |
|
|
202
200
|
|---------|-------------|
|
|
203
201
|
| `npx cokit-cli init` | Interactive setup wizard |
|
|
204
|
-
| `npx cokit-cli init -g` | Install personal skills only |
|
|
205
|
-
| `npx cokit-cli init -a` | Install both project and personal |
|
|
206
202
|
| `npx cokit-cli list` | Show installed components |
|
|
207
203
|
| `npx cokit-cli doctor` | Diagnose setup issues |
|
|
208
204
|
| `npx cokit-cli update` | Update to latest version |
|
package/docs/cokit-slides.md
CHANGED
|
@@ -92,9 +92,7 @@ All unified in single namespace with cross-navigation.
|
|
|
92
92
|
|
|
93
93
|
| Option | Command | Location |
|
|
94
94
|
|--------|---------|----------|
|
|
95
|
-
| **
|
|
96
|
-
| **Personal** | `npx cokit-cli init -g` | `~/.copilot/` |
|
|
97
|
-
| **Both** | `npx cokit-cli init -a` | Both |
|
|
95
|
+
| **Interactive** | `npx cokit-cli init` | Choose: project, global, or both |
|
|
98
96
|
|
|
99
97
|
---
|
|
100
98
|
|
|
@@ -209,4 +207,4 @@ npx cokit-cli init # Always gets latest version
|
|
|
209
207
|
|
|
210
208
|
**Full docs:** `docs/cokit-team-presentation.md`
|
|
211
209
|
|
|
212
|
-
**Quick start:** `npx cokit-cli init
|
|
210
|
+
**Quick start:** `npx cokit-cli init`
|
|
@@ -158,8 +158,6 @@ your-project/
|
|
|
158
158
|
| Command | Description |
|
|
159
159
|
|---------|-------------|
|
|
160
160
|
| `npx cokit-cli init` | Interactive setup wizard |
|
|
161
|
-
| `npx cokit-cli init -g` | Install personal skills only |
|
|
162
|
-
| `npx cokit-cli init -a` | Both project + personal |
|
|
163
161
|
| `npx cokit-cli add <skill>` | Add specific skill |
|
|
164
162
|
| `npx cokit-cli list` | Show installed components |
|
|
165
163
|
| `npx cokit-cli doctor` | Diagnose setup issues |
|
package/docs/migration-guide.md
CHANGED
|
@@ -22,7 +22,7 @@ CoKit CLI installs pre-built resources to `~/.copilot/`:
|
|
|
22
22
|
| Two Workflows | `ck-*` (flexible) vs `ck-spec-*` (spec-driven) |
|
|
23
23
|
| Sync Pipeline | Auto-merge upstream ClaudeKit + SpecKit |
|
|
24
24
|
| Navigation | Cross-command suggestions in all prompts |
|
|
25
|
-
|
|
|
25
|
+
| Install | Single `npx cokit-cli init` command |
|
|
26
26
|
|
|
27
27
|
## Target Users
|
|
28
28
|
- Developers using GitHub Copilot
|
package/docs/project-roadmap.md
CHANGED
|
@@ -93,7 +93,7 @@ CoKit makes it dead-simple for non-technical users to port Claude Code workflow
|
|
|
93
93
|
**Deliverables:**
|
|
94
94
|
- Removed non-coding resources
|
|
95
95
|
- Consolidated documentation with updated counts
|
|
96
|
-
- Updated all CLI references: `cokit` → `cokit-cli`,
|
|
96
|
+
- Updated all CLI references: `cokit` → `cokit-cli`, removed `-g`/`--global` flag
|
|
97
97
|
- Updated version references to 1.0.8
|
|
98
98
|
- Fixed broken links (README.FLOW.md, FAQ.md)
|
|
99
99
|
- Added real CoKit examples throughout docs
|
|
@@ -37,8 +37,6 @@
|
|
|
37
37
|
│ CLI (npx cokit-cli) │
|
|
38
38
|
├─────────────────────────────────────────────────────────────┤
|
|
39
39
|
│ bin/cokit.js → src/index.js │
|
|
40
|
-
│ ├── init -g → Install to ~/.copilot/ │
|
|
41
|
-
│ ├── init -a → Install global + project │
|
|
42
40
|
│ └── init → Interactive setup │
|
|
43
41
|
└─────────────────────────────────────────────────────────────┘
|
|
44
42
|
```
|
|
@@ -57,7 +55,7 @@
|
|
|
57
55
|
|
|
58
56
|
### CLI Install
|
|
59
57
|
```
|
|
60
|
-
1. User runs: npx cokit-cli init
|
|
58
|
+
1. User runs: npx cokit-cli init
|
|
61
59
|
2. CLI copies: prompts/, agents/, skills/, instructions/, collections/
|
|
62
60
|
3. Target: ~/.copilot/
|
|
63
61
|
4. User gets: All ck-* commands in Copilot
|
package/package.json
CHANGED
package/src/commands/add.js
CHANGED
|
@@ -18,7 +18,6 @@ export const addCommand = new Command('add')
|
|
|
18
18
|
.description('Add a specific skill')
|
|
19
19
|
.argument('[skill]', 'Skill name to add')
|
|
20
20
|
.option('-l, --list', 'List available skills')
|
|
21
|
-
.option('-g, --global', 'Add to ~/.copilot/skills/ (default)')
|
|
22
21
|
.option('--local', 'Add to .github/skills/ in current project')
|
|
23
22
|
.option('--overwrite', 'Overwrite existing files')
|
|
24
23
|
.action(async (skill, options) => {
|
package/src/commands/doctor.js
CHANGED
|
@@ -60,12 +60,12 @@ export const doctorCommand = new Command('doctor')
|
|
|
60
60
|
warn(`~/.copilot/skills/ has ${skills.length} skills (expected 5)`);
|
|
61
61
|
} else {
|
|
62
62
|
error('~/.copilot/skills/ is empty');
|
|
63
|
-
hint('Run: npx cokit init
|
|
63
|
+
hint('Run: npx cokit init');
|
|
64
64
|
hasIssues = true;
|
|
65
65
|
}
|
|
66
66
|
} else {
|
|
67
67
|
error('~/.copilot/skills/ not found');
|
|
68
|
-
hint('Run: npx cokit init
|
|
68
|
+
hint('Run: npx cokit init');
|
|
69
69
|
hasIssues = true;
|
|
70
70
|
}
|
|
71
71
|
|
package/src/commands/init.js
CHANGED
|
@@ -21,8 +21,6 @@ import { mkdirSync, existsSync } from 'fs';
|
|
|
21
21
|
|
|
22
22
|
export const initCommand = new Command('init')
|
|
23
23
|
.description('Set up CoKit in your project or globally')
|
|
24
|
-
.option('-g, --global', 'Install all CoKit resources to ~/.copilot/')
|
|
25
|
-
.option('-a, --all', 'Install both project templates and global resources')
|
|
26
24
|
.option('-y, --yes', 'Skip confirmation prompts')
|
|
27
25
|
.option('--overwrite', 'Overwrite existing files without prompting')
|
|
28
26
|
.action(async (options) => {
|
|
@@ -34,33 +32,26 @@ export const initCommand = new Command('init')
|
|
|
34
32
|
let installProject = false;
|
|
35
33
|
let installGlobal = false;
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
initial: 0
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
if (!response.mode) {
|
|
56
|
-
console.log('Setup cancelled.');
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
installProject = response.mode === 'project' || response.mode === 'both';
|
|
61
|
-
installGlobal = response.mode === 'global' || response.mode === 'both';
|
|
35
|
+
const response = await prompts({
|
|
36
|
+
type: 'select',
|
|
37
|
+
name: 'mode',
|
|
38
|
+
message: 'What do you want to set up?',
|
|
39
|
+
choices: [
|
|
40
|
+
{ title: 'Project templates (.github/)', value: 'project', description: 'For this project only - share via git' },
|
|
41
|
+
{ title: 'Global resources (~/.copilot/)', value: 'global', description: 'Works in all projects' },
|
|
42
|
+
{ title: 'Both', value: 'both', description: 'Recommended for first-time setup' }
|
|
43
|
+
],
|
|
44
|
+
initial: 0
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
if (!response.mode) {
|
|
48
|
+
console.log('Setup cancelled.');
|
|
49
|
+
return;
|
|
62
50
|
}
|
|
63
51
|
|
|
52
|
+
installProject = response.mode === 'project' || response.mode === 'both';
|
|
53
|
+
installGlobal = response.mode === 'global' || response.mode === 'both';
|
|
54
|
+
|
|
64
55
|
if (!options.yes) {
|
|
65
56
|
const targets = [];
|
|
66
57
|
if (installProject) targets.push('.github/');
|
|
@@ -94,7 +85,7 @@ export const initCommand = new Command('init')
|
|
|
94
85
|
}
|
|
95
86
|
|
|
96
87
|
done('Done! Open VS Code and start using Copilot.');
|
|
97
|
-
hint('Try typing /ck
|
|
88
|
+
hint('Try typing /ck-fix in Copilot Chat.');
|
|
98
89
|
console.log();
|
|
99
90
|
|
|
100
91
|
} catch (err) {
|
package/src/commands/update.js
CHANGED
|
@@ -15,7 +15,7 @@ export const updateCommand = new Command('update')
|
|
|
15
15
|
console.log(' npx cokit init --overwrite');
|
|
16
16
|
console.log();
|
|
17
17
|
hint('To update personal skills, run:');
|
|
18
|
-
console.log(' npx cokit init --
|
|
18
|
+
console.log(' npx cokit init --overwrite');
|
|
19
19
|
console.log();
|
|
20
20
|
done('No action needed - npx always fetches latest!');
|
|
21
21
|
console.log();
|