@softspark/ai-toolkit 1.2.0 → 1.3.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/AGENTS.md +5 -29
- package/CHANGELOG.md +39 -0
- package/README.md +170 -27
- package/app/.claude-plugin/plugin.json +2 -2
- package/app/ARCHITECTURE.md +35 -19
- package/app/agents/ai-engineer.md +47 -5
- package/app/agents/fact-checker.md +1 -1
- package/app/agents/llm-ops-engineer.md +2 -2
- package/app/agents/{mcp-server-architect.md → mcp-specialist.md} +124 -18
- package/app/agents/mcp-testing-engineer.md +2 -2
- package/app/agents/nlp-engineer.md +1 -1
- package/app/agents/orchestrator.md +3 -4
- package/app/agents/project-planner.md +1 -1
- package/app/agents/technical-researcher.md +71 -21
- package/app/hooks/commit-quality.sh +53 -0
- package/app/hooks/governance-capture.sh +77 -0
- package/app/hooks/guard-config.sh +46 -0
- package/app/hooks/mcp-health.sh +53 -0
- package/app/hooks/pre-compact-save.sh +34 -0
- package/app/hooks/session-context.sh +60 -0
- package/app/hooks.json +60 -0
- package/app/mcp-templates/README.md +105 -0
- package/app/mcp-templates/brave-search.json +13 -0
- package/app/mcp-templates/cloudflare.json +14 -0
- package/app/mcp-templates/context7.json +10 -0
- package/app/mcp-templates/custom-template.json +13 -0
- package/app/mcp-templates/datadog.json +15 -0
- package/app/mcp-templates/docker.json +10 -0
- package/app/mcp-templates/fetch.json +10 -0
- package/app/mcp-templates/filesystem.json +10 -0
- package/app/mcp-templates/git.json +10 -0
- package/app/mcp-templates/github.json +13 -0
- package/app/mcp-templates/google-drive.json +15 -0
- package/app/mcp-templates/google-maps.json +13 -0
- package/app/mcp-templates/grafana.json +14 -0
- package/app/mcp-templates/linear.json +13 -0
- package/app/mcp-templates/memory.json +10 -0
- package/app/mcp-templates/notion.json +13 -0
- package/app/mcp-templates/postgres.json +10 -0
- package/app/mcp-templates/puppeteer.json +10 -0
- package/app/mcp-templates/redis.json +13 -0
- package/app/mcp-templates/sentry.json +14 -0
- package/app/mcp-templates/sequential-thinking.json +10 -0
- package/app/mcp-templates/slack.json +14 -0
- package/app/mcp-templates/sqlite.json +10 -0
- package/app/mcp-templates/supabase.json +14 -0
- package/app/mcp-templates/vercel.json +13 -0
- package/app/plugins/research-pack/README.md +1 -1
- package/app/plugins/research-pack/plugin.json +1 -1
- package/app/rules/claude-toolkit-rules.md +1 -1
- package/app/rules/common/coding-style.md +52 -0
- package/app/rules/common/git-workflow.md +45 -0
- package/app/rules/common/performance.md +49 -0
- package/app/rules/common/security.md +59 -0
- package/app/rules/common/testing.md +53 -0
- package/app/rules/cpp/coding-style.md +55 -0
- package/app/rules/cpp/frameworks.md +55 -0
- package/app/rules/cpp/patterns.md +57 -0
- package/app/rules/cpp/security.md +61 -0
- package/app/rules/cpp/testing.md +58 -0
- package/app/rules/csharp/coding-style.md +54 -0
- package/app/rules/csharp/frameworks.md +60 -0
- package/app/rules/csharp/patterns.md +61 -0
- package/app/rules/csharp/security.md +60 -0
- package/app/rules/csharp/testing.md +58 -0
- package/app/rules/dart/coding-style.md +61 -0
- package/app/rules/dart/frameworks.md +59 -0
- package/app/rules/dart/patterns.md +62 -0
- package/app/rules/dart/security.md +60 -0
- package/app/rules/dart/testing.md +60 -0
- package/app/rules/golang/coding-style.md +50 -0
- package/app/rules/golang/frameworks.md +56 -0
- package/app/rules/golang/patterns.md +52 -0
- package/app/rules/golang/security.md +61 -0
- package/app/rules/golang/testing.md +54 -0
- package/app/rules/java/coding-style.md +56 -0
- package/app/rules/java/frameworks.md +54 -0
- package/app/rules/java/patterns.md +59 -0
- package/app/rules/java/security.md +60 -0
- package/app/rules/java/testing.md +55 -0
- package/app/rules/kotlin/coding-style.md +56 -0
- package/app/rules/kotlin/frameworks.md +54 -0
- package/app/rules/kotlin/patterns.md +54 -0
- package/app/rules/kotlin/security.md +62 -0
- package/app/rules/kotlin/testing.md +56 -0
- package/app/rules/php/coding-style.md +53 -0
- package/app/rules/php/frameworks.md +57 -0
- package/app/rules/php/patterns.md +63 -0
- package/app/rules/php/security.md +61 -0
- package/app/rules/php/testing.md +60 -0
- package/app/rules/python/coding-style.md +52 -0
- package/app/rules/python/frameworks.md +53 -0
- package/app/rules/python/patterns.md +53 -0
- package/app/rules/python/security.md +58 -0
- package/app/rules/python/testing.md +52 -0
- package/app/rules/ruby/coding-style.md +56 -0
- package/app/rules/ruby/frameworks.md +56 -0
- package/app/rules/ruby/patterns.md +61 -0
- package/app/rules/ruby/security.md +61 -0
- package/app/rules/ruby/testing.md +63 -0
- package/app/rules/rust/coding-style.md +52 -0
- package/app/rules/rust/frameworks.md +59 -0
- package/app/rules/rust/patterns.md +58 -0
- package/app/rules/rust/security.md +64 -0
- package/app/rules/rust/testing.md +54 -0
- package/app/rules/swift/coding-style.md +55 -0
- package/app/rules/swift/frameworks.md +63 -0
- package/app/rules/swift/patterns.md +63 -0
- package/app/rules/swift/security.md +63 -0
- package/app/rules/swift/testing.md +60 -0
- package/app/rules/typescript/coding-style.md +51 -0
- package/app/rules/typescript/frameworks.md +51 -0
- package/app/rules/typescript/patterns.md +51 -0
- package/app/rules/typescript/security.md +55 -0
- package/app/rules/typescript/testing.md +52 -0
- package/app/skills/app-builder/SKILL.md +1 -1
- package/app/skills/brand-voice/SKILL.md +92 -0
- package/app/skills/council/SKILL.md +133 -0
- package/app/skills/introspect/SKILL.md +125 -0
- package/bin/ai-toolkit.js +103 -2
- package/kb/reference/agents-catalog.md +10 -13
- package/kb/reference/architecture-overview.md +29 -6
- package/kb/reference/commands-catalog.md +4 -4
- package/kb/reference/competitive-features-implementation.md +677 -0
- package/kb/reference/extension-api.md +175 -0
- package/kb/reference/hooks-catalog.md +90 -14
- package/kb/reference/language-rules.md +167 -0
- package/kb/reference/manifest-install.md +165 -0
- package/kb/reference/mcp-templates.md +110 -0
- package/kb/reference/skills-catalog.md +9 -6
- package/llms-full.txt +1511 -59
- package/llms.txt +8 -3
- package/package.json +2 -2
- package/scripts/inject_hook_cli.py +330 -0
- package/scripts/install.py +241 -7
- package/scripts/install_steps/ai_tools.py +63 -1
- package/scripts/install_steps/detect_language.py +50 -0
- package/scripts/install_steps/install_state.py +117 -0
- package/scripts/mcp_manager.py +206 -0
- package/app/agents/mcp-expert.md +0 -228
- package/app/agents/rag-engineer.md +0 -201
- package/app/agents/research-synthesizer.md +0 -138
package/AGENTS.md
CHANGED
|
@@ -36,7 +36,7 @@ gemini --system "$(cat .claude/agents/backend-specialist.md)" "implement the API
|
|
|
36
36
|
|
|
37
37
|
### `ai-engineer`
|
|
38
38
|
|
|
39
|
-
AI/ML integration specialist. Use for LLM integration, vector databases, RAG pipelines, embeddings,
|
|
39
|
+
AI/ML integration specialist. Use for LLM integration, vector databases, RAG pipelines, embeddings, AI agent orchestration, document indexing, semantic search, hybrid retrieval, and answer generation. Triggers: ai, ml, llm, embedding, vector, rag, agent, openai, anthropic, search, retrieval, indexing, chunking, reranking.
|
|
40
40
|
|
|
41
41
|
**Tools:** `Read, Write, Edit, Bash, Grep, Glob`
|
|
42
42
|
|
|
@@ -210,19 +210,11 @@ LLM operations expert. Use for LLM caching, fallback strategies, cost optimizati
|
|
|
210
210
|
|
|
211
211
|
---
|
|
212
212
|
|
|
213
|
-
### `mcp-
|
|
213
|
+
### `mcp-specialist`
|
|
214
214
|
|
|
215
|
-
MCP integration
|
|
215
|
+
MCP server design, implementation, client configuration, and integration troubleshooting. Triggers: mcp, model context protocol, json-rpc, sse, stdio, mcp server, mcp config, mcp integration, mcp connection, claude desktop, mcp client.
|
|
216
216
|
|
|
217
|
-
**Tools:** `Read, Write, Edit, Bash`
|
|
218
|
-
|
|
219
|
-
---
|
|
220
|
-
|
|
221
|
-
### `mcp-server-architect`
|
|
222
|
-
|
|
223
|
-
MCP server design and implementation expert. Use for creating MCP servers, JSON-RPC transport, tool definitions, protocol compliance. Triggers: mcp, model context protocol, json-rpc, sse, stdio, mcp server.
|
|
224
|
-
|
|
225
|
-
**Tools:** `Read, Write, Edit, Bash`
|
|
217
|
+
**Tools:** `Read, Write, Edit, Bash, Grep, Glob`
|
|
226
218
|
|
|
227
219
|
---
|
|
228
220
|
|
|
@@ -330,22 +322,6 @@ Test automation and QA specialist. Use for E2E testing, API testing, performance
|
|
|
330
322
|
|
|
331
323
|
---
|
|
332
324
|
|
|
333
|
-
### `rag-engineer`
|
|
334
|
-
|
|
335
|
-
RAG systems expert. Use for document indexing, semantic search, hybrid retrieval, CRAG, multi-hop reasoning, and answer generation. Triggers: rag, search, retrieval, indexing, embedding, vector, chunking, reranking.
|
|
336
|
-
|
|
337
|
-
**Tools:** `Read, Write, Edit, Bash`
|
|
338
|
-
|
|
339
|
-
---
|
|
340
|
-
|
|
341
|
-
### `research-synthesizer`
|
|
342
|
-
|
|
343
|
-
Multi-source research coordination and synthesis specialist. Trigger words: synthesize, aggregate, report, executive summary, gap analysis, conflict resolution, findings, research, investigate, multi-source, cross-reference, research planning
|
|
344
|
-
|
|
345
|
-
**Tools:** `Read, Write, Edit, Bash, Grep, Glob`
|
|
346
|
-
|
|
347
|
-
---
|
|
348
|
-
|
|
349
325
|
### `search-specialist`
|
|
350
326
|
|
|
351
327
|
Information retrieval and search optimization specialist. Trigger words: search, query, semantic search, information retrieval, relevance, ranking, search optimization
|
|
@@ -396,7 +372,7 @@ Technical authority for code quality, architecture patterns, and stack decisions
|
|
|
396
372
|
|
|
397
373
|
### `technical-researcher`
|
|
398
374
|
|
|
399
|
-
Deep technical investigation specialist. Trigger words: technical research, feasibility study, root cause analysis, API investigation, compatibility research, comparison matrix
|
|
375
|
+
Deep technical investigation and multi-source research synthesis specialist. Trigger words: technical research, feasibility study, root cause analysis, API investigation, compatibility research, comparison matrix, synthesize, aggregate, report, executive summary, gap analysis, findings, multi-source, cross-reference
|
|
400
376
|
|
|
401
377
|
**Tools:** `Read, Write, Edit, Bash, Grep, Glob`
|
|
402
378
|
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,45 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## v1.3.0 — Competitive Features Release (2026-04-07)
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Language Rules System**: 70 language-specific coding rules across 13 languages (TypeScript, Python, Go, Rust, Java, Kotlin, Swift, Dart, C#, PHP, C++, Ruby) + 5 common rules. 5 categories per language: coding-style, testing, patterns, frameworks, security.
|
|
14
|
+
- **MCP Templates**: 25 ready-to-use MCP server configuration templates (GitHub, PostgreSQL, Slack, Sentry, Context7, etc.) with CLI management (`ai-toolkit mcp add/list/show/remove`).
|
|
15
|
+
- **Extension API**: `inject-hook` / `remove-hook` commands for external tools to inject hooks into settings.json with unique `_source` tags. Parallels existing `inject-rule` / `remove-rule`.
|
|
16
|
+
- **Manifest-Driven Install**: Module-level install granularity (`--modules`), language auto-detection (`--auto-detect`), install state tracking (`~/.ai-toolkit/state.json`), `status` and `update` commands.
|
|
17
|
+
- **6 new hooks**: `guard-config.sh` (config file protection), `mcp-health.sh` (MCP server health check), `governance-capture.sh` (security audit logging), `commit-quality.sh` (conventional commits advisory), `session-context.sh` (environment snapshot), `pre-compact-save.sh` (pre-compaction backup).
|
|
18
|
+
- **`/council` skill**: 4-perspective decision evaluation (Advocate, Critic, Pragmatist, User-Proxy) for architectural decisions.
|
|
19
|
+
- **`/introspect` skill**: Agent self-debugging with 7 failure pattern classification and recovery actions.
|
|
20
|
+
- **`brand-voice` knowledge skill**: Anti-trope list preventing generic LLM rhetoric, auto-loaded when writing documentation.
|
|
21
|
+
- **KB reference docs**: extension-api.md, language-rules.md, mcp-templates.md, manifest-install.md.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- Agent count: 47 → 44 (merged 3 overlapping pairs: rag-engineer into ai-engineer, research-synthesizer into technical-researcher, mcp-expert + mcp-server-architect into mcp-specialist)
|
|
25
|
+
- Hook count: 14 → 20 global hooks across 12 lifecycle events
|
|
26
|
+
- Skill count: 87 → 90 (28 task + 30 hybrid + 32 knowledge)
|
|
27
|
+
- Updated hooks-catalog.md, skills-catalog.md with new entries
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## [1.2.1] - 2026-04-03
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- **README.md** — added full documentation for all v1.2.0 features:
|
|
35
|
+
- `/persona` runtime switching with usage examples
|
|
36
|
+
- `audit_skills.py` CI pipeline integration with `--json` and `--ci` flags
|
|
37
|
+
- Skill Security Auditing section (severity levels, detection patterns)
|
|
38
|
+
- Persona Presets section (table with focus areas and key skills per role)
|
|
39
|
+
- Smart compaction description in hooks table
|
|
40
|
+
- Fixed section numbering (was duplicated at 4, skipped 10)
|
|
41
|
+
- **CLAUDE.md** — added CRITICAL note: documentation/count accuracy is non-negotiable, must run validate + audit before every commit
|
|
42
|
+
- **skills-catalog.md** — fixed stale frontmatter (was 85 skills/v1.0.0, now 87 skills/v1.2.1)
|
|
43
|
+
- Version bump: 1.2.0 → 1.2.1 (package.json, plugin.json)
|
|
44
|
+
|
|
45
|
+
[1.2.1]: https://github.com/softspark/ai-toolkit/releases/tag/v1.2.1
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
10
49
|
## [1.2.0] - 2026-04-03
|
|
11
50
|
|
|
12
51
|
### Added
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# ai-toolkit
|
|
2
2
|
|
|
3
|
-
> Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety,
|
|
3
|
+
> Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety, 90 skills, 44 agents, expanded lifecycle hooks, persona presets, experimental opt-in plugin packs, and benchmark tooling — works with Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, and Augment, ready in 60 seconds.
|
|
4
4
|
|
|
5
5
|
[](https://github.com/softspark/ai-toolkit/actions/workflows/ci.yml)
|
|
6
6
|
[](LICENSE)
|
|
7
|
-
[](app/skills/)
|
|
8
|
+
[](app/agents/)
|
|
9
|
+
[](tests/)
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -21,7 +21,7 @@ ai-toolkit install
|
|
|
21
21
|
npx @softspark/ai-toolkit install
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
**That's it.** Claude Code picks up
|
|
24
|
+
**That's it.** Claude Code picks up 90 skills, 44 agents, quality hooks, and the safety constitution automatically.
|
|
25
25
|
|
|
26
26
|
### Update
|
|
27
27
|
|
|
@@ -61,7 +61,9 @@ ai-toolkit install --profile strict # full install + git hooks even without
|
|
|
61
61
|
|
|
62
62
|
### Persona Presets
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Personas adjust communication style, preferred skills, and code review priorities per engineering role.
|
|
65
|
+
|
|
66
|
+
**Install-time (persistent — injected into CLAUDE.md):**
|
|
65
67
|
|
|
66
68
|
```bash
|
|
67
69
|
ai-toolkit install --persona backend-lead # system design, API stability, data integrity
|
|
@@ -70,6 +72,14 @@ ai-toolkit install --persona devops-eng # infra-as-code, CI/CD, rollback sa
|
|
|
70
72
|
ai-toolkit install --persona junior-dev # step-by-step explanations, learning focus
|
|
71
73
|
```
|
|
72
74
|
|
|
75
|
+
**Runtime (session-scoped — no reinstall needed):**
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
/persona backend-lead # activate for this session
|
|
79
|
+
/persona --list # show available personas
|
|
80
|
+
/persona --clear # reset to default
|
|
81
|
+
```
|
|
82
|
+
|
|
73
83
|
### Selective Install / Update
|
|
74
84
|
|
|
75
85
|
```bash
|
|
@@ -123,10 +133,10 @@ Replaces all symlinks with real files, inlines rules into CLAUDE.md, copies cons
|
|
|
123
133
|
| Component | Count | Description |
|
|
124
134
|
|-----------|-------|-------------|
|
|
125
135
|
| `skills/` (task) | 28 | Slash commands: `/commit`, `/build`, `/deploy`, `/test`, `/skill-audit`, ... |
|
|
126
|
-
| `skills/` (hybrid) |
|
|
127
|
-
| `skills/` (knowledge) |
|
|
128
|
-
| `agents/` |
|
|
129
|
-
| `hooks/` |
|
|
136
|
+
| `skills/` (hybrid) | 30 | Slash commands with agent knowledge base |
|
|
137
|
+
| `skills/` (knowledge) | 32 | Domain knowledge auto-loaded by agents |
|
|
138
|
+
| `agents/` | 44 | Specialized agents across 10 categories |
|
|
139
|
+
| `hooks/` | 21 global + 5 skill-scoped | Quality gates, path safety, CLAUDE.md enforcement, notifications, prompt governance, subagent lifecycle, session-end handoff, usage tracking, config protection, MCP health, governance audit |
|
|
130
140
|
| `plugins/` | 11 experimental opt-in packs | Domain bundles for security, research, frontend, enterprise, and 6 language packs (not part of the default install) |
|
|
131
141
|
| `output-styles/` | 1 style | System prompt output style overrides (e.g. Golden Rules) |
|
|
132
142
|
| `constitution.md` | 5 articles | Machine-enforced safety rules |
|
|
@@ -140,21 +150,22 @@ Replaces all symlinks with real files, inlines rules into CLAUDE.md, copies cons
|
|
|
140
150
|
```
|
|
141
151
|
ai-toolkit/
|
|
142
152
|
├── app/
|
|
143
|
-
│ ├── agents/ #
|
|
153
|
+
│ ├── agents/ # 44 agent definitions
|
|
144
154
|
│ │ ├── orchestrator.md
|
|
145
155
|
│ │ ├── backend-specialist.md
|
|
146
156
|
│ │ ├── security-architect.md
|
|
147
|
-
│ │ └── ... (
|
|
148
|
-
│ ├── skills/ #
|
|
157
|
+
│ │ └── ... (41 more)
|
|
158
|
+
│ ├── skills/ # 90 skills (task / hybrid / knowledge)
|
|
149
159
|
│ │ ├── commit/ # /commit slash command
|
|
150
160
|
│ │ ├── review/ # /review slash command
|
|
151
161
|
│ │ ├── clean-code/ # knowledge skill (auto-loaded)
|
|
152
|
-
│ │ └── ... (
|
|
162
|
+
│ │ └── ... (87 more)
|
|
153
163
|
│ ├── rules/ # Auto-injected into your CLAUDE.md
|
|
154
164
|
│ ├── hooks/ # Hook scripts (copied to ~/.ai-toolkit/hooks/)
|
|
155
165
|
│ │ ├── session-start.sh # MANDATORY reminder + session context
|
|
156
166
|
│ │ ├── guard-destructive.sh # Block rm -rf, DROP TABLE, etc.
|
|
157
167
|
│ │ ├── guard-path.sh # Block wrong-user path hallucination
|
|
168
|
+
│ │ ├── guard-config.sh # Block edits to linter/formatter configs
|
|
158
169
|
│ │ ├── user-prompt-submit.sh # Prompt governance reminder
|
|
159
170
|
│ │ ├── quality-check.sh # Multi-language lint on stop
|
|
160
171
|
│ │ ├── quality-gate.sh # Block task completion on errors
|
|
@@ -162,8 +173,13 @@ ai-toolkit/
|
|
|
162
173
|
│ │ ├── subagent-start.sh # Subagent scope reminder
|
|
163
174
|
│ │ ├── subagent-stop.sh # Subagent completion checklist
|
|
164
175
|
│ │ ├── pre-compact.sh # Save context before compaction
|
|
176
|
+
│ │ ├── pre-compact-save.sh # Timestamped backup before compaction
|
|
165
177
|
│ │ ├── session-end.sh # Session handoff snapshot
|
|
166
|
-
│ │
|
|
178
|
+
│ │ ├── post-tool-use.sh # Lightweight feedback after edits
|
|
179
|
+
│ │ ├── mcp-health.sh # MCP server availability check
|
|
180
|
+
│ │ ├── governance-capture.sh # Security-sensitive op logging
|
|
181
|
+
│ │ ├── commit-quality.sh # Conventional commit advisory
|
|
182
|
+
│ │ └── session-context.sh # Environment snapshot on start
|
|
167
183
|
│ ├── hooks.json # Hook definitions (merged into settings.json)
|
|
168
184
|
│ ├── plugins/ # Experimental plugin packs (opt-in, not part of default install)
|
|
169
185
|
│ ├── output-styles/ # System prompt output style overrides
|
|
@@ -224,6 +240,9 @@ ai-toolkit/
|
|
|
224
240
|
| `/subagent-development` | Execute plans with 2-stage review (spec + quality) per task | high |
|
|
225
241
|
| `/repeat` | Autonomous loop with safety controls (Ralph Wiggum pattern) | medium |
|
|
226
242
|
| `/mem-search` | Search past coding sessions via natural language (memory-pack) | medium |
|
|
243
|
+
| `/persona` | Switch engineering persona at runtime (session-scoped) | low |
|
|
244
|
+
| `/council` | 4-perspective decision evaluation (Advocate, Critic, Pragmatist, User-Proxy) | high |
|
|
245
|
+
| `/introspect` | Agent self-debugging with 7 failure pattern classification and recovery actions | medium |
|
|
227
246
|
|
|
228
247
|
### `/workflow` Types
|
|
229
248
|
|
|
@@ -245,6 +264,17 @@ ai-toolkit/
|
|
|
245
264
|
/workflow proactive-troubleshooting # Warning / trend analysis
|
|
246
265
|
```
|
|
247
266
|
|
|
267
|
+
### Multi-Agent Skill Selection
|
|
268
|
+
|
|
269
|
+
```
|
|
270
|
+
Need multi-agent coordination?
|
|
271
|
+
├── Know your domains? → /orchestrate (ad-hoc, 3-6 agents)
|
|
272
|
+
├── Have a known pattern? → /workflow <type> (15 templates)
|
|
273
|
+
├── Need consensus/map-reduce? → /swarm <mode>
|
|
274
|
+
├── Want Agent Teams API? → /teams (experimental)
|
|
275
|
+
└── Executing a plan? → /subagent-development
|
|
276
|
+
```
|
|
277
|
+
|
|
248
278
|
---
|
|
249
279
|
|
|
250
280
|
## Unique Differentiators
|
|
@@ -260,23 +290,29 @@ Unlike other toolkits that put safety rules in documentation only, ai-toolkit en
|
|
|
260
290
|
|
|
261
291
|
Hook logic lives in `app/hooks/*.sh` — not inline JSON one-liners. Scripts are copied to `~/.ai-toolkit/hooks/` on install and referenced from `~/.claude/settings.json`. Easy to read, debug, and extend.
|
|
262
292
|
|
|
263
|
-
**12 lifecycle events /
|
|
293
|
+
**12 lifecycle events / 21 global hook entries:**
|
|
264
294
|
|
|
265
295
|
| Event | Script | Action |
|
|
266
296
|
|-------|--------|--------|
|
|
267
297
|
| SessionStart | `session-start.sh` | MANDATORY rules reminder + session context + instincts |
|
|
298
|
+
| SessionStart | `mcp-health.sh` | Check MCP server command availability (non-blocking warning) |
|
|
299
|
+
| SessionStart | `session-context.sh` | Capture environment snapshot (pwd, git branch, versions) to `~/.ai-toolkit/sessions/current-context.json` |
|
|
268
300
|
| Notification | *(inline)* | macOS desktop notification |
|
|
269
301
|
| PreToolUse | `guard-destructive.sh` | Block `rm -rf`, `DROP TABLE`, etc. |
|
|
270
302
|
| PreToolUse | `guard-path.sh` | Block wrong-user path hallucination |
|
|
303
|
+
| PreToolUse | `guard-config.sh` | Block edits to linter/formatter config files unless explicitly requested |
|
|
304
|
+
| PreToolUse | `commit-quality.sh` | Advisory validation of git commit messages (conventional commits, length, no WIP) |
|
|
271
305
|
| UserPromptSubmit | `user-prompt-submit.sh` | Prompt governance reminder for planning, research, and safe execution |
|
|
272
306
|
| UserPromptSubmit | `track-usage.sh` | Record skill invocations to local stats |
|
|
273
307
|
| PostToolUse | `post-tool-use.sh` | Lightweight validation reminders after edits |
|
|
308
|
+
| PostToolUse | `governance-capture.sh` | Log security-sensitive operations to `~/.ai-toolkit/governance.log` (JSONL) |
|
|
274
309
|
| Stop | `quality-check.sh` | Multi-language lint (ruff/tsc/phpstan/dart/go) |
|
|
275
310
|
| Stop | `save-session.sh` | Persist session context for cross-session continuity |
|
|
276
311
|
| TaskCompleted | `quality-gate.sh` | Block task completion on lint/type errors |
|
|
277
312
|
| SubagentStart | `subagent-start.sh` | Narrow-scope reminder for spawned subagents |
|
|
278
313
|
| SubagentStop | `subagent-stop.sh` | Completion checklist for subagent handoff |
|
|
279
|
-
| PreCompact | `pre-compact.sh` |
|
|
314
|
+
| PreCompact | `pre-compact.sh` | Smart compaction: prioritized context (instincts > tasks > git state > decisions) |
|
|
315
|
+
| PreCompact | `pre-compact-save.sh` | Save timestamped context backup before compaction to `~/.ai-toolkit/compactions/` |
|
|
280
316
|
| SessionEnd | `session-end.sh` | Persist a session-end handoff note |
|
|
281
317
|
| TeammateIdle | *(inline)* | Completeness reminder |
|
|
282
318
|
|
|
@@ -290,7 +326,29 @@ Hook logic lives in `app/hooks/*.sh` — not inline JSON one-liners. Scripts are
|
|
|
290
326
|
| `/migrate` | Pre | Backup verification |
|
|
291
327
|
| `/rollback` | Post | State verification |
|
|
292
328
|
|
|
293
|
-
### 3.
|
|
329
|
+
### 3. Skill Security Auditing
|
|
330
|
+
|
|
331
|
+
Scan all skills and agents for security risks — both interactively and in CI:
|
|
332
|
+
|
|
333
|
+
```bash
|
|
334
|
+
# Interactive (Claude provides remediation suggestions)
|
|
335
|
+
/skill-audit
|
|
336
|
+
|
|
337
|
+
# Deterministic Python scanner for CI pipelines
|
|
338
|
+
python3 scripts/audit_skills.py # human-readable report
|
|
339
|
+
python3 scripts/audit_skills.py --json # machine-readable JSON
|
|
340
|
+
python3 scripts/audit_skills.py --ci # exit 1 on any HIGH finding
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
**What it detects:**
|
|
344
|
+
- Dangerous code: `eval()`, `exec()`, `subprocess(shell=True)`, `pickle.loads`
|
|
345
|
+
- Hardcoded secrets: AWS keys, GitHub PATs, private keys, API tokens
|
|
346
|
+
- Permission issues: knowledge skills with Bash, missing `allowed-tools`
|
|
347
|
+
- Bash risks: `curl | bash`, `chmod 777`, unquoted variables
|
|
348
|
+
|
|
349
|
+
**Severity levels:** HIGH (blocks CI), WARN (should fix), INFO (review)
|
|
350
|
+
|
|
351
|
+
### 4. Effort-Based Model Budgeting
|
|
294
352
|
|
|
295
353
|
Every skill declares an effort level used for model token budgeting:
|
|
296
354
|
- `low` — lint, build, fix (fast, cheap)
|
|
@@ -298,7 +356,7 @@ Every skill declares an effort level used for model token budgeting:
|
|
|
298
356
|
- `high` — review, plan, refactor, docs
|
|
299
357
|
- `max` — orchestrate, swarm, workflow
|
|
300
358
|
|
|
301
|
-
###
|
|
359
|
+
### 5. Multi-Language Quality Gates
|
|
302
360
|
|
|
303
361
|
The `Stop` hook runs after every response across 5 languages:
|
|
304
362
|
|
|
@@ -310,7 +368,7 @@ The `Stop` hook runs after every response across 5 languages:
|
|
|
310
368
|
| Dart | dart analyze | dart analyze |
|
|
311
369
|
| Go | go vet | go vet |
|
|
312
370
|
|
|
313
|
-
###
|
|
371
|
+
### 6. Iron Law Enforcement
|
|
314
372
|
|
|
315
373
|
Three skills enforce non-negotiable quality gates with anti-rationalization tables:
|
|
316
374
|
|
|
@@ -320,7 +378,7 @@ Three skills enforce non-negotiable quality gates with anti-rationalization tabl
|
|
|
320
378
|
| `debugging-tactics` | `NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST` | 4-phase debugging: root cause → pattern → hypothesis → fix. 3+ failed fixes → question architecture. |
|
|
321
379
|
| `verification-before-completion` | `NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE` | Gate function: IDENTIFY → RUN → READ → VERIFY → CLAIM. "Should work now" is not evidence. |
|
|
322
380
|
|
|
323
|
-
###
|
|
381
|
+
### 7. Two-Stage Review (`/subagent-development`)
|
|
324
382
|
|
|
325
383
|
Per-task review pipeline inspired by [obra/superpowers](https://github.com/obra/superpowers):
|
|
326
384
|
|
|
@@ -333,7 +391,7 @@ Implementer → Spec Compliance Review → Code Quality Review → Next Task
|
|
|
333
391
|
- Quality reviewer checks: SOLID, naming, error handling, tests, security
|
|
334
392
|
- Prompt templates included: `reference/implementer-prompt.md`, `spec-reviewer-prompt.md`, `code-quality-reviewer-prompt.md`
|
|
335
393
|
|
|
336
|
-
###
|
|
394
|
+
### 8. Ralph Wiggum Loop (`/repeat`)
|
|
337
395
|
|
|
338
396
|
Autonomous agent loop with safety controls:
|
|
339
397
|
|
|
@@ -352,7 +410,7 @@ Autonomous agent loop with safety controls:
|
|
|
352
410
|
|
|
353
411
|
Constitution Article I, Section 4 enforces these limits.
|
|
354
412
|
|
|
355
|
-
###
|
|
413
|
+
### 9. Visual Brainstorming Companion
|
|
356
414
|
|
|
357
415
|
Optional browser-based companion for `/write-a-prd` and `/design-an-interface`:
|
|
358
416
|
|
|
@@ -361,7 +419,7 @@ Optional browser-based companion for `/write-a-prd` and `/design-an-interface`:
|
|
|
361
419
|
- Per-question routing: mockups/diagrams → browser, text/conceptual → terminal
|
|
362
420
|
- Consent-based: offered once as its own message, never forced
|
|
363
421
|
|
|
364
|
-
###
|
|
422
|
+
### 10. Persistent Memory (`memory-pack` plugin)
|
|
365
423
|
|
|
366
424
|
SQLite-based session memory (opt-in plugin pack):
|
|
367
425
|
|
|
@@ -375,7 +433,20 @@ SQLite-based session memory (opt-in plugin pack):
|
|
|
375
433
|
|
|
376
434
|
|
|
377
435
|
|
|
378
|
-
### 11.
|
|
436
|
+
### 11. Persona Presets
|
|
437
|
+
|
|
438
|
+
4 engineering personas that adjust Claude's communication style per role:
|
|
439
|
+
|
|
440
|
+
| Persona | Focus | Key Skills |
|
|
441
|
+
|---------|-------|------------|
|
|
442
|
+
| `backend-lead` | System design, scalability, data integrity | `/workflow backend-feature`, `/tdd` |
|
|
443
|
+
| `frontend-lead` | Component architecture, a11y, Core Web Vitals | `/design-an-interface`, `/review` |
|
|
444
|
+
| `devops-eng` | IaC, CI/CD, blast radius, rollback safety | `/workflow infrastructure-change`, `/deploy` |
|
|
445
|
+
| `junior-dev` | Step-by-step explanations, learning focus | `/explain`, `/explore`, `/debug` |
|
|
446
|
+
|
|
447
|
+
Persistent via `--persona` at install time, or session-scoped via `/persona` runtime command.
|
|
448
|
+
|
|
449
|
+
### 12. KB Integration Protocol
|
|
379
450
|
|
|
380
451
|
Agents follow a research-before-action protocol enforced via rules:
|
|
381
452
|
1. `smart_query()` or `hybrid_search_kb()` before any technical answer
|
|
@@ -384,6 +455,67 @@ Agents follow a research-before-action protocol enforced via rules:
|
|
|
384
455
|
|
|
385
456
|
---
|
|
386
457
|
|
|
458
|
+
## MCP Templates
|
|
459
|
+
|
|
460
|
+
25 ready-to-use MCP server configuration templates. Install any with a single command:
|
|
461
|
+
|
|
462
|
+
```bash
|
|
463
|
+
ai-toolkit mcp add github slack # add GitHub + Slack MCP servers
|
|
464
|
+
ai-toolkit mcp list # browse all 25 templates
|
|
465
|
+
ai-toolkit mcp show postgres # inspect config before adding
|
|
466
|
+
```
|
|
467
|
+
|
|
468
|
+
Templates include: GitHub, PostgreSQL, Slack, Sentry, Context7, Brave Search, Supabase, Cloudflare, Vercel, and 16 more. Each is a validated JSON config fragment merged into `.mcp.json`.
|
|
469
|
+
|
|
470
|
+
---
|
|
471
|
+
|
|
472
|
+
## Language Rules
|
|
473
|
+
|
|
474
|
+
70 language-specific coding rules across 13 languages: TypeScript, Python, Go, Rust, Java, Kotlin, Swift, Dart, C#, PHP, C++, Ruby, plus 5 common rules. Each language has 5 rule categories: coding-style, testing, patterns, frameworks, security.
|
|
475
|
+
|
|
476
|
+
```bash
|
|
477
|
+
ai-toolkit install --local --auto-detect # detect project language, install matching rules
|
|
478
|
+
ai-toolkit install --local --lang typescript # explicit language selection
|
|
479
|
+
ai-toolkit install --local --lang go,python # multiple languages
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
Rules are injected into `CLAUDE.md` and auto-updated on `ai-toolkit update`.
|
|
483
|
+
|
|
484
|
+
---
|
|
485
|
+
|
|
486
|
+
## Extension API
|
|
487
|
+
|
|
488
|
+
Generic API for external tools to inject rules and hooks into the toolkit:
|
|
489
|
+
|
|
490
|
+
```bash
|
|
491
|
+
# Rules — injected into CLAUDE.md with HTML markers
|
|
492
|
+
ai-toolkit inject-rule ./jira-rules.md # idempotent, source-tagged block
|
|
493
|
+
ai-toolkit remove-rule jira-rules
|
|
494
|
+
|
|
495
|
+
# Hooks — injected into settings.json with _source tags
|
|
496
|
+
ai-toolkit inject-hook ./my-hooks.json # idempotent, _source tagged
|
|
497
|
+
ai-toolkit remove-hook my-hooks
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
Injection is idempotent — re-running updates only the marked block, never touching content outside it. See [`kb/reference/extension-api.md`](kb/reference/extension-api.md).
|
|
501
|
+
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
## Manifest Install
|
|
505
|
+
|
|
506
|
+
Module-level install granularity. Install only what you need:
|
|
507
|
+
|
|
508
|
+
```bash
|
|
509
|
+
ai-toolkit install --modules core,agents,rules-typescript
|
|
510
|
+
ai-toolkit install --auto-detect # detect project language and pick modules
|
|
511
|
+
ai-toolkit status # show installed modules and versions
|
|
512
|
+
ai-toolkit update # incremental re-install (only changed modules)
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
Install state is tracked in `~/.ai-toolkit/state.json`. See [`kb/reference/manifest-install.md`](kb/reference/manifest-install.md).
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
387
519
|
## Plugin Packs (Opt-in)
|
|
388
520
|
|
|
389
521
|
11 experimental plugin packs — domain bundles not part of the default install. Each pack bundles agents, skills, hooks, and/or rules for a specific domain.
|
|
@@ -410,8 +542,8 @@ All packs have `status: experimental`. Each has a `plugin.json` manifest and `RE
|
|
|
410
542
|
|
|
411
543
|
| Feature | ai-toolkit | everything-claude-code | wshobson/agents | ruflo |
|
|
412
544
|
|---------|---------------|----------------------|-----------------|-------|
|
|
413
|
-
| Skills |
|
|
414
|
-
| Agents |
|
|
545
|
+
| Skills | 90 | 100+ | 146 | 20+ |
|
|
546
|
+
| Agents | 44 | 30+ | 112 | 20+ |
|
|
415
547
|
| Machine-enforced constitution | **Yes** | No (docs only) | No | No |
|
|
416
548
|
| Skill-scoped lifecycle hooks | **Yes** | No | No | No |
|
|
417
549
|
| Effort-based model budgeting | **Yes** | No | No | No |
|
|
@@ -549,6 +681,14 @@ Usage: ai-toolkit <command> [options]
|
|
|
549
681
|
| `reset --local` | Wipe all project-local configs and recreate from scratch (clean slate) |
|
|
550
682
|
| `add-rule <rule.md> [name]` | Register rule in `~/.ai-toolkit/rules/` — auto-applied on every `update` |
|
|
551
683
|
| `remove-rule <name> [dir]` | Unregister rule from `~/.ai-toolkit/rules/` and remove its block from `CLAUDE.md` |
|
|
684
|
+
| `inject-hook <file.json>` | Inject external hooks into settings.json (idempotent, `_source` tagged) |
|
|
685
|
+
| `remove-hook <name>` | Remove injected hooks by source name |
|
|
686
|
+
| `mcp list` | List available MCP server templates (25 templates) |
|
|
687
|
+
| `mcp add <name> [names...]` | Add MCP server template(s) to `.mcp.json` |
|
|
688
|
+
| `mcp show <name>` | Show MCP template config details |
|
|
689
|
+
| `mcp remove <name>` | Remove MCP server from `.mcp.json` |
|
|
690
|
+
| `status` | Show installed modules and version |
|
|
691
|
+
| `update` | Re-install with saved modules (incremental) |
|
|
552
692
|
| `validate` | Verify toolkit integrity (`--strict` for CI-grade, warnings = errors) |
|
|
553
693
|
| `doctor` | Diagnose install health, hooks, quick-win assets, and artifact drift |
|
|
554
694
|
| `doctor --fix` | Auto-repair broken symlinks, missing hooks, stale artifacts |
|
|
@@ -591,6 +731,9 @@ ai-toolkit install --persona backend-lead # persona preset: backend-lead | front
|
|
|
591
731
|
ai-toolkit install --local # also set up project-local configs (CLAUDE.md, settings, constitution, Copilot, Cline, Roo, Aider, Git Hooks, MCP Defaults)
|
|
592
732
|
ai-toolkit update --local # re-apply + refresh project-local configs
|
|
593
733
|
ai-toolkit install --list # dry-run: show what would be applied
|
|
734
|
+
ai-toolkit install --modules core,agents,rules-typescript # selective module install
|
|
735
|
+
ai-toolkit install --auto-detect # detect project language and install matching rules
|
|
736
|
+
ai-toolkit install --lang typescript # explicit language for rules install
|
|
594
737
|
```
|
|
595
738
|
|
|
596
739
|
---
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-toolkit",
|
|
3
|
-
"description": "Professional-grade Claude Code toolkit:
|
|
4
|
-
"version": "1.2.
|
|
3
|
+
"description": "Professional-grade Claude Code toolkit: 90 skills, 44 agents, persona presets, skill security auditor, expanded lifecycle hooks, experimental opt-in plugin packs, benchmark harvesting, and multi-tool support.",
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SoftSpark",
|
|
7
7
|
"url": "https://github.com/softspark"
|
package/app/ARCHITECTURE.md
CHANGED
|
@@ -6,13 +6,13 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
6
6
|
|
|
7
7
|
| Component | Count |
|
|
8
8
|
|-----------|-------|
|
|
9
|
-
| Agents |
|
|
10
|
-
| Skills |
|
|
11
|
-
| Hooks | 12 events /
|
|
9
|
+
| Agents | 44 |
|
|
10
|
+
| Skills | 90 |
|
|
11
|
+
| Hooks | 12 events / 21 entries (SessionStart, Notification, PreToolUse ×2, UserPromptSubmit ×2, PostToolUse, Stop ×2, TaskCompleted, TeammateIdle, SubagentStart, SubagentStop, PreCompact, SessionEnd) |
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
## Agents (
|
|
15
|
+
## Agents (44)
|
|
16
16
|
|
|
17
17
|
### Orchestration & Planning (4)
|
|
18
18
|
| Agent | Model | Purpose |
|
|
@@ -31,16 +31,15 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
31
31
|
| `game-developer` | opus | Unity, Godot, Unreal, Phaser |
|
|
32
32
|
| `database-architect` | opus | Schema design, migrations, query optimization, operations |
|
|
33
33
|
|
|
34
|
-
### AI/ML (
|
|
34
|
+
### AI/ML (6)
|
|
35
35
|
| Agent | Model | Purpose |
|
|
36
36
|
|-------|-------|---------|
|
|
37
|
-
| `ai-engineer` | opus | LLM integration, vector search |
|
|
37
|
+
| `ai-engineer` | opus | LLM integration, vector search, RAG pipelines |
|
|
38
38
|
| `ml-engineer` | opus | Model training, MLOps |
|
|
39
39
|
| `nlp-engineer` | opus | NLP pipelines, text processing |
|
|
40
40
|
| `data-scientist` | opus | Statistics, analysis, visualization |
|
|
41
41
|
| `data-analyst` | sonnet | SQL, analytics, reporting |
|
|
42
42
|
| `prompt-engineer` | opus | Prompt design, optimization |
|
|
43
|
-
| `rag-engineer` | opus | RAG pipelines, retrieval |
|
|
44
43
|
|
|
45
44
|
### Quality & Security (6)
|
|
46
45
|
| Agent | Model | Purpose |
|
|
@@ -62,12 +61,11 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
62
61
|
| `performance-optimizer` | opus | Performance tuning |
|
|
63
62
|
| `llm-ops-engineer` | opus | LLM operations, monitoring |
|
|
64
63
|
|
|
65
|
-
### Research & Documentation (
|
|
64
|
+
### Research & Documentation (5)
|
|
66
65
|
| Agent | Model | Purpose |
|
|
67
66
|
|-------|-------|---------|
|
|
68
67
|
| `explorer-agent` | sonnet | Codebase discovery (READ-ONLY) |
|
|
69
|
-
| `
|
|
70
|
-
| `technical-researcher` | opus | Deep technical investigation |
|
|
68
|
+
| `technical-researcher` | opus | Deep technical investigation, research synthesis |
|
|
71
69
|
| `search-specialist` | sonnet | Search optimization |
|
|
72
70
|
| `fact-checker` | sonnet | Verification, source checking |
|
|
73
71
|
| `documenter` | sonnet | Documentation, KB management, SOPs, API docs |
|
|
@@ -86,11 +84,10 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
86
84
|
| `night-watchman` | sonnet | Autonomous maintenance: dependency updates, dead code |
|
|
87
85
|
| `chaos-monkey` | opus | Resilience testing: fault injection, failure verification |
|
|
88
86
|
|
|
89
|
-
### MCP (
|
|
87
|
+
### MCP (2)
|
|
90
88
|
| Agent | Model | Purpose |
|
|
91
89
|
|-------|-------|---------|
|
|
92
|
-
| `mcp-
|
|
93
|
-
| `mcp-server-architect` | opus | MCP server design |
|
|
90
|
+
| `mcp-specialist` | opus | MCP server design, client config, troubleshooting |
|
|
94
91
|
| `mcp-testing-engineer` | sonnet | MCP testing |
|
|
95
92
|
|
|
96
93
|
### Specialist (4)
|
|
@@ -103,7 +100,7 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
103
100
|
|
|
104
101
|
---
|
|
105
102
|
|
|
106
|
-
## Skills (
|
|
103
|
+
## Skills (90)
|
|
107
104
|
|
|
108
105
|
### Task Skills (28)
|
|
109
106
|
| Skill | Slash Command | Purpose |
|
|
@@ -137,7 +134,7 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
137
134
|
| `prd-to-issues` | `/prd-to-issues` | Break PRD into GitHub issues with vertical slices and HITL/AFK tagging |
|
|
138
135
|
| `skill-audit` | `/skill-audit` | Scan skills and agents for security risks, dangerous patterns, secrets |
|
|
139
136
|
|
|
140
|
-
### Hybrid Skills (
|
|
137
|
+
### Hybrid Skills (30)
|
|
141
138
|
| Skill | Slash Command | Purpose |
|
|
142
139
|
|-------|---------------|---------|
|
|
143
140
|
| `explore` | `/explore` | Codebase exploration and tech stack discovery |
|
|
@@ -168,8 +165,10 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
168
165
|
| `repeat` | `/repeat` | Autonomous loop with safety controls (Ralph Wiggum pattern) |
|
|
169
166
|
| `mem-search` | `/mem-search` | Search past coding sessions via natural language (memory-pack) |
|
|
170
167
|
| `persona` | `/persona` | Switch engineering persona at runtime (backend-lead, frontend-lead, devops-eng, junior-dev) |
|
|
168
|
+
| `council` | `/council` | 4-perspective decision evaluation (Advocate, Critic, Pragmatist, User-Proxy) with synthesis |
|
|
169
|
+
| `introspect` | `/introspect` | Agent self-debugging: classify failure pattern, suggest recovery action, emit introspection report |
|
|
171
170
|
|
|
172
|
-
### Knowledge Skills - Development (
|
|
171
|
+
### Knowledge Skills - Development (16)
|
|
173
172
|
| Skill | Purpose |
|
|
174
173
|
|-------|---------|
|
|
175
174
|
| `app-builder` | Project scaffolding, tech stack |
|
|
@@ -187,6 +186,7 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
187
186
|
| `kotlin-patterns` | Coroutines, DSLs, sealed classes, Ktor, MockK |
|
|
188
187
|
| `swift-patterns` | Protocol-oriented, SwiftUI, async/await, SPM |
|
|
189
188
|
| `ruby-patterns` | Blocks, Rails conventions, RSpec, ActiveRecord |
|
|
189
|
+
| `brand-voice` | Anti-trope list, voice principles, LLM rhetoric prevention |
|
|
190
190
|
|
|
191
191
|
### Knowledge Skills - Infrastructure (6)
|
|
192
192
|
| Skill | Purpose |
|
|
@@ -245,7 +245,7 @@ Phase 2: IMPLEMENTATION
|
|
|
245
245
|
| Bug Fix | debugger | backend/frontend, test-engineer |
|
|
246
246
|
| Performance | performance-optimizer | database-architect |
|
|
247
247
|
| Security | security-auditor | code-reviewer |
|
|
248
|
-
| Research |
|
|
248
|
+
| Research | technical-researcher | search-specialist, fact-checker |
|
|
249
249
|
| Documentation | documenter | explorer-agent |
|
|
250
250
|
|
|
251
251
|
---
|
|
@@ -255,9 +255,9 @@ Phase 2: IMPLEMENTATION
|
|
|
255
255
|
```
|
|
256
256
|
.claude/
|
|
257
257
|
├── ARCHITECTURE.md # This file
|
|
258
|
-
├── agents/ # Agent definitions (
|
|
258
|
+
├── agents/ # Agent definitions (44)
|
|
259
259
|
├── hooks.json # Quality gate hooks (multi-language)
|
|
260
|
-
├── skills/ # All skills: task, hybrid, knowledge (
|
|
260
|
+
├── skills/ # All skills: task, hybrid, knowledge (90)
|
|
261
261
|
├── output-styles/ # System prompt output style overrides (e.g. golden-rules)
|
|
262
262
|
├── constitution.md # Immutable safety rules (5 articles)
|
|
263
263
|
└── settings.local.json # Local settings + Agent Teams config
|
|
@@ -297,6 +297,22 @@ Lead Session (You)
|
|
|
297
297
|
|
|
298
298
|
---
|
|
299
299
|
|
|
300
|
+
## Extension Points
|
|
301
|
+
|
|
302
|
+
### MCP Templates (25)
|
|
303
|
+
`app/plugins/mcp-templates/` ships 25 ready-to-use MCP server config templates (filesystems, databases, GitHub, Slack, etc.). Opt-in via `ai-toolkit install --modules mcp-templates` or activated automatically with `--profile strict|full`.
|
|
304
|
+
|
|
305
|
+
### Language Rules (70 files, 13 languages)
|
|
306
|
+
`app/rules/` contains per-language coding rules injected into `CLAUDE.md`. Supported languages: TypeScript, Python, Go, Rust, Java, Kotlin, Swift, Dart, C#, PHP, C++, Ruby, and common (shared). Auto-detected from project files via `--auto-detect` or selected with `--modules rules-<lang>`.
|
|
307
|
+
|
|
308
|
+
### Extension API (`inject-hook`)
|
|
309
|
+
The `inject_section_cli.py` script provides a stable marker-based injection API. Any tool can add sections to `CLAUDE.md`, `constitution.md`, or `ARCHITECTURE.md` without overwriting user content, using `<!-- TOOLKIT:START:<id> -->` / `<!-- TOOLKIT:END:<id> -->` markers.
|
|
310
|
+
|
|
311
|
+
### Manifest Install (`--modules`, `--auto-detect`)
|
|
312
|
+
`manifest.json` defines all installable components as named modules. Install individual modules with `ai-toolkit install --modules <name>` or let the installer detect which language rules to add based on project files (e.g. `package.json` → `rules-typescript`, `go.mod` → `rules-golang`).
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
300
316
|
## Principles
|
|
301
317
|
|
|
302
318
|
1. **Universal**: No project-specific references
|