@smicolon/ai-kit 0.3.1 → 0.4.0
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 +73 -40
- package/dist/index.js +260 -126
- package/package.json +5 -5
- package/.claude-plugin/marketplace.json +0 -373
- package/packs/architect/CHANGELOG.md +0 -17
- package/packs/architect/README.md +0 -58
- package/packs/architect/agents/system-architect.md +0 -768
- package/packs/architect/commands/diagram-create.md +0 -300
- package/packs/better-auth/.mcp.json +0 -14
- package/packs/better-auth/CHANGELOG.md +0 -26
- package/packs/better-auth/README.md +0 -125
- package/packs/better-auth/agents/auth-architect.md +0 -278
- package/packs/better-auth/commands/auth-provider-add.md +0 -265
- package/packs/better-auth/commands/auth-setup.md +0 -298
- package/packs/better-auth/skills/auth-security/SKILL.md +0 -425
- package/packs/better-auth/skills/better-auth-patterns/SKILL.md +0 -455
- package/packs/dev-loop/CHANGELOG.md +0 -69
- package/packs/dev-loop/README.md +0 -155
- package/packs/dev-loop/commands/cancel-dev.md +0 -21
- package/packs/dev-loop/commands/dev-loop.md +0 -72
- package/packs/dev-loop/commands/dev-plan.md +0 -351
- package/packs/dev-loop/hooks/hooks.json +0 -15
- package/packs/dev-loop/hooks/stop-hook.sh +0 -178
- package/packs/dev-loop/scripts/setup-dev-loop.sh +0 -194
- package/packs/dev-loop/skills/tdd-planner/SKILL.md +0 -249
- package/packs/dev-loop/skills/tdd-planner/references/framework-patterns.md +0 -874
- package/packs/dev-loop/skills/tdd-planner/references/good-example.md +0 -260
- package/packs/dev-loop/skills/tdd-planner/references/plan-template.md +0 -275
- package/packs/django/CHANGELOG.md +0 -39
- package/packs/django/README.md +0 -92
- package/packs/django/agents/django-architect.md +0 -182
- package/packs/django/agents/django-builder.md +0 -250
- package/packs/django/agents/django-feature-based.md +0 -420
- package/packs/django/agents/django-reviewer.md +0 -253
- package/packs/django/agents/django-tester.md +0 -230
- package/packs/django/commands/api-endpoint.md +0 -285
- package/packs/django/commands/model-create.md +0 -178
- package/packs/django/commands/test-generate.md +0 -325
- package/packs/django/rules/migrations.md +0 -138
- package/packs/django/rules/models.md +0 -167
- package/packs/django/rules/serializers.md +0 -126
- package/packs/django/rules/services.md +0 -131
- package/packs/django/rules/tests.md +0 -140
- package/packs/django/rules/views.md +0 -102
- package/packs/django/skills/import-convention-enforcer/SKILL.md +0 -226
- package/packs/django/skills/import-convention-enforcer/patterns/django-imports.md +0 -343
- package/packs/django/skills/migration-safety-checker/SKILL.md +0 -375
- package/packs/django/skills/model-entity-validator/SKILL.md +0 -298
- package/packs/django/skills/performance-optimizer/SKILL.md +0 -447
- package/packs/django/skills/red-phase-verifier/SKILL.md +0 -180
- package/packs/django/skills/security-first-validator/SKILL.md +0 -435
- package/packs/django/skills/test-coverage-advisor/SKILL.md +0 -394
- package/packs/django/skills/test-validity-checker/SKILL.md +0 -194
- package/packs/failure-log/CHANGELOG.md +0 -20
- package/packs/failure-log/README.md +0 -168
- package/packs/failure-log/commands/failure-add.md +0 -106
- package/packs/failure-log/commands/failure-list.md +0 -89
- package/packs/failure-log/hooks/hooks.json +0 -16
- package/packs/failure-log/hooks/scripts/inject-failures.sh +0 -64
- package/packs/failure-log/skills/failure-log-manager/SKILL.md +0 -164
- package/packs/flutter/CHANGELOG.md +0 -19
- package/packs/flutter/README.md +0 -170
- package/packs/flutter/agents/flutter-architect.md +0 -166
- package/packs/flutter/agents/flutter-builder.md +0 -303
- package/packs/flutter/agents/release-manager.md +0 -355
- package/packs/flutter/commands/fastlane-setup.md +0 -188
- package/packs/flutter/commands/flutter-build.md +0 -90
- package/packs/flutter/commands/flutter-deploy.md +0 -133
- package/packs/flutter/commands/flutter-test.md +0 -117
- package/packs/flutter/commands/signing-setup.md +0 -209
- package/packs/flutter/hooks/hooks.json +0 -17
- package/packs/flutter/skills/fastlane-knowledge/SKILL.md +0 -193
- package/packs/flutter/skills/flutter-architecture/SKILL.md +0 -127
- package/packs/flutter/skills/store-publishing/SKILL.md +0 -163
- package/packs/hono/CHANGELOG.md +0 -19
- package/packs/hono/README.md +0 -143
- package/packs/hono/agents/hono-architect.md +0 -240
- package/packs/hono/agents/hono-builder.md +0 -285
- package/packs/hono/agents/hono-reviewer.md +0 -279
- package/packs/hono/agents/hono-tester.md +0 -346
- package/packs/hono/commands/middleware-create.md +0 -223
- package/packs/hono/commands/project-init.md +0 -306
- package/packs/hono/commands/route-create.md +0 -153
- package/packs/hono/commands/rpc-client.md +0 -263
- package/packs/hono/hooks/hooks.json +0 -4
- package/packs/hono/skills/cloudflare-bindings/SKILL.md +0 -408
- package/packs/hono/skills/hono-patterns/SKILL.md +0 -309
- package/packs/hono/skills/rpc-typesafe/SKILL.md +0 -388
- package/packs/hono/skills/zod-validation/SKILL.md +0 -332
- package/packs/nestjs/CHANGELOG.md +0 -29
- package/packs/nestjs/README.md +0 -75
- package/packs/nestjs/agents/nestjs-architect.md +0 -402
- package/packs/nestjs/agents/nestjs-builder.md +0 -301
- package/packs/nestjs/agents/nestjs-tester.md +0 -437
- package/packs/nestjs/commands/module-create.md +0 -369
- package/packs/nestjs/rules/controllers.md +0 -92
- package/packs/nestjs/rules/dto.md +0 -124
- package/packs/nestjs/rules/entities.md +0 -102
- package/packs/nestjs/rules/services.md +0 -106
- package/packs/nestjs/skills/barrel-export-manager/SKILL.md +0 -389
- package/packs/nestjs/skills/import-convention-enforcer/SKILL.md +0 -365
- package/packs/nextjs/CHANGELOG.md +0 -36
- package/packs/nextjs/README.md +0 -76
- package/packs/nextjs/agents/frontend-tester.md +0 -680
- package/packs/nextjs/agents/frontend-visual.md +0 -820
- package/packs/nextjs/agents/nextjs-architect.md +0 -331
- package/packs/nextjs/agents/nextjs-modular.md +0 -433
- package/packs/nextjs/commands/component-create.md +0 -398
- package/packs/nextjs/rules/api-routes.md +0 -129
- package/packs/nextjs/rules/components.md +0 -106
- package/packs/nextjs/rules/hooks.md +0 -132
- package/packs/nextjs/skills/accessibility-validator/SKILL.md +0 -445
- package/packs/nextjs/skills/import-convention-enforcer/SKILL.md +0 -399
- package/packs/nextjs/skills/react-form-validator/SKILL.md +0 -569
- package/packs/nuxtjs/CHANGELOG.md +0 -30
- package/packs/nuxtjs/README.md +0 -56
- package/packs/nuxtjs/agents/frontend-tester.md +0 -680
- package/packs/nuxtjs/agents/frontend-visual.md +0 -820
- package/packs/nuxtjs/agents/nuxtjs-architect.md +0 -537
- package/packs/nuxtjs/commands/component-create.md +0 -223
- package/packs/nuxtjs/rules/components.md +0 -101
- package/packs/nuxtjs/rules/composables.md +0 -118
- package/packs/nuxtjs/rules/server-routes.md +0 -127
- package/packs/nuxtjs/skills/accessibility-validator/SKILL.md +0 -183
- package/packs/nuxtjs/skills/import-convention-enforcer/SKILL.md +0 -196
- package/packs/nuxtjs/skills/veevalidate-form-validator/SKILL.md +0 -190
- package/packs/onboard/CHANGELOG.md +0 -22
- package/packs/onboard/README.md +0 -103
- package/packs/onboard/agents/onboard-guide.md +0 -118
- package/packs/onboard/commands/onboard.md +0 -313
- package/packs/onboard/skills/onboard-context-provider/SKILL.md +0 -98
- package/packs/tanstack-router/CHANGELOG.md +0 -30
- package/packs/tanstack-router/README.md +0 -113
- package/packs/tanstack-router/agents/tanstack-architect.md +0 -173
- package/packs/tanstack-router/agents/tanstack-builder.md +0 -360
- package/packs/tanstack-router/agents/tanstack-tester.md +0 -454
- package/packs/tanstack-router/commands/form-create.md +0 -313
- package/packs/tanstack-router/commands/query-create.md +0 -263
- package/packs/tanstack-router/commands/route-create.md +0 -190
- package/packs/tanstack-router/commands/table-create.md +0 -413
- package/packs/tanstack-router/skills/ai-patterns/SKILL.md +0 -370
- package/packs/tanstack-router/skills/db-patterns/SKILL.md +0 -346
- package/packs/tanstack-router/skills/devtools-patterns/SKILL.md +0 -415
- package/packs/tanstack-router/skills/form-patterns/SKILL.md +0 -425
- package/packs/tanstack-router/skills/pacer-patterns/SKILL.md +0 -341
- package/packs/tanstack-router/skills/query-patterns/SKILL.md +0 -359
- package/packs/tanstack-router/skills/router-patterns/SKILL.md +0 -285
- package/packs/tanstack-router/skills/store-patterns/SKILL.md +0 -351
- package/packs/tanstack-router/skills/table-patterns/SKILL.md +0 -531
- package/packs/tanstack-router/skills/tanstack-conventions/SKILL.md +0 -428
- package/packs/tanstack-router/skills/virtual-patterns/SKILL.md +0 -490
- package/packs/worktree/CHANGELOG.md +0 -45
- package/packs/worktree/README.md +0 -219
- package/packs/worktree/commands/wt.md +0 -93
- package/packs/worktree/scripts/wt.sh +0 -957
- package/packs/worktree/skills/worktree-manager/SKILL.md +0 -113
package/README.md
CHANGED
|
@@ -2,13 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
AI coding tool pack manager. Install convention packs (agents, skills, commands, rules, hooks) for any AI coding tool.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
### Homebrew (macOS/Linux)
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
brew install smicolon/tap/ai-kit
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Standalone Binary
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
curl -fsSL https://raw.githubusercontent.com/smicolon/ai-kit/main/scripts/install.sh | sh
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Downloads a self-contained binary. Override install location with `AI_KIT_INSTALL_DIR=~/.local/bin`.
|
|
20
|
+
|
|
21
|
+
### npm
|
|
6
22
|
|
|
7
23
|
```bash
|
|
8
24
|
npx @smicolon/ai-kit@latest init
|
|
9
25
|
```
|
|
10
26
|
|
|
11
|
-
|
|
27
|
+
Requires Node.js 22+.
|
|
12
28
|
|
|
13
29
|
## Commands
|
|
14
30
|
|
|
@@ -17,8 +33,8 @@ This walks you through selecting your AI tools and stack, then installs the righ
|
|
|
17
33
|
Interactive first-time setup. Prompts for your AI tools, stack, and component preferences.
|
|
18
34
|
|
|
19
35
|
```bash
|
|
20
|
-
|
|
21
|
-
|
|
36
|
+
ai-kit init
|
|
37
|
+
ai-kit init --cwd apps/web # monorepo sub-package
|
|
22
38
|
```
|
|
23
39
|
|
|
24
40
|
### `add <pack>`
|
|
@@ -26,11 +42,11 @@ npx @smicolon/ai-kit@latest init --cwd apps/web # monorepo sub-package
|
|
|
26
42
|
Add a pack to your project.
|
|
27
43
|
|
|
28
44
|
```bash
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
ai-kit add django
|
|
46
|
+
ai-kit add django --skills-only
|
|
47
|
+
ai-kit add django --agents-only
|
|
48
|
+
ai-kit add django --rules-only
|
|
49
|
+
ai-kit add django --tools claude-code,cursor
|
|
34
50
|
```
|
|
35
51
|
|
|
36
52
|
### `list`
|
|
@@ -38,8 +54,8 @@ npx @smicolon/ai-kit@latest add django --tools claude-code,cursor
|
|
|
38
54
|
Show available or installed packs.
|
|
39
55
|
|
|
40
56
|
```bash
|
|
41
|
-
|
|
42
|
-
|
|
57
|
+
ai-kit list # available packs
|
|
58
|
+
ai-kit list --installed # installed packs
|
|
43
59
|
```
|
|
44
60
|
|
|
45
61
|
### `remove <pack>`
|
|
@@ -47,7 +63,7 @@ npx @smicolon/ai-kit@latest list --installed # installed packs
|
|
|
47
63
|
Remove a pack and all its installed files.
|
|
48
64
|
|
|
49
65
|
```bash
|
|
50
|
-
|
|
66
|
+
ai-kit remove django
|
|
51
67
|
```
|
|
52
68
|
|
|
53
69
|
### `search <query>`
|
|
@@ -55,9 +71,9 @@ npx @smicolon/ai-kit@latest remove django
|
|
|
55
71
|
Search packs by name or keyword.
|
|
56
72
|
|
|
57
73
|
```bash
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
74
|
+
ai-kit search auth
|
|
75
|
+
ai-kit search frontend
|
|
76
|
+
ai-kit search tdd
|
|
61
77
|
```
|
|
62
78
|
|
|
63
79
|
### `update [pack]`
|
|
@@ -65,10 +81,48 @@ npx @smicolon/ai-kit@latest search tdd
|
|
|
65
81
|
Update installed packs to latest versions.
|
|
66
82
|
|
|
67
83
|
```bash
|
|
68
|
-
|
|
69
|
-
|
|
84
|
+
ai-kit update # update all
|
|
85
|
+
ai-kit update django # update one
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### `cache`
|
|
89
|
+
|
|
90
|
+
Manage the local pack cache.
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
ai-kit cache clear # force re-download on next run
|
|
70
94
|
```
|
|
71
95
|
|
|
96
|
+
## Global Options
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
ai-kit --no-cache <command> # skip cache, always fetch latest from GitHub
|
|
100
|
+
ai-kit --branch dev <command> # use a specific branch (default: main)
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## How It Works
|
|
104
|
+
|
|
105
|
+
Packs are fetched from GitHub at runtime and cached locally at `~/.config/ai-kit/cache/`. Every command checks for updates by comparing `marketplace.json` — if packs have changed upstream, they're re-downloaded automatically. No stale data when you're online.
|
|
106
|
+
|
|
107
|
+
Skills use a **canonical + symlink** strategy:
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
your-project/
|
|
111
|
+
├── .agents/skills/ # canonical copies
|
|
112
|
+
│ ├── import-convention-enforcer/
|
|
113
|
+
│ └── model-entity-validator/
|
|
114
|
+
├── .claude/skills/ # symlinks → .agents/skills/*
|
|
115
|
+
├── .cursor/skills/ # symlinks → .agents/skills/*
|
|
116
|
+
├── .claude/agents/ # copied .md files
|
|
117
|
+
├── .claude/commands/ # copied .md files
|
|
118
|
+
├── .claude/rules/ # copied .md files
|
|
119
|
+
├── .cursor/rules/ # converted .mdc files
|
|
120
|
+
├── .ai-kit.json # tracks installed packs + files
|
|
121
|
+
└── .gitignore # auto-updated
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Tool preferences are stored globally at `~/.config/ai-kit/config.json` (pick once, works in all projects). Local `.ai-kit.json` tracks installed packs and files for clean removal — it's auto-added to `.gitignore`.
|
|
125
|
+
|
|
72
126
|
## Supported AI Tools
|
|
73
127
|
|
|
74
128
|
| Tool | Skills | Agents | Commands | Rules | Hooks |
|
|
@@ -107,34 +161,13 @@ npx @smicolon/ai-kit@latest update django # update one
|
|
|
107
161
|
| worktree | - | 1 | 1 | - |
|
|
108
162
|
| onboard | 1 | 1 | 1 | - |
|
|
109
163
|
|
|
110
|
-
## How It Works
|
|
111
|
-
|
|
112
|
-
Skills use a **canonical + symlink** strategy:
|
|
113
|
-
|
|
114
|
-
```
|
|
115
|
-
your-project/
|
|
116
|
-
├── .agents/skills/ # canonical copies
|
|
117
|
-
│ ├── import-convention-enforcer/
|
|
118
|
-
│ └── model-entity-validator/
|
|
119
|
-
├── .claude/skills/ # symlinks → .agents/skills/*
|
|
120
|
-
├── .cursor/skills/ # symlinks → .agents/skills/*
|
|
121
|
-
├── .claude/agents/ # copied .md files
|
|
122
|
-
├── .claude/commands/ # copied .md files
|
|
123
|
-
├── .claude/rules/ # copied .md files
|
|
124
|
-
├── .cursor/rules/ # converted .mdc files
|
|
125
|
-
├── .ai-kit.json # tracks installed packs + files
|
|
126
|
-
└── .gitignore # auto-updated
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
Tool preferences are stored globally at `~/.config/ai-kit/config.json` (pick once, works in all projects). Local `.ai-kit.json` tracks installed packs and files for clean removal — it's auto-added to `.gitignore`.
|
|
130
|
-
|
|
131
164
|
## Monorepo Support
|
|
132
165
|
|
|
133
166
|
Use `--cwd` to target a sub-package. Both the sub-package and root `.gitignore` are updated.
|
|
134
167
|
|
|
135
168
|
```bash
|
|
136
|
-
|
|
137
|
-
|
|
169
|
+
ai-kit init --cwd apps/web
|
|
170
|
+
ai-kit add django --cwd apps/web
|
|
138
171
|
```
|
|
139
172
|
|
|
140
173
|
## License
|