@mikulgohil/ai-kit 1.10.0 → 2.0.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 +78 -39
- package/agents/{api-designer.md → kit-api-designer.md} +1 -1
- package/agents/{architect.md → kit-architect.md} +1 -1
- package/agents/{build-resolver.md → kit-build-resolver.md} +1 -1
- package/agents/{ci-debugger.md → kit-ci-debugger.md} +1 -1
- package/agents/{code-reviewer.md → kit-code-reviewer.md} +1 -1
- package/agents/{data-scientist.md → kit-data-scientist.md} +1 -1
- package/agents/{dependency-auditor.md → kit-dependency-auditor.md} +1 -1
- package/agents/{doc-updater.md → kit-doc-updater.md} +1 -1
- package/agents/{e2e-runner.md → kit-e2e-runner.md} +1 -1
- package/agents/{migration-specialist.md → kit-migration-specialist.md} +1 -1
- package/agents/{performance-profiler.md → kit-performance-profiler.md} +1 -1
- package/agents/{planner.md → kit-planner.md} +1 -1
- package/agents/{refactor-cleaner.md → kit-refactor-cleaner.md} +1 -1
- package/agents/{security-reviewer.md → kit-security-reviewer.md} +1 -1
- package/agents/{sitecore-specialist.md → kit-sitecore-specialist.md} +1 -1
- package/agents/{tdd-guide.md → kit-tdd-guide.md} +1 -1
- package/commands/{clarify-requirements.md → kit-clarify-requirements.md} +1 -1
- package/commands/{harness-audit.md → kit-harness-audit.md} +1 -1
- package/commands/{orchestrate.md → kit-orchestrate.md} +11 -11
- package/commands/{resume-session.md → kit-resume-session.md} +1 -1
- package/commands/{token-tips.md → kit-token-tips.md} +4 -4
- package/dist/index.js +624 -253
- package/dist/index.js.map +1 -1
- package/guides/figma-workflow.md +5 -5
- package/guides/getting-started.md +58 -32
- package/guides/hooks-and-agents.md +19 -19
- package/guides/prompt-playbook.md +1 -1
- package/guides/token-saving-tips.md +3 -3
- package/package.json +7 -3
- package/templates/claude-md/base.md +27 -27
- /package/commands/{accessibility-audit.md → kit-accessibility-audit.md} +0 -0
- /package/commands/{api-route.md → kit-api-route.md} +0 -0
- /package/commands/{bundle-check.md → kit-bundle-check.md} +0 -0
- /package/commands/{changelog.md → kit-changelog.md} +0 -0
- /package/commands/{checkpoint.md → kit-checkpoint.md} +0 -0
- /package/commands/{commit-msg.md → kit-commit-msg.md} +0 -0
- /package/commands/{deep-interview.md → kit-deep-interview.md} +0 -0
- /package/commands/{dep-check.md → kit-dep-check.md} +0 -0
- /package/commands/{design-tokens.md → kit-design-tokens.md} +0 -0
- /package/commands/{document.md → kit-document.md} +0 -0
- /package/commands/{env-setup.md → kit-env-setup.md} +0 -0
- /package/commands/{error-boundary.md → kit-error-boundary.md} +0 -0
- /package/commands/{extract-hook.md → kit-extract-hook.md} +0 -0
- /package/commands/{fetch-docs.md → kit-fetch-docs.md} +0 -0
- /package/commands/{figma-to-code.md → kit-figma-to-code.md} +0 -0
- /package/commands/{fix-bug.md → kit-fix-bug.md} +0 -0
- /package/commands/{i18n-check.md → kit-i18n-check.md} +0 -0
- /package/commands/{learn-from-pr.md → kit-learn-from-pr.md} +0 -0
- /package/commands/{middleware.md → kit-middleware.md} +0 -0
- /package/commands/{migrate.md → kit-migrate.md} +0 -0
- /package/commands/{new-component.md → kit-new-component.md} +0 -0
- /package/commands/{new-page.md → kit-new-page.md} +0 -0
- /package/commands/{optimize.md → kit-optimize.md} +0 -0
- /package/commands/{perf-audit.md → kit-perf-audit.md} +0 -0
- /package/commands/{pr-description.md → kit-pr-description.md} +0 -0
- /package/commands/{pre-pr.md → kit-pre-pr.md} +0 -0
- /package/commands/{prompt-help.md → kit-prompt-help.md} +0 -0
- /package/commands/{quality-gate-check.md → kit-quality-gate-check.md} +0 -0
- /package/commands/{quality-gate.md → kit-quality-gate.md} +0 -0
- /package/commands/{refactor.md → kit-refactor.md} +0 -0
- /package/commands/{release-notes.md → kit-release-notes.md} +0 -0
- /package/commands/{release.md → kit-release.md} +0 -0
- /package/commands/{responsive-check.md → kit-responsive-check.md} +0 -0
- /package/commands/{review.md → kit-review.md} +0 -0
- /package/commands/{save-session.md → kit-save-session.md} +0 -0
- /package/commands/{scaffold-spec.md → kit-scaffold-spec.md} +0 -0
- /package/commands/{schema-gen.md → kit-schema-gen.md} +0 -0
- /package/commands/{search-first.md → kit-search-first.md} +0 -0
- /package/commands/{security-check.md → kit-security-check.md} +0 -0
- /package/commands/{server-action.md → kit-server-action.md} +0 -0
- /package/commands/{sitecore-debug.md → kit-sitecore-debug.md} +0 -0
- /package/commands/{standup.md → kit-standup.md} +0 -0
- /package/commands/{storybook-gen.md → kit-storybook-gen.md} +0 -0
- /package/commands/{test-gaps.md → kit-test-gaps.md} +0 -0
- /package/commands/{test.md → kit-test.md} +0 -0
- /package/commands/{type-fix.md → kit-type-fix.md} +0 -0
- /package/commands/{understand.md → kit-understand.md} +0 -0
- /package/commands/{upgrade.md → kit-upgrade.md} +0 -0
package/README.md
CHANGED
|
@@ -54,8 +54,8 @@ npx @mikulgohil/ai-kit health
|
|
|
54
54
|
|---|---|
|
|
55
55
|
| `CLAUDE.md` | Project-aware rules for Claude Code — your stack, conventions, and patterns |
|
|
56
56
|
| `.cursorrules` + `.cursor/rules/*.mdc` | Same rules formatted for Cursor AI with scoped file matching |
|
|
57
|
-
| **48 Skills** | Auto-discovered workflows — `/review`, `/new-component`, `/security-check`, `/pre-pr`, and more |
|
|
58
|
-
| **16 Agents** | Specialized AI assistants — planner, reviewer, security, architect, build-resolver, and more |
|
|
57
|
+
| **48 Skills** | Auto-discovered workflows — `/kit-review`, `/kit-new-component`, `/kit-security-check`, `/kit-pre-pr`, and more |
|
|
58
|
+
| **16 Agents** | Specialized AI assistants — kit-planner, kit-code-reviewer, kit-security-reviewer, kit-architect, kit-build-resolver, and more |
|
|
59
59
|
| **3 Context Modes** | Switch between dev (build fast), review (check quality), and research (understand code) |
|
|
60
60
|
| **Automated Hooks** | Auto-format, TypeScript checks, console.log warnings, mistakes auto-capture, git safety |
|
|
61
61
|
| **6 Guides** | Developer playbooks for prompts, tokens, hooks, agents, Figma workflow |
|
|
@@ -88,13 +88,13 @@ Structured AI workflows applied automatically — the AI recognizes what you're
|
|
|
88
88
|
|
|
89
89
|
| Category | Skills |
|
|
90
90
|
|---|---|
|
|
91
|
-
| **Getting Started** | `prompt-help`, `understand` |
|
|
92
|
-
| **Building** | `new-component`, `new-page`, `api-route`, `error-boundary`, `extract-hook`, `figma-to-code`, `design-tokens`, `schema-gen`, `storybook-gen`, `scaffold-spec` |
|
|
93
|
-
| **Quality & Review** | `review`, `pre-pr`, `test`, `accessibility-audit`, `security-check`, `responsive-check`, `type-fix`, `perf-audit`, `bundle-check`, `i18n-check`, `test-gaps` |
|
|
94
|
-
| **Maintenance** | `fix-bug`, `refactor`, `optimize`, `migrate`, `dep-check`, `sitecore-debug`, `upgrade` |
|
|
95
|
-
| **Workflow** | `document`, `commit-msg`, `env-setup`, `changelog`, `release`, `pr-description`, `standup`, `learn-from-pr`, `release-notes` |
|
|
96
|
-
| **Session** | `save-session`, `resume-session`, `checkpoint` |
|
|
97
|
-
| **Orchestration** | `orchestrate`, `quality-gate`, `harness-audit` |
|
|
91
|
+
| **Getting Started** | `kit-prompt-help`, `kit-understand` |
|
|
92
|
+
| **Building** | `kit-new-component`, `kit-new-page`, `kit-api-route`, `kit-error-boundary`, `kit-extract-hook`, `kit-figma-to-code`, `kit-design-tokens`, `kit-schema-gen`, `kit-storybook-gen`, `kit-scaffold-spec` |
|
|
93
|
+
| **Quality & Review** | `kit-review`, `kit-pre-pr`, `kit-test`, `kit-accessibility-audit`, `kit-security-check`, `kit-responsive-check`, `kit-type-fix`, `kit-perf-audit`, `kit-bundle-check`, `kit-i18n-check`, `kit-test-gaps` |
|
|
94
|
+
| **Maintenance** | `kit-fix-bug`, `kit-refactor`, `kit-optimize`, `kit-migrate`, `kit-dep-check`, `kit-sitecore-debug`, `kit-upgrade` |
|
|
95
|
+
| **Workflow** | `kit-document`, `kit-commit-msg`, `kit-env-setup`, `kit-changelog`, `kit-release`, `kit-pr-description`, `kit-standup`, `kit-learn-from-pr`, `kit-release-notes` |
|
|
96
|
+
| **Session** | `kit-save-session`, `kit-resume-session`, `kit-checkpoint` |
|
|
97
|
+
| **Orchestration** | `kit-orchestrate`, `kit-quality-gate`, `kit-harness-audit` |
|
|
98
98
|
|
|
99
99
|
<br />
|
|
100
100
|
|
|
@@ -102,34 +102,53 @@ Structured AI workflows applied automatically — the AI recognizes what you're
|
|
|
102
102
|
|
|
103
103
|
| Agent | Purpose |
|
|
104
104
|
|---|---|
|
|
105
|
-
| `@planner` | Break features into implementation plans with dependencies and risk assessment |
|
|
106
|
-
| `@code-reviewer` | Deep quality review — patterns, performance, types, and conventions |
|
|
107
|
-
| `@security-reviewer` | OWASP Top 10, XSS, CSRF, secrets detection, and auth flow analysis |
|
|
108
|
-
| `@build-resolver` | Diagnose and fix build errors, type conflicts, and dependency issues |
|
|
109
|
-
| `@doc-updater` | Keep documentation in sync with code changes automatically |
|
|
110
|
-
| `@refactor-cleaner` | Find and remove dead code, unused imports, and unnecessary complexity |
|
|
111
|
-
| `@tdd-guide` | Test-driven development workflow — red, green, refactor with guidance |
|
|
112
|
-
| `@ci-debugger` | Analyze CI/CD failures, parse logs, and suggest targeted fixes |
|
|
113
|
-
| `@e2e-runner` | Playwright tests with Page Object Model and smart selectors |
|
|
114
|
-
| `@sitecore-specialist` | XM Cloud patterns, Content SDK v2, Experience Edge, and field helpers |
|
|
115
|
-
| `@architect` | SSR/SSG/ISR strategy, component hierarchy, data flow, and rendering patterns |
|
|
116
|
-
| `@data-scientist` | ML pipelines, model evaluation, data analysis, and experiment tracking |
|
|
117
|
-
| `@performance-profiler` | Core Web Vitals, bundle analysis, runtime profiling, and rendering optimization |
|
|
118
|
-
| `@migration-specialist` | Framework upgrades, breaking change detection, codemods, and incremental adoption |
|
|
119
|
-
| `@dependency-auditor` | Vulnerability scanning, outdated packages, license compliance, and bundle impact |
|
|
120
|
-
| `@api-designer` | REST/GraphQL API design, schema validation, versioning, and error handling |
|
|
105
|
+
| `@kit-planner` | Break features into implementation plans with dependencies and risk assessment |
|
|
106
|
+
| `@kit-code-reviewer` | Deep quality review — patterns, performance, types, and conventions |
|
|
107
|
+
| `@kit-security-reviewer` | OWASP Top 10, XSS, CSRF, secrets detection, and auth flow analysis |
|
|
108
|
+
| `@kit-build-resolver` | Diagnose and fix build errors, type conflicts, and dependency issues |
|
|
109
|
+
| `@kit-doc-updater` | Keep documentation in sync with code changes automatically |
|
|
110
|
+
| `@kit-refactor-cleaner` | Find and remove dead code, unused imports, and unnecessary complexity |
|
|
111
|
+
| `@kit-tdd-guide` | Test-driven development workflow — red, green, refactor with guidance |
|
|
112
|
+
| `@kit-ci-debugger` | Analyze CI/CD failures, parse logs, and suggest targeted fixes |
|
|
113
|
+
| `@kit-e2e-runner` | Playwright tests with Page Object Model and smart selectors |
|
|
114
|
+
| `@kit-sitecore-specialist` | XM Cloud patterns, Content SDK v2, Experience Edge, and field helpers |
|
|
115
|
+
| `@kit-architect` | SSR/SSG/ISR strategy, component hierarchy, data flow, and rendering patterns |
|
|
116
|
+
| `@kit-data-scientist` | ML pipelines, model evaluation, data analysis, and experiment tracking |
|
|
117
|
+
| `@kit-performance-profiler` | Core Web Vitals, bundle analysis, runtime profiling, and rendering optimization |
|
|
118
|
+
| `@kit-migration-specialist` | Framework upgrades, breaking change detection, codemods, and incremental adoption |
|
|
119
|
+
| `@kit-dependency-auditor` | Vulnerability scanning, outdated packages, license compliance, and bundle impact |
|
|
120
|
+
| `@kit-api-designer` | REST/GraphQL API design, schema validation, versioning, and error handling |
|
|
121
|
+
|
|
122
|
+
<br />
|
|
123
|
+
|
|
124
|
+
### Namespace Prefix: No Conflicts with Your Global Setup
|
|
125
|
+
|
|
126
|
+
All AI Kit skills use a `kit-` prefix (`/kit-review`, `/kit-new-component`, `/kit-security-check`) and all agents use the same prefix (`@kit-planner`, `@kit-code-reviewer`).
|
|
127
|
+
|
|
128
|
+
**Why?** Claude Code, Cursor, and other tools let you define global skills and agents. Without namespacing, AI Kit's project-level `/review` would silently override your personal global `/review` — or worse, both would appear in the suggestion list, confusing developers about which to use.
|
|
129
|
+
|
|
130
|
+
The `kit-` prefix guarantees:
|
|
131
|
+
- AI Kit skills and your personal/global skills coexist without collision
|
|
132
|
+
- No silent overrides — you always know which skill is running
|
|
133
|
+
- Clean autocomplete — `kit-` groups all AI Kit skills together
|
|
134
|
+
|
|
135
|
+
> **Upgrading from v1.x?** Run `ai-kit update` — it automatically cleans up old unprefixed files.
|
|
121
136
|
|
|
122
137
|
<br />
|
|
123
138
|
|
|
124
139
|
### Automated Quality Hooks
|
|
125
140
|
|
|
126
|
-
|
|
|
141
|
+
| Hook | What It Does |
|
|
127
142
|
|---|---|
|
|
128
|
-
| **
|
|
129
|
-
| **
|
|
130
|
-
| **
|
|
143
|
+
| **Session Init** | Echoes project stack, package manager, available scripts, and last scan date at every session start — the AI has full context from the first prompt |
|
|
144
|
+
| **Auto-format** | Formats files on edit via Prettier or Biome |
|
|
145
|
+
| **TypeScript check** | Catches type errors after every edit (standard + strict) |
|
|
146
|
+
| **Console.log warning** | Catches debug statements before commit (standard + strict) |
|
|
147
|
+
| **Mistakes auto-capture** | Logs build/lint failures to `docs/mistakes-log.md` automatically (standard + strict) |
|
|
148
|
+
| **Pre-commit review** | Checks for `any` types, console.logs, and TODOs without tickets in staged files (strict) |
|
|
149
|
+
| **Context re-echo** | After context compaction in long sessions, re-echoes tech stack (standard + strict) |
|
|
131
150
|
|
|
132
|
-
|
|
151
|
+
Three strictness profiles: **Minimal** (format + git safety), **Standard** (+ typecheck + warnings + mistakes), **Strict** (+ ESLint + pre-commit review).
|
|
133
152
|
|
|
134
153
|
<br />
|
|
135
154
|
|
|
@@ -180,7 +199,9 @@ Period summaries, budget progress with alerts, per-project cost breakdown, week-
|
|
|
180
199
|
| Command | Description |
|
|
181
200
|
|---|---|
|
|
182
201
|
| `ai-kit init [path]` | Scan project and generate all configs |
|
|
183
|
-
| `ai-kit update [path]` | Re-scan and update generated files (safe merge) |
|
|
202
|
+
| `ai-kit update [path]` | Re-scan and update generated files (safe merge, auto-backup) |
|
|
203
|
+
| `ai-kit migrate [path]` | Adopt ai-kit in a project with existing CLAUDE.md — preserves custom rules |
|
|
204
|
+
| `ai-kit rollback [path]` | Restore configs from a previous backup created by `update` |
|
|
184
205
|
| `ai-kit reset [path]` | Remove all AI Kit generated files |
|
|
185
206
|
| `ai-kit health [path]` | One-glance A-F project health dashboard |
|
|
186
207
|
| `ai-kit audit [path]` | Security and configuration health audit |
|
|
@@ -222,7 +243,7 @@ Every team using AI coding assistants hits these problems. AI Kit solves each on
|
|
|
222
243
|
|---|---------|---------------------|
|
|
223
244
|
| 1 | **AI forgets everything each session** — Every new chat starts from zero. | Generates a persistent `CLAUDE.md` with project rules, conventions, and stack details. The AI knows your project from the first prompt, every time. |
|
|
224
245
|
| 2 | **AI generates wrong framework patterns** — Writes Pages Router code when you use App Router. | Auto-detects your exact stack and generates rules specific to your setup. The AI can't use the wrong patterns. |
|
|
225
|
-
| 3 | **Developers write bad prompts** — Vague prompts lead to wrong code and rework. | Ships **48 pre-built skills** — just run `/review`, `/security-check`, `/new-component`, etc. |
|
|
246
|
+
| 3 | **Developers write bad prompts** — Vague prompts lead to wrong code and rework. | Ships **48 pre-built skills** — just run `/kit-review`, `/kit-security-check`, `/kit-new-component`, etc. |
|
|
226
247
|
| 4 | **Same mistakes happen repeatedly** — No system to track what went wrong. | Generates a **mistakes log** with **auto-capture hook** that logs every build/lint failure automatically. |
|
|
227
248
|
| 5 | **Every developer gets different AI behavior** — No consistency across the team. | One `ai-kit init` generates the same rules for everyone. Commit the files to the repo. |
|
|
228
249
|
| 6 | **No quality checks on AI-generated code** — AI output goes straight to PR. | Automated **hooks** run formatting, type-checking, linting, and git safety checks in real-time. |
|
|
@@ -232,9 +253,9 @@ Every team using AI coding assistants hits these problems. AI Kit solves each on
|
|
|
232
253
|
| 10 | **Onboarding takes too long** — New developers spend days understanding the project. | New team members get productive AI assistance from day one with zero manual setup. |
|
|
233
254
|
| 11 | **Context gets repeated every conversation** — Same conventions explained every session. | All conventions encoded in generated rules. The AI reads them automatically at session start. |
|
|
234
255
|
| 12 | **AI doesn't improve over time** — Same wrong suggestions regardless of past feedback. | Mistakes log, decisions log, and updated rules mean the AI gets smarter every session. |
|
|
235
|
-
| 13 | **Complex tasks need multiple manual AI passes** — Manual coordination across conversations. | **Multi-agent orchestration** runs specialists in parallel with `/orchestrate`. |
|
|
256
|
+
| 13 | **Complex tasks need multiple manual AI passes** — Manual coordination across conversations. | **Multi-agent orchestration** runs specialists in parallel with `/kit-orchestrate`. |
|
|
236
257
|
| 14 | **Switching AI tools means starting over** — Moving tools loses all configuration. | Generates configs for **5+ tools** from a single source — switch without losing context. |
|
|
237
|
-
| 15 | **AI creates components without tests, docs, or types** — Every file needs follow-up. | Skills like `/new-component` enforce structured workflows: component + types + tests + docs together. |
|
|
258
|
+
| 15 | **AI creates components without tests, docs, or types** — Every file needs follow-up. | Skills like `/kit-new-component` enforce structured workflows: component + types + tests + docs together. |
|
|
238
259
|
| 16 | **No visibility into AI usage costs** — No idea how many tokens the team consumes. | Built-in **token tracking** with daily/weekly/monthly summaries and cost breakdown. |
|
|
239
260
|
| 17 | **Cursor copies entire modules instead of targeted edits** — AI bloats the repo. | Generated rules include explicit instructions for editing patterns — update in place. |
|
|
240
261
|
| 18 | **No component-level AI awareness** — AI doesn't know which components have gaps. | **Component scanner** discovers all components and generates `.ai.md` docs with health scores. |
|
|
@@ -299,7 +320,25 @@ When your project evolves:
|
|
|
299
320
|
npx @mikulgohil/ai-kit update
|
|
300
321
|
```
|
|
301
322
|
|
|
302
|
-
Only content between `AI-KIT:START/END` markers is refreshed
|
|
323
|
+
Every update **automatically backs up** your current configs to `.ai-kit/backups/` before writing. Only content between `AI-KIT:START/END` markers is refreshed — your custom rules and manual edits are preserved.
|
|
324
|
+
|
|
325
|
+
If something goes wrong, roll back instantly:
|
|
326
|
+
|
|
327
|
+
```bash
|
|
328
|
+
npx @mikulgohil/ai-kit rollback # Pick from available backups
|
|
329
|
+
npx @mikulgohil/ai-kit rollback --latest # Restore most recent backup
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
### Migrating an Existing Project
|
|
333
|
+
|
|
334
|
+
Already have a hand-written `CLAUDE.md`? Migrate without losing your custom rules:
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
npx @mikulgohil/ai-kit migrate # Interactive — shows preview, asks confirmation
|
|
338
|
+
npx @mikulgohil/ai-kit migrate --dry-run # Preview changes without writing
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
Your custom sections are placed at the top of the file. AI Kit's generated rules go inside `AI-KIT:START/END` markers below. Future `ai-kit update` only touches the marked section — your rules are preserved forever.
|
|
303
342
|
|
|
304
343
|
---
|
|
305
344
|
|
|
@@ -307,8 +346,8 @@ Only content between `AI-KIT:START/END` markers is refreshed. Your custom rules
|
|
|
307
346
|
|
|
308
347
|
| Feature | Description | Status |
|
|
309
348
|
|---|---|---|
|
|
310
|
-
| **Project Constitution** | `/constitution` — governance doc with coding standards, testing philosophy, performance budgets | Planned |
|
|
311
|
-
| **Spec-First Workflow** | `/specify` — structured feature specs with user stories and acceptance criteria before code | Planned |
|
|
349
|
+
| **Project Constitution** | `/kit-constitution` — governance doc with coding standards, testing philosophy, performance budgets | Planned |
|
|
350
|
+
| **Spec-First Workflow** | `/kit-specify` — structured feature specs with user stories and acceptance criteria before code | Planned |
|
|
312
351
|
| **Extension Catalog** | Community-contributed agents, skills, and templates. Install with `ai-kit extension install` | Planned |
|
|
313
352
|
| **Preset Bundles** | Curated bundles: `enterprise`, `startup`, `sitecore-xmc`, `fullstack`. Apply with `ai-kit preset apply` | Planned |
|
|
314
353
|
| **Setup Comparison** | `ai-kit compare` — gap analysis comparing your setup against other spec-driven tools | Planned |
|
|
@@ -317,7 +356,7 @@ Only content between `AI-KIT:START/END` markers is refreshed. Your custom rules
|
|
|
317
356
|
|
|
318
357
|
## Requirements
|
|
319
358
|
|
|
320
|
-
- Node.js
|
|
359
|
+
- Node.js 20+
|
|
321
360
|
- A project with `package.json`
|
|
322
361
|
- Claude Code or Cursor (at least one AI tool)
|
|
323
362
|
|
|
@@ -330,7 +369,7 @@ Full documentation at **[ai-kit.mikul.me](https://ai-kit.mikul.me)**
|
|
|
330
369
|
| Page | What You'll Learn |
|
|
331
370
|
|---|---|
|
|
332
371
|
| [Getting Started](https://ai-kit.mikul.me/getting-started) | Step-by-step setup walkthrough |
|
|
333
|
-
| [CLI Reference](https://ai-kit.mikul.me/cli-reference) | All
|
|
372
|
+
| [CLI Reference](https://ai-kit.mikul.me/cli-reference) | All 16 commands with examples |
|
|
334
373
|
| [Skills & Commands](https://ai-kit.mikul.me/slash-commands) | All 48 skills with usage guides |
|
|
335
374
|
| [What Gets Generated](https://ai-kit.mikul.me/what-gets-generated) | Detailed breakdown of every generated file |
|
|
336
375
|
| [Hooks](https://ai-kit.mikul.me/hooks) | Hook profiles, mistakes auto-capture |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: migration-specialist
|
|
2
|
+
name: kit-migration-specialist
|
|
3
3
|
description: Migration specialist agent — framework upgrades, breaking change detection, codemods, dependency migration, and incremental adoption strategies.
|
|
4
4
|
tools: Read, Edit, Glob, Grep, Bash
|
|
5
5
|
isolation: worktree
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: sitecore-specialist
|
|
2
|
+
name: kit-sitecore-specialist
|
|
3
3
|
description: Sitecore XM Cloud specialist — handles component mapping, GraphQL queries, layout service, Experience Edge, personalization, and Content SDK v2.x.
|
|
4
4
|
tools: Read, Write, Edit, Glob, Grep, Bash
|
|
5
5
|
---
|
|
@@ -78,7 +78,7 @@ Before presenting the brief, verify:
|
|
|
78
78
|
## Constraints
|
|
79
79
|
|
|
80
80
|
- Do NOT ask more than 5 questions — prioritize ruthlessly
|
|
81
|
-
- Do NOT turn this into a long interview — that's what `/deep-interview` is for
|
|
81
|
+
- Do NOT turn this into a long interview — that's what `/kit-deep-interview` is for
|
|
82
82
|
- Do NOT ask obvious questions that the task description already answers
|
|
83
83
|
- Do NOT write code — this command is for clarification only
|
|
84
84
|
- Keep the total interaction under 5 minutes
|
|
@@ -22,7 +22,7 @@ Audit the AI agent configuration for completeness and correctness.
|
|
|
22
22
|
- [ ] Each agent has valid YAML frontmatter (name, description)
|
|
23
23
|
- [ ] Agent descriptions are specific enough for delegation
|
|
24
24
|
- [ ] No duplicate or conflicting agents
|
|
25
|
-
- [ ] Conditional agents match detected stack (e2e-runner only if Playwright installed)
|
|
25
|
+
- [ ] Conditional agents match detected stack (kit-e2e-runner only if Playwright installed)
|
|
26
26
|
|
|
27
27
|
### 4. Contexts (`.claude/contexts/*.md`)
|
|
28
28
|
- [ ] dev, review, research modes are present
|
|
@@ -18,14 +18,14 @@ Coordinate multiple specialized agents to tackle complex tasks.
|
|
|
18
18
|
|
|
19
19
|
| Agent | Best For |
|
|
20
20
|
|-------|----------|
|
|
21
|
-
| `planner` | Breaking down requirements into implementation steps |
|
|
22
|
-
| `code-reviewer` | Quality review of existing or new code |
|
|
23
|
-
| `security-reviewer` | Security-focused audit |
|
|
24
|
-
| `e2e-runner` | Generating and running Playwright tests |
|
|
25
|
-
| `build-resolver` | Fixing build and type errors |
|
|
26
|
-
| `doc-updater` | Updating documentation |
|
|
27
|
-
| `refactor-cleaner` | Finding and removing dead code |
|
|
28
|
-
| `sitecore-specialist` | Sitecore-specific patterns and issues |
|
|
21
|
+
| `kit-planner` | Breaking down requirements into implementation steps |
|
|
22
|
+
| `kit-code-reviewer` | Quality review of existing or new code |
|
|
23
|
+
| `kit-security-reviewer` | Security-focused audit |
|
|
24
|
+
| `kit-e2e-runner` | Generating and running Playwright tests |
|
|
25
|
+
| `kit-build-resolver` | Fixing build and type errors |
|
|
26
|
+
| `kit-doc-updater` | Updating documentation |
|
|
27
|
+
| `kit-refactor-cleaner` | Finding and removing dead code |
|
|
28
|
+
| `kit-sitecore-specialist` | Sitecore-specific patterns and issues |
|
|
29
29
|
|
|
30
30
|
### 3. Delegate
|
|
31
31
|
Launch agents in parallel where possible:
|
|
@@ -48,9 +48,9 @@ Present a merged summary:
|
|
|
48
48
|
### Task: [description]
|
|
49
49
|
|
|
50
50
|
### Agent Results
|
|
51
|
-
- **planner**: [key findings]
|
|
52
|
-
- **code-reviewer**: [key findings]
|
|
53
|
-
- **security-reviewer**: [key findings]
|
|
51
|
+
- **kit-planner**: [key findings]
|
|
52
|
+
- **kit-code-reviewer**: [key findings]
|
|
53
|
+
- **kit-security-reviewer**: [key findings]
|
|
54
54
|
|
|
55
55
|
### Conflicts
|
|
56
56
|
- [Agent A recommends X, but Agent B recommends Y — resolution]
|
|
@@ -31,7 +31,7 @@ Before resuming work, check:
|
|
|
31
31
|
|
|
32
32
|
## If No Sessions Found
|
|
33
33
|
- Check `ai-kit/sessions/` directory exists
|
|
34
|
-
- Suggest running `/save-session` at the end of future sessions
|
|
34
|
+
- Suggest running `/kit-save-session` at the end of future sessions
|
|
35
35
|
- Offer to start fresh by creating a new session
|
|
36
36
|
|
|
37
37
|
## Tips
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
### High Impact
|
|
14
14
|
|
|
15
15
|
- **Be specific about files** — "fix auth in src/lib/auth.ts:45" not "fix the auth"
|
|
16
|
-
- **Use /understand BEFORE modifying unfamiliar code** — cheaper than a failed attempt
|
|
16
|
+
- **Use /kit-understand BEFORE modifying unfamiliar code** — cheaper than a failed attempt
|
|
17
17
|
- **Use slash commands** — they provide structured context efficiently
|
|
18
18
|
- **Break large tasks into focused prompts** — 5 small prompts < 1 vague prompt that needs 3 follow-ups
|
|
19
19
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
- **Don't ask AI to read the entire codebase** — point to specific files
|
|
23
23
|
- **Use git diff to show AI only what changed**
|
|
24
24
|
- **Close and reopen sessions when switching tasks** (prevents context bloat)
|
|
25
|
-
- **Use /prompt-help to structure your request** before asking
|
|
25
|
+
- **Use /kit-prompt-help to structure your request** before asking
|
|
26
26
|
|
|
27
27
|
### Low Impact (but adds up)
|
|
28
28
|
|
|
@@ -40,9 +40,9 @@ Daily budget: ~$0.91
|
|
|
40
40
|
| --------------------- | ----------------- | ------------- | ---------- |
|
|
41
41
|
| Read a file | ~500 tokens | 20 | ~$0.03 |
|
|
42
42
|
| Generate a component | ~3,000 tokens | 3 | ~$0.14 |
|
|
43
|
-
| Code review (/review) | ~5,000 tokens | 2 | ~$0.15 |
|
|
43
|
+
| Code review (/kit-review) | ~5,000 tokens | 2 | ~$0.15 |
|
|
44
44
|
| Bug fix conversation | ~8,000 tokens | 2 | ~$0.24 |
|
|
45
|
-
| /pre-pr checklist | ~6,000 tokens | 1 | ~$0.09 |
|
|
45
|
+
| /kit-pre-pr checklist | ~6,000 tokens | 1 | ~$0.09 |
|
|
46
46
|
| **Total estimated** | | | ~$0.65/day |
|
|
47
47
|
|
|
48
48
|
Buffer for complex tasks: ~$0.26/day
|