@softspark/ai-toolkit 1.3.7 → 1.3.9
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/CHANGELOG.md +23 -0
- package/README.md +1 -1
- package/app/.claude-plugin/plugin.json +2 -2
- package/app/ARCHITECTURE.md +7 -7
- package/app/rules/claude-toolkit-rules.md +1 -1
- package/kb/best-practices/no-hardcoded-counts.md +41 -0
- package/kb/reference/agents-catalog.md +3 -3
- package/kb/reference/architecture-overview.md +3 -3
- package/kb/reference/commands-catalog.md +1 -1
- package/kb/reference/competitive-features-implementation.md +2 -2
- package/kb/reference/extension-api.md +1 -1
- package/kb/reference/manifest-install.md +2 -2
- package/kb/reference/skills-catalog.md +3 -3
- package/llms-full.txt +65 -18
- package/llms.txt +4 -3
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/generate_augment.py +1 -1
- package/scripts/generate_cline.py +1 -1
- package/scripts/generate_copilot.py +1 -1
- package/scripts/generate_cursor_rules.py +1 -1
- package/scripts/generate_gemini.py +4 -4
- package/scripts/generate_llms_txt.py +2 -2
- package/scripts/generate_windsurf.py +1 -1
- package/scripts/generator_base.py +2 -2
- package/scripts/install_steps/ai_tools.py +16 -28
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,29 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## v1.3.9 — Single Source of Truth for Counts (2026-04-07)
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- **Counts policy**: Hardcoded skill/agent/hook/test counts removed from all secondary docs. Only README.md, manifest.json, and package.json contain counts. Rule: `kb/best-practices/no-hardcoded-counts.md`.
|
|
14
|
+
- **47 new tests** (327 → 374): MCP manager, language auto-detect, install state, version check, new hooks, orphan cleanup.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- manifest.json version synced (was 1.0.0)
|
|
18
|
+
- plugin.json version synced (was 1.2.1)
|
|
19
|
+
- agents-catalog.md version aligned
|
|
20
|
+
- ARCHITECTURE.md hook event multipliers corrected
|
|
21
|
+
- Generator scripts no longer embed counts
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## v1.3.8 — Language Rules as References (2026-04-07)
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- **Language rules injection**: Instead of inlining full rule content (~705 lines), `install --local` now injects lightweight reference pointers (~12 lines) with absolute paths to rule files. Claude reads them on demand via Read tool, keeping CLAUDE.md compact.
|
|
29
|
+
- **plugin.json**: Version synced from stale 1.2.1 to 1.3.8.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
10
33
|
## v1.3.7 — Update Notifications (2026-04-07)
|
|
11
34
|
|
|
12
35
|
### Added
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
[](app/skills/)
|
|
8
8
|
[](app/agents/)
|
|
9
|
-
[](tests/)
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-toolkit",
|
|
3
|
-
"description": "Professional-grade Claude Code toolkit
|
|
4
|
-
"version": "1.
|
|
3
|
+
"description": "Professional-grade Claude Code toolkit with persona presets, skill security auditor, expanded lifecycle hooks, experimental opt-in plugin packs, benchmark harvesting, and multi-tool support.",
|
|
4
|
+
"version": "1.3.8",
|
|
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 / 21 entries (SessionStart, Notification, PreToolUse ×
|
|
9
|
+
| Agents | See agents catalog |
|
|
10
|
+
| Skills | See skills catalog |
|
|
11
|
+
| Hooks | 12 events / 21 entries (SessionStart ×3, Notification ×1, PreToolUse ×4, UserPromptSubmit ×2, PostToolUse ×2, Stop ×2, TaskCompleted ×1, TeammateIdle ×1, SubagentStart ×1, SubagentStop ×1, PreCompact ×2, SessionEnd ×1) |
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
## Agents
|
|
15
|
+
## Agents
|
|
16
16
|
|
|
17
17
|
### Orchestration & Planning (4)
|
|
18
18
|
| Agent | Model | Purpose |
|
|
@@ -100,7 +100,7 @@ Universal multi-agent system for software development. Works across all reposito
|
|
|
100
100
|
|
|
101
101
|
---
|
|
102
102
|
|
|
103
|
-
## Skills
|
|
103
|
+
## Skills
|
|
104
104
|
|
|
105
105
|
### Task Skills (28)
|
|
106
106
|
| Skill | Slash Command | Purpose |
|
|
@@ -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
|
|
259
259
|
├── hooks.json # Quality gate hooks (multi-language)
|
|
260
|
-
├── skills/ # All skills: task, hybrid, knowledge
|
|
260
|
+
├── skills/ # All skills: task, hybrid, knowledge
|
|
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
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "No Hardcoded Counts in Secondary Docs"
|
|
3
|
+
category: best-practices
|
|
4
|
+
service: ai-toolkit
|
|
5
|
+
tags: [counts, documentation, maintenance, skills, agents, hooks, tests]
|
|
6
|
+
created: "2026-04-07"
|
|
7
|
+
last_updated: "2026-04-07"
|
|
8
|
+
description: "Counts (skills, agents, hooks, tests) should only appear in README.md and manifest.json. All other docs must NOT contain hardcoded numbers to avoid drift."
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# No Hardcoded Counts in Secondary Docs
|
|
12
|
+
|
|
13
|
+
## Rule
|
|
14
|
+
|
|
15
|
+
Hardcoded counts (skills, agents, hooks, tests, plugins) are allowed ONLY in:
|
|
16
|
+
- **README.md** — badges, "What You Get" table, comparison table
|
|
17
|
+
- **manifest.json** — module descriptions
|
|
18
|
+
- **package.json** — description field
|
|
19
|
+
|
|
20
|
+
All other files (CLAUDE.md, ARCHITECTURE.md, KB docs, plugin.json, llms.txt, AGENTS.md, copilot-instructions, rules, GEMINI.md) must NOT contain hardcoded counts like "90 skills" or "44 agents".
|
|
21
|
+
|
|
22
|
+
## Why
|
|
23
|
+
|
|
24
|
+
Every time a skill, agent, or hook is added/removed, dozens of files need updating. This causes constant drift and stale counts that erode trust. Consolidating to 2-3 files makes maintenance tractable.
|
|
25
|
+
|
|
26
|
+
## How to Apply
|
|
27
|
+
|
|
28
|
+
- In secondary docs, use relative language: "all agents", "the full skill set", "available hooks"
|
|
29
|
+
- If a doc MUST reference scale, use: "see README.md for current counts"
|
|
30
|
+
- `validate.py` checks counts only in README.md badges — that's sufficient
|
|
31
|
+
- When adding skills/agents/hooks, update ONLY: README.md badges + manifest.json descriptions
|
|
32
|
+
|
|
33
|
+
## Anti-Pattern
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
# BAD — hardcoded count in ARCHITECTURE.md
|
|
37
|
+
Shared AI development toolkit — 90 skills, 44 agents
|
|
38
|
+
|
|
39
|
+
# GOOD — no count
|
|
40
|
+
Shared AI development toolkit with multi-platform support
|
|
41
|
+
```
|
|
@@ -3,13 +3,13 @@ title: "AI Toolkit - Agents Catalog"
|
|
|
3
3
|
category: reference
|
|
4
4
|
service: ai-toolkit
|
|
5
5
|
tags: [agents, catalog, roles, ai-development]
|
|
6
|
-
version: "
|
|
6
|
+
version: "1.3.8"
|
|
7
7
|
created: "2026-03-23"
|
|
8
8
|
last_updated: "2026-03-25"
|
|
9
|
-
description: "Complete catalog of
|
|
9
|
+
description: "Complete catalog of specialized agents with roles, models, and use cases."
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Agents Catalog
|
|
12
|
+
# Agents Catalog
|
|
13
13
|
|
|
14
14
|
## By Category
|
|
15
15
|
|
|
@@ -13,7 +13,7 @@ description: "Architecture of ai-toolkit: directory layout, global install model
|
|
|
13
13
|
|
|
14
14
|
## Purpose
|
|
15
15
|
|
|
16
|
-
Shared, project-agnostic AI development toolkit for Claude Code (and compatible assistants like Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, and Augment). Provides
|
|
16
|
+
Shared, project-agnostic AI development toolkit for Claude Code (and compatible assistants like Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, and Augment). Provides specialized agents, skills (slash commands + knowledge), expanded lifecycle hooks, persona presets, and experimental opt-in plugin packs that teams can adopt separately from the default global install.
|
|
17
17
|
|
|
18
18
|
## Design Principles
|
|
19
19
|
|
|
@@ -30,8 +30,8 @@ ai-toolkit/
|
|
|
30
30
|
bin/
|
|
31
31
|
ai-toolkit.js # CLI entry point (install, init, add-rule, ...)
|
|
32
32
|
app/ # All toolkit components
|
|
33
|
-
agents/ #
|
|
34
|
-
skills/ #
|
|
33
|
+
agents/ # Agent definitions (.md + YAML frontmatter)
|
|
34
|
+
skills/ # skills: task, hybrid, knowledge
|
|
35
35
|
rules/ # Rules auto-injected into ~/.claude/CLAUDE.md
|
|
36
36
|
hooks/ # Hook scripts (copied to ~/.ai-toolkit/hooks/)
|
|
37
37
|
hooks.json # Hook definitions (merged into ~/.claude/settings.json)
|
|
@@ -13,7 +13,7 @@ description: "DEPRECATED: All slash commands are implemented as skills. See skil
|
|
|
13
13
|
|
|
14
14
|
All slash commands have been migrated to skills.
|
|
15
15
|
|
|
16
|
-
See **[Skills Catalog](skills-catalog.md)** for the complete list of
|
|
16
|
+
See **[Skills Catalog](skills-catalog.md)** for the complete list of skills, including:
|
|
17
17
|
- **28 Task Skills** — formerly standalone commands and creator workflows (e.g., `/commit`, `/test`, `/deploy`, `/hook-creator`, `/plugin-creator`)
|
|
18
18
|
- **30 Hybrid Skills** — slash commands that also provide agent knowledge (e.g., `/review`, `/debug`, `/plan`, `/tdd`, `/write-a-prd`, `/council`, `/introspect`)
|
|
19
19
|
- **32 Knowledge Skills** — domain patterns auto-loaded by agents (e.g., `brand-voice`, `clean-code`, `testing-patterns`)
|
|
@@ -35,7 +35,7 @@ Strengthen ai-toolkit's competitive position by implementing 10 features from co
|
|
|
35
35
|
**Key design principle:** ai-toolkit is a **generic toolkit** — it does NOT know about rag-mcp or any specific consumer. Consumers (like rag-mcp) use ai-toolkit's public API (`inject-rule`, `inject-hook`, `merge-hooks`) to add their own rules and hooks.
|
|
36
36
|
|
|
37
37
|
**State before plan:** 88 skills, 47 agents, 14 hooks, 9 editor integrations
|
|
38
|
-
**State after plan:**
|
|
38
|
+
**State after plan:** See manifest.json for current counts. Target: skills, agents, hooks, 70 language rules, 25 MCP templates, extension API
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
@@ -384,7 +384,7 @@ All entries are tagged with "_source": "<source-name>" for idempotent updates.
|
|
|
384
384
|
"required": true
|
|
385
385
|
},
|
|
386
386
|
"agents": {
|
|
387
|
-
"description": "
|
|
387
|
+
"description": "Specialized agents",
|
|
388
388
|
"files": ["app/agents/*.md"],
|
|
389
389
|
"required": false,
|
|
390
390
|
"default": true
|
|
@@ -3,7 +3,7 @@ title: "Extension API Reference"
|
|
|
3
3
|
category: reference
|
|
4
4
|
service: ai-toolkit
|
|
5
5
|
tags: [extension-api, inject-rule, inject-hook, mcp-templates, integration]
|
|
6
|
-
version: "1.3.
|
|
6
|
+
version: "1.3.8"
|
|
7
7
|
created: "2026-04-07"
|
|
8
8
|
last_updated: "2026-04-07"
|
|
9
9
|
description: "Reference for ai-toolkit's extension API: inject-rule, inject-hook, remove-rule, remove-hook, and mcp template management."
|
|
@@ -24,8 +24,8 @@ Modules are defined in `manifest.json` at the repository root. There are 17 modu
|
|
|
24
24
|
| Module | Description | In Profile |
|
|
25
25
|
|--------|-------------|-----------|
|
|
26
26
|
| `core` | Core hooks and essential skills | minimal, standard, strict, full |
|
|
27
|
-
| `agents` |
|
|
28
|
-
| `skills` |
|
|
27
|
+
| `agents` | Specialized agents | standard, strict, full |
|
|
28
|
+
| `skills` | All skills (task, hybrid, knowledge) | standard, strict, full |
|
|
29
29
|
| `rules-common` | Common coding rules (5 files) | standard, strict, full |
|
|
30
30
|
| `rules-typescript` | TypeScript-specific rules (5 files) | auto-detect |
|
|
31
31
|
| `rules-python` | Python-specific rules (5 files) | auto-detect |
|
|
@@ -3,13 +3,13 @@ title: "AI Toolkit - Skills Catalog"
|
|
|
3
3
|
category: reference
|
|
4
4
|
service: ai-toolkit
|
|
5
5
|
tags: [skills, domain-knowledge, catalog, task-skills, hybrid-skills]
|
|
6
|
-
version: "1.3.
|
|
6
|
+
version: "1.3.8"
|
|
7
7
|
created: "2026-03-23"
|
|
8
8
|
last_updated: "2026-04-07"
|
|
9
|
-
description: "Complete catalog
|
|
9
|
+
description: "Complete skills catalog with task, hybrid, and knowledge skills. Includes effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Skills Catalog
|
|
12
|
+
# Skills Catalog
|
|
13
13
|
|
|
14
14
|
All functionality is unified under skills. Task and hybrid skills are user-invocable as slash commands. Knowledge skills provide domain patterns auto-loaded by agents.
|
|
15
15
|
|
package/llms-full.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ai-toolkit
|
|
2
2
|
|
|
3
|
-
> Professional-grade Claude Code toolkit:
|
|
3
|
+
> Professional-grade Claude Code toolkit: skills, agents, machine-enforced constitution, quality hooks.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
## Knowledge Base
|
|
13
13
|
|
|
14
14
|
- [Best Practices](kb/best-practices/README.md)
|
|
15
|
+
- [No Hardcoded Counts in Secondary Docs](kb/best-practices/no-hardcoded-counts.md)
|
|
15
16
|
- [How-To Guides](kb/howto/README.md)
|
|
16
17
|
- [SOP: Claude Toolkit Maintenance](kb/procedures/maintenance-sop.md)
|
|
17
|
-
- [Agents Catalog
|
|
18
|
+
- [Agents Catalog](kb/reference/agents-catalog.md)
|
|
18
19
|
- [Anti-Pattern Registry Format](kb/reference/anti-pattern-registry-format.md)
|
|
19
20
|
- [AI Toolkit Architecture](kb/reference/architecture-overview.md)
|
|
20
21
|
- [Config Benchmark](kb/reference/benchmark-config.md)
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
- [Plugin Pack Conventions](kb/reference/plugin-pack-conventions.md)
|
|
38
39
|
- [Quick Wins Implementation Summary](kb/reference/quick-wins-implementation-summary.md)
|
|
39
40
|
- [Skill Templates](kb/reference/skill-templates.md)
|
|
40
|
-
- [Skills Catalog
|
|
41
|
+
- [Skills Catalog](kb/reference/skills-catalog.md)
|
|
41
42
|
- [Skills Unification Model](kb/reference/skills-unification.md)
|
|
42
43
|
- [Usage Statistics](kb/reference/stats.md)
|
|
43
44
|
- [Config Sync](kb/reference/sync.md)
|
|
@@ -201,6 +202,52 @@ Guidelines and recommendations. Guides will be added here as they are created.
|
|
|
201
202
|
|
|
202
203
|
---
|
|
203
204
|
|
|
205
|
+
## kb/best-practices/no-hardcoded-counts.md
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
title: "No Hardcoded Counts in Secondary Docs"
|
|
209
|
+
category: best-practices
|
|
210
|
+
service: ai-toolkit
|
|
211
|
+
tags: [counts, documentation, maintenance, skills, agents, hooks, tests]
|
|
212
|
+
created: "2026-04-07"
|
|
213
|
+
last_updated: "2026-04-07"
|
|
214
|
+
description: "Counts (skills, agents, hooks, tests) should only appear in README.md and manifest.json. All other docs must NOT contain hardcoded numbers to avoid drift."
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
# No Hardcoded Counts in Secondary Docs
|
|
218
|
+
|
|
219
|
+
## Rule
|
|
220
|
+
|
|
221
|
+
Hardcoded counts (skills, agents, hooks, tests, plugins) are allowed ONLY in:
|
|
222
|
+
- **README.md** — badges, "What You Get" table, comparison table
|
|
223
|
+
- **manifest.json** — module descriptions
|
|
224
|
+
- **package.json** — description field
|
|
225
|
+
|
|
226
|
+
All other files (CLAUDE.md, ARCHITECTURE.md, KB docs, plugin.json, llms.txt, AGENTS.md, copilot-instructions, rules, GEMINI.md) must NOT contain hardcoded counts like "90 skills" or "44 agents".
|
|
227
|
+
|
|
228
|
+
## Why
|
|
229
|
+
|
|
230
|
+
Every time a skill, agent, or hook is added/removed, dozens of files need updating. This causes constant drift and stale counts that erode trust. Consolidating to 2-3 files makes maintenance tractable.
|
|
231
|
+
|
|
232
|
+
## How to Apply
|
|
233
|
+
|
|
234
|
+
- In secondary docs, use relative language: "all agents", "the full skill set", "available hooks"
|
|
235
|
+
- If a doc MUST reference scale, use: "see README.md for current counts"
|
|
236
|
+
- `validate.py` checks counts only in README.md badges — that's sufficient
|
|
237
|
+
- When adding skills/agents/hooks, update ONLY: README.md badges + manifest.json descriptions
|
|
238
|
+
|
|
239
|
+
## Anti-Pattern
|
|
240
|
+
|
|
241
|
+
```markdown
|
|
242
|
+
# BAD — hardcoded count in ARCHITECTURE.md
|
|
243
|
+
Shared AI development toolkit — 90 skills, 44 agents
|
|
244
|
+
|
|
245
|
+
# GOOD — no count
|
|
246
|
+
Shared AI development toolkit with multi-platform support
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
204
251
|
## kb/howto/README.md
|
|
205
252
|
|
|
206
253
|
---
|
|
@@ -535,13 +582,13 @@ title: "AI Toolkit - Agents Catalog"
|
|
|
535
582
|
category: reference
|
|
536
583
|
service: ai-toolkit
|
|
537
584
|
tags: [agents, catalog, roles, ai-development]
|
|
538
|
-
version: "
|
|
585
|
+
version: "1.3.8"
|
|
539
586
|
created: "2026-03-23"
|
|
540
587
|
last_updated: "2026-03-25"
|
|
541
|
-
description: "Complete catalog of
|
|
588
|
+
description: "Complete catalog of specialized agents with roles, models, and use cases."
|
|
542
589
|
---
|
|
543
590
|
|
|
544
|
-
# Agents Catalog
|
|
591
|
+
# Agents Catalog
|
|
545
592
|
|
|
546
593
|
## By Category
|
|
547
594
|
|
|
@@ -897,7 +944,7 @@ description: "Architecture of ai-toolkit: directory layout, global install model
|
|
|
897
944
|
|
|
898
945
|
## Purpose
|
|
899
946
|
|
|
900
|
-
Shared, project-agnostic AI development toolkit for Claude Code (and compatible assistants like Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, and Augment). Provides
|
|
947
|
+
Shared, project-agnostic AI development toolkit for Claude Code (and compatible assistants like Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, and Augment). Provides specialized agents, skills (slash commands + knowledge), expanded lifecycle hooks, persona presets, and experimental opt-in plugin packs that teams can adopt separately from the default global install.
|
|
901
948
|
|
|
902
949
|
## Design Principles
|
|
903
950
|
|
|
@@ -914,8 +961,8 @@ ai-toolkit/
|
|
|
914
961
|
bin/
|
|
915
962
|
ai-toolkit.js # CLI entry point (install, init, add-rule, ...)
|
|
916
963
|
app/ # All toolkit components
|
|
917
|
-
agents/ #
|
|
918
|
-
skills/ #
|
|
964
|
+
agents/ # Agent definitions (.md + YAML frontmatter)
|
|
965
|
+
skills/ # skills: task, hybrid, knowledge
|
|
919
966
|
rules/ # Rules auto-injected into ~/.claude/CLAUDE.md
|
|
920
967
|
hooks/ # Hook scripts (copied to ~/.ai-toolkit/hooks/)
|
|
921
968
|
hooks.json # Hook definitions (merged into ~/.claude/settings.json)
|
|
@@ -1510,7 +1557,7 @@ description: "DEPRECATED: All slash commands are implemented as skills. See skil
|
|
|
1510
1557
|
|
|
1511
1558
|
All slash commands have been migrated to skills.
|
|
1512
1559
|
|
|
1513
|
-
See **[Skills Catalog](skills-catalog.md)** for the complete list of
|
|
1560
|
+
See **[Skills Catalog](skills-catalog.md)** for the complete list of skills, including:
|
|
1514
1561
|
- **28 Task Skills** — formerly standalone commands and creator workflows (e.g., `/commit`, `/test`, `/deploy`, `/hook-creator`, `/plugin-creator`)
|
|
1515
1562
|
- **30 Hybrid Skills** — slash commands that also provide agent knowledge (e.g., `/review`, `/debug`, `/plan`, `/tdd`, `/write-a-prd`, `/council`, `/introspect`)
|
|
1516
1563
|
- **32 Knowledge Skills** — domain patterns auto-loaded by agents (e.g., `brand-voice`, `clean-code`, `testing-patterns`)
|
|
@@ -1558,7 +1605,7 @@ Strengthen ai-toolkit's competitive position by implementing 10 features from co
|
|
|
1558
1605
|
**Key design principle:** ai-toolkit is a **generic toolkit** — it does NOT know about rag-mcp or any specific consumer. Consumers (like rag-mcp) use ai-toolkit's public API (`inject-rule`, `inject-hook`, `merge-hooks`) to add their own rules and hooks.
|
|
1559
1606
|
|
|
1560
1607
|
**State before plan:** 88 skills, 47 agents, 14 hooks, 9 editor integrations
|
|
1561
|
-
**State after plan:**
|
|
1608
|
+
**State after plan:** See manifest.json for current counts. Target: skills, agents, hooks, 70 language rules, 25 MCP templates, extension API
|
|
1562
1609
|
|
|
1563
1610
|
---
|
|
1564
1611
|
|
|
@@ -1907,7 +1954,7 @@ All entries are tagged with "_source": "<source-name>" for idempotent updates.
|
|
|
1907
1954
|
"required": true
|
|
1908
1955
|
},
|
|
1909
1956
|
"agents": {
|
|
1910
|
-
"description": "
|
|
1957
|
+
"description": "Specialized agents",
|
|
1911
1958
|
"files": ["app/agents/*.md"],
|
|
1912
1959
|
"required": false,
|
|
1913
1960
|
"default": true
|
|
@@ -2276,7 +2323,7 @@ title: "Extension API Reference"
|
|
|
2276
2323
|
category: reference
|
|
2277
2324
|
service: ai-toolkit
|
|
2278
2325
|
tags: [extension-api, inject-rule, inject-hook, mcp-templates, integration]
|
|
2279
|
-
version: "1.3.
|
|
2326
|
+
version: "1.3.8"
|
|
2280
2327
|
created: "2026-04-07"
|
|
2281
2328
|
last_updated: "2026-04-07"
|
|
2282
2329
|
description: "Reference for ai-toolkit's extension API: inject-rule, inject-hook, remove-rule, remove-hook, and mcp template management."
|
|
@@ -3454,8 +3501,8 @@ Modules are defined in `manifest.json` at the repository root. There are 17 modu
|
|
|
3454
3501
|
| Module | Description | In Profile |
|
|
3455
3502
|
|--------|-------------|-----------|
|
|
3456
3503
|
| `core` | Core hooks and essential skills | minimal, standard, strict, full |
|
|
3457
|
-
| `agents` |
|
|
3458
|
-
| `skills` |
|
|
3504
|
+
| `agents` | Specialized agents | standard, strict, full |
|
|
3505
|
+
| `skills` | All skills (task, hybrid, knowledge) | standard, strict, full |
|
|
3459
3506
|
| `rules-common` | Common coding rules (5 files) | standard, strict, full |
|
|
3460
3507
|
| `rules-typescript` | TypeScript-specific rules (5 files) | auto-detect |
|
|
3461
3508
|
| `rules-python` | Python-specific rules (5 files) | auto-detect |
|
|
@@ -4067,13 +4114,13 @@ title: "AI Toolkit - Skills Catalog"
|
|
|
4067
4114
|
category: reference
|
|
4068
4115
|
service: ai-toolkit
|
|
4069
4116
|
tags: [skills, domain-knowledge, catalog, task-skills, hybrid-skills]
|
|
4070
|
-
version: "1.3.
|
|
4117
|
+
version: "1.3.8"
|
|
4071
4118
|
created: "2026-03-23"
|
|
4072
4119
|
last_updated: "2026-04-07"
|
|
4073
|
-
description: "Complete catalog
|
|
4120
|
+
description: "Complete skills catalog with task, hybrid, and knowledge skills. Includes effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
|
4074
4121
|
---
|
|
4075
4122
|
|
|
4076
|
-
# Skills Catalog
|
|
4123
|
+
# Skills Catalog
|
|
4077
4124
|
|
|
4078
4125
|
All functionality is unified under skills. Task and hybrid skills are user-invocable as slash commands. Knowledge skills provide domain patterns auto-loaded by agents.
|
|
4079
4126
|
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ai-toolkit
|
|
2
2
|
|
|
3
|
-
> Professional-grade Claude Code toolkit:
|
|
3
|
+
> Professional-grade Claude Code toolkit: skills, agents, machine-enforced constitution, quality hooks.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
## Knowledge Base
|
|
13
13
|
|
|
14
14
|
- [Best Practices](kb/best-practices/README.md)
|
|
15
|
+
- [No Hardcoded Counts in Secondary Docs](kb/best-practices/no-hardcoded-counts.md)
|
|
15
16
|
- [How-To Guides](kb/howto/README.md)
|
|
16
17
|
- [SOP: Claude Toolkit Maintenance](kb/procedures/maintenance-sop.md)
|
|
17
|
-
- [Agents Catalog
|
|
18
|
+
- [Agents Catalog](kb/reference/agents-catalog.md)
|
|
18
19
|
- [Anti-Pattern Registry Format](kb/reference/anti-pattern-registry-format.md)
|
|
19
20
|
- [AI Toolkit Architecture](kb/reference/architecture-overview.md)
|
|
20
21
|
- [Config Benchmark](kb/reference/benchmark-config.md)
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
- [Plugin Pack Conventions](kb/reference/plugin-pack-conventions.md)
|
|
38
39
|
- [Quick Wins Implementation Summary](kb/reference/quick-wins-implementation-summary.md)
|
|
39
40
|
- [Skill Templates](kb/reference/skill-templates.md)
|
|
40
|
-
- [Skills Catalog
|
|
41
|
+
- [Skills Catalog](kb/reference/skills-catalog.md)
|
|
41
42
|
- [Skills Unification Model](kb/reference/skills-unification.md)
|
|
42
43
|
- [Usage Statistics](kb/reference/stats.md)
|
|
43
44
|
- [Config Sync](kb/reference/sync.md)
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softspark/ai-toolkit",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Professional-grade AI coding toolkit: 90 skills, 44 agents, multi-platform support (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment), machine-enforced safety constitution, persona presets, skill security auditor, expanded lifecycle hooks, 11 plugin packs, and benchmark tooling.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -31,7 +31,7 @@ if __name__ == "__main__":
|
|
|
31
31
|
],
|
|
32
32
|
"intro_template": (
|
|
33
33
|
"This repository uses the ai-toolkit — a shared AI development toolkit"
|
|
34
|
-
" with
|
|
34
|
+
" with specialized agent personas and skills."
|
|
35
35
|
),
|
|
36
36
|
"agents_section": "## Available Agent Personas",
|
|
37
37
|
"agents_intro": "Apply the expertise of these agents when working on relevant tasks:",
|
|
@@ -20,7 +20,7 @@ if __name__ == "__main__":
|
|
|
20
20
|
],
|
|
21
21
|
"intro_template": (
|
|
22
22
|
"This repository uses the ai-toolkit — a shared AI development toolkit"
|
|
23
|
-
" with
|
|
23
|
+
" with specialized agent personas and skills."
|
|
24
24
|
),
|
|
25
25
|
"agents_section": "## Available Agent Personas",
|
|
26
26
|
"agents_intro": "Apply the expertise of these agents when working on relevant tasks:",
|
|
@@ -16,7 +16,7 @@ if __name__ == "__main__":
|
|
|
16
16
|
"title": "# GitHub Copilot Instructions",
|
|
17
17
|
"intro_template": (
|
|
18
18
|
"This repository uses the ai-toolkit — a shared AI development toolkit"
|
|
19
|
-
" with
|
|
19
|
+
" with specialized agent personas and skills."
|
|
20
20
|
),
|
|
21
21
|
"agents_section": "## Available Agent Personas",
|
|
22
22
|
"agents_intro": "Apply the expertise of these agents when working on relevant tasks:",
|
|
@@ -20,7 +20,7 @@ if __name__ == "__main__":
|
|
|
20
20
|
],
|
|
21
21
|
"intro_template": (
|
|
22
22
|
"This repository uses the ai-toolkit — a shared AI development toolkit"
|
|
23
|
-
" with
|
|
23
|
+
" with specialized agent personas and skills."
|
|
24
24
|
),
|
|
25
25
|
"agents_section": "## Available Agent Personas",
|
|
26
26
|
"agents_intro": "Apply the expertise of these agents when working on relevant tasks:",
|
|
@@ -15,13 +15,13 @@ if __name__ == "__main__":
|
|
|
15
15
|
render_generator({
|
|
16
16
|
"title": "# AI Toolkit — Gemini CLI Configuration",
|
|
17
17
|
"intro_template": (
|
|
18
|
-
"Shared AI development toolkit with
|
|
19
|
-
"
|
|
18
|
+
"Shared AI development toolkit with specialized agents,"
|
|
19
|
+
" skills, quality hooks, and a safety constitution."
|
|
20
20
|
),
|
|
21
|
-
"agents_section": "## Available Agents
|
|
21
|
+
"agents_section": "## Available Agents",
|
|
22
22
|
"agents_intro": "Specialized agent personas — apply their expertise for relevant tasks:",
|
|
23
23
|
"agents_format": "bullets",
|
|
24
|
-
"skills_section": "## Available Skills
|
|
24
|
+
"skills_section": "## Available Skills",
|
|
25
25
|
"skills_intro": "Skills are invocable slash commands or auto-loaded knowledge sources:",
|
|
26
26
|
"skills_format": "bullets",
|
|
27
27
|
"guidelines": ["quality_standards", "workflow"],
|
|
@@ -65,8 +65,8 @@ def generate_index() -> None:
|
|
|
65
65
|
print("# ai-toolkit")
|
|
66
66
|
print()
|
|
67
67
|
print(
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
"> Professional-grade Claude Code toolkit: skills,"
|
|
69
|
+
" agents, machine-enforced constitution, quality hooks."
|
|
70
70
|
)
|
|
71
71
|
print()
|
|
72
72
|
print("## Documentation")
|
|
@@ -20,7 +20,7 @@ if __name__ == "__main__":
|
|
|
20
20
|
],
|
|
21
21
|
"intro_template": (
|
|
22
22
|
"This repository uses the ai-toolkit — a shared AI development toolkit"
|
|
23
|
-
" with
|
|
23
|
+
" with specialized agent personas and skills."
|
|
24
24
|
),
|
|
25
25
|
"agents_section": "## Available Agent Personas",
|
|
26
26
|
"agents_intro": "Apply the expertise of these agents when working on relevant tasks:",
|
|
@@ -12,7 +12,7 @@ Usage::
|
|
|
12
12
|
render_generator({
|
|
13
13
|
"title": "# Cursor Rules",
|
|
14
14
|
"header_lines": ["# Auto-generated..."],
|
|
15
|
-
"intro_template": "This repo uses ai-toolkit with
|
|
15
|
+
"intro_template": "This repo uses ai-toolkit with specialized agents and skills.",
|
|
16
16
|
"agents_section": "## Available Agent Personas",
|
|
17
17
|
"agents_format": "headings", # "headings" or "bullets"
|
|
18
18
|
"agents_level": "##", # heading level (for "headings" format)
|
|
@@ -57,7 +57,7 @@ def render_generator(config: dict) -> None:
|
|
|
57
57
|
Config keys:
|
|
58
58
|
title: str — main heading line
|
|
59
59
|
header_lines: list[str] — additional header lines (comments etc)
|
|
60
|
-
intro_template: str —
|
|
60
|
+
intro_template: str — intro text (may use {agents}/{skills} placeholders)
|
|
61
61
|
agents_section: str — heading for agents section
|
|
62
62
|
agents_format: "headings" | "bullets"
|
|
63
63
|
agents_level: str — heading level for headings format (default "##")
|
|
@@ -188,39 +188,27 @@ def _inject_language_rules(cwd: Path, language_modules: list[str] | None) -> Non
|
|
|
188
188
|
if not langs:
|
|
189
189
|
return
|
|
190
190
|
|
|
191
|
-
# Build
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
# Build a lightweight reference pointer — NOT the full rules content.
|
|
192
|
+
# Full rules are available as knowledge skills (auto-loaded by Claude)
|
|
193
|
+
# and as files Claude can Read on demand.
|
|
194
|
+
toolkit_pkg = app_dir.parent
|
|
195
|
+
lines: list[str] = ["# Language Rules", ""]
|
|
196
|
+
lines.append(f"This project uses: **{', '.join(langs)}**")
|
|
194
197
|
lines.append("")
|
|
195
|
-
lines.append("
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
# Deduplicate: common + unique language dirs
|
|
198
|
+
lines.append("When writing or reviewing code, use the Glob and Read tools to read the rules:")
|
|
199
|
+
# Resolve actual installed path for the rules
|
|
200
|
+
rules_resolved = str(rules_src.resolve())
|
|
199
201
|
all_dirs: list[str] = ["common"]
|
|
200
202
|
for l in langs:
|
|
201
203
|
if l not in all_dirs:
|
|
202
204
|
all_dirs.append(l)
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
lang_path
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
lines.append("")
|
|
211
|
-
for rule_file in sorted(lang_path.glob("*.md")):
|
|
212
|
-
content = rule_file.read_text(encoding="utf-8").strip()
|
|
213
|
-
# Strip YAML frontmatter
|
|
214
|
-
if content.startswith("---"):
|
|
215
|
-
end = content.find("---", 3)
|
|
216
|
-
if end != -1:
|
|
217
|
-
content = content[end + 3:].strip()
|
|
218
|
-
# Extract first 3 bullet points as key rules
|
|
219
|
-
bullets = [l.strip() for l in content.splitlines() if l.strip().startswith("- ")][:3]
|
|
220
|
-
if bullets:
|
|
221
|
-
category = rule_file.stem.replace("-", " ").title()
|
|
222
|
-
lines.append(f"**{category}:** {' | '.join(b.lstrip('- ') for b in bullets)}")
|
|
223
|
-
lines.append("")
|
|
205
|
+
for lang in all_dirs:
|
|
206
|
+
lang_path = rules_src / lang
|
|
207
|
+
if lang_path.is_dir():
|
|
208
|
+
categories = ", ".join(f.stem for f in sorted(lang_path.glob("*.md")))
|
|
209
|
+
lines.append(f"- `{lang_path.resolve()}/` ({categories})")
|
|
210
|
+
lines.append("")
|
|
211
|
+
lines.append("Read the relevant rule files before making code changes. Do NOT guess — read first.")
|
|
224
212
|
|
|
225
213
|
# Write summary to temp file, then inject as section
|
|
226
214
|
import tempfile
|