@softspark/ai-toolkit 1.3.9 → 1.3.11
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 +22 -0
- package/README.md +4 -2
- package/app/.claude-plugin/plugin.json +1 -1
- package/app/agents/orchestrator.md +21 -3
- package/app/constitution.md +7 -0
- package/app/hooks/save-session.sh +22 -0
- package/bin/ai-toolkit.js +3 -1
- package/kb/reference/agents-catalog.md +1 -1
- package/kb/reference/architecture-overview.md +2 -2
- package/kb/reference/competitive-features-implementation.md +2 -2
- package/kb/reference/hooks-catalog.md +4 -1
- package/kb/reference/language-rules.md +2 -2
- package/kb/reference/skills-catalog.md +1 -1
- package/llms-full.txt +12 -36
- package/llms.txt +0 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/install_steps/install_state.py +5 -0
- package/kb/reference/commands-catalog.md +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,28 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## v1.3.11 — Proactive Context Checkpointing + Augment CLI (2026-04-08)
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Constitution Art. I §5: Proactive Context Checkpointing** — agents must checkpoint `.claude/session-context.md` during multi-step tasks (objective, completed/pending steps, files modified, key decisions).
|
|
14
|
+
- **`augment-rules` CLI command** — wired `generate_augment.py` into `bin/ai-toolkit.js` GENERATORS + COMMANDS + `generate-all`. Generates `.augment/rules/ai-toolkit.md`.
|
|
15
|
+
- **Augment in Platform Support** — added to README table with project scope.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- **`save-session.sh`** — enriched with git branch, dirty count, diff stat, and agent-written checkpoint preservation.
|
|
19
|
+
- **Language rules count** — corrected 70→68 in README.md (13 dirs × 5 + 3 standalone).
|
|
20
|
+
- **Secondary docs** — removed hardcoded rule counts from `language-rules.md`, `architecture-overview.md`, `competitive-features-implementation.md`; reference README for canonical count.
|
|
21
|
+
- **README architecture tree** — added missing `track-usage.sh`.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## v1.3.10 — Patch (2026-04-07)
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
- **Version cache**: `install` and `update` now clear `~/.ai-toolkit/version-check.json` so `status` shows correct "Latest" immediately after upgrade.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
10
32
|
## v1.3.9 — Single Source of Truth for Counts (2026-04-07)
|
|
11
33
|
|
|
12
34
|
### Changed
|
package/README.md
CHANGED
|
@@ -122,6 +122,7 @@ Replaces all symlinks with real files, inlines rules into CLAUDE.md, copies cons
|
|
|
122
122
|
| Cline | `.clinerules` | `ai-toolkit install --local` | project |
|
|
123
123
|
| Roo Code | `.roomodes` | `ai-toolkit install --local` | project |
|
|
124
124
|
| Aider | `.aider.conf.yml` | `ai-toolkit install --local` | project |
|
|
125
|
+
| Augment | `.augment/rules/ai-toolkit.md` | `ai-toolkit install --local` | project |
|
|
125
126
|
| Codex / OpenCode | `AGENTS.md` | `ai-toolkit agents-md` | project |
|
|
126
127
|
|
|
127
128
|
> **Note:** Claude Code remains the primary platform with full feature support (agents, lifecycle hooks, safety constitution). Other platforms receive a distilled ruleset generated from the same source. For editors lacking native bash lifecycle hooks, `--local` installs a Git hooks fallback (`.git/hooks/pre-commit`) to enforce quality gates pre-commit.
|
|
@@ -179,7 +180,8 @@ ai-toolkit/
|
|
|
179
180
|
│ │ ├── mcp-health.sh # MCP server availability check
|
|
180
181
|
│ │ ├── governance-capture.sh # Security-sensitive op logging
|
|
181
182
|
│ │ ├── commit-quality.sh # Conventional commit advisory
|
|
182
|
-
│ │
|
|
183
|
+
│ │ ├── session-context.sh # Environment snapshot on start
|
|
184
|
+
│ │ └── track-usage.sh # Skill invocation tracking
|
|
183
185
|
│ ├── hooks.json # Hook definitions (merged into settings.json)
|
|
184
186
|
│ ├── plugins/ # Experimental plugin packs (opt-in, not part of default install)
|
|
185
187
|
│ ├── output-styles/ # System prompt output style overrides
|
|
@@ -471,7 +473,7 @@ Templates include: GitHub, PostgreSQL, Slack, Sentry, Context7, Brave Search, Su
|
|
|
471
473
|
|
|
472
474
|
## Language Rules
|
|
473
475
|
|
|
474
|
-
|
|
476
|
+
68 language-specific coding rules across 13 languages: TypeScript, Python, Go, Rust, Java, Kotlin, Swift, Dart, C#, PHP, C++, Ruby, plus common rules. Each language has 5 rule categories: coding-style, testing, patterns, frameworks, security.
|
|
475
477
|
|
|
476
478
|
```bash
|
|
477
479
|
ai-toolkit install --local # auto-detects project language, installs matching rules
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-toolkit",
|
|
3
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.
|
|
4
|
+
"version": "1.3.11",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SoftSpark",
|
|
7
7
|
"url": "https://github.com/softspark"
|
|
@@ -145,7 +145,7 @@ smart_query("[task description in English]") # or hybrid_search_kb()
|
|
|
145
145
|
| `data-analyst` | Data | Analysis, visualization, SQL |
|
|
146
146
|
| `documenter` | Documentation | Architecture notes, runbooks, guides |
|
|
147
147
|
| `tech-lead` | Architecture | Code review, standards, tech disputes |
|
|
148
|
-
| `product-
|
|
148
|
+
| `product-manager` | Product | Requirements, priorities, acceptance criteria |
|
|
149
149
|
| `security-architect` | Security Design | Threat modeling, secure architecture |
|
|
150
150
|
| `night-watchman` | Autonomous Ops | Auto-updates, refactoring, cleanup |
|
|
151
151
|
| `chaos-monkey` | Resilience | Fault injection, reliability testing |
|
|
@@ -154,6 +154,24 @@ smart_query("[task description in English]") # or hybrid_search_kb()
|
|
|
154
154
|
| `chief-of-staff` | Management | Executive summary, noise filtering |
|
|
155
155
|
| `meta-architect` | Evolution | Self-optimization, agent updates |
|
|
156
156
|
| `system-governor` | Safety | Constitution enforcement, VETO power |
|
|
157
|
+
| `ai-engineer` | AI/ML | LLM integration, RAG, vector DBs |
|
|
158
|
+
| `ml-engineer` | ML | Model training, MLOps |
|
|
159
|
+
| `nlp-engineer` | NLP | NER, text classification, NLP pipelines |
|
|
160
|
+
| `llm-ops-engineer` | LLM Ops | LLM caching, fallback, cost optimization |
|
|
161
|
+
| `prompt-engineer` | Prompts | Prompt design, chain-of-thought |
|
|
162
|
+
| `data-scientist` | Data Science | Statistics, EDA, A/B testing |
|
|
163
|
+
| `search-specialist` | Search | Search optimization, relevance tuning |
|
|
164
|
+
| `code-reviewer` | Code Quality | Code review, quality, security |
|
|
165
|
+
| `code-archaeologist` | Legacy Code | Legacy code investigation, dead code |
|
|
166
|
+
| `command-expert` | CLI | Shell scripting, CLI tools |
|
|
167
|
+
| `qa-automation-engineer` | QA | E2E testing, Playwright, Cypress |
|
|
168
|
+
| `mcp-testing-engineer` | MCP Testing | MCP protocol testing |
|
|
169
|
+
| `infrastructure-architect` | Architecture | Architecture decisions, trade-offs |
|
|
170
|
+
| `infrastructure-validator` | Deployment | Deployment verification, health checks |
|
|
171
|
+
| `incident-responder` | Incidents | Production incidents, P1-P4 |
|
|
172
|
+
| `seo-specialist` | SEO | SEO, meta tags, structured data |
|
|
173
|
+
| `fact-checker` | Verification | Claim verification, accuracy |
|
|
174
|
+
| `technical-researcher` | Research | Technical investigation, synthesis |
|
|
157
175
|
|
|
158
176
|
## 🔴 Agent Boundary Enforcement
|
|
159
177
|
|
|
@@ -213,7 +231,7 @@ Invoke entire SQUADS in PARALLEL to maximize impact.
|
|
|
213
231
|
|
|
214
232
|
### 1. The "Feature Squad" (New Capability)
|
|
215
233
|
**Target**: Implementing a new user-facing feature.
|
|
216
|
-
- `product-
|
|
234
|
+
- `product-manager`: Value & Acceptance Criteria
|
|
217
235
|
- `tech-lead`: Architecture & Standards
|
|
218
236
|
- `frontend-specialist`: UI/UX
|
|
219
237
|
- `backend-specialist`: Logic & Data
|
|
@@ -255,7 +273,7 @@ Invoke entire SQUADS in PARALLEL to maximize impact.
|
|
|
255
273
|
□ MCP/Protocol → mcp-specialist
|
|
256
274
|
□ Discovery → explorer-agent
|
|
257
275
|
□ Architecture → tech-lead
|
|
258
|
-
□ Product → product-
|
|
276
|
+
□ Product → product-manager
|
|
259
277
|
□ Security Design → security-architect
|
|
260
278
|
□ Maintenance → night-watchman
|
|
261
279
|
□ Resilience → chaos-monkey
|
package/app/constitution.md
CHANGED
|
@@ -20,6 +20,13 @@ status: IMMUTABLE
|
|
|
20
20
|
- All iterations MUST be logged to stats for audit
|
|
21
21
|
- Exceeding limits requires explicit user override
|
|
22
22
|
|
|
23
|
+
### Section 5: Proactive Context Checkpointing
|
|
24
|
+
- During multi-step tasks (>5 tool calls), update `.claude/session-context.md` after each major milestone
|
|
25
|
+
- Checkpoint MUST include: current objective, completed steps, pending steps, files modified, key decisions
|
|
26
|
+
- Minimum frequency: after every completed task phase, workflow stage, or subagent handoff
|
|
27
|
+
- Agent SHOULD checkpoint before any risky or destructive operation
|
|
28
|
+
- Format: append `## Checkpoint <timestamp>` sections, do not overwrite previous checkpoints within the same session
|
|
29
|
+
|
|
23
30
|
## Article II: The Hierarchy of Truth
|
|
24
31
|
1. **KB Supremacy**: The Knowledge Base (`kb/`) is the source of truth. If code contradicts KB, check KB freshness.
|
|
25
32
|
2. **Research Protocol**: Use `research-mastery` skill before any major decision. Guessing is forbidden.
|
|
@@ -16,6 +16,17 @@ SESSION_FILE=".claude/session-context.md"
|
|
|
16
16
|
|
|
17
17
|
if [ -n "$SESSION_ID" ]; then
|
|
18
18
|
mkdir -p .claude
|
|
19
|
+
|
|
20
|
+
# Gather git state for richer context
|
|
21
|
+
GIT_BRANCH=""
|
|
22
|
+
GIT_DIRTY="0"
|
|
23
|
+
GIT_DIFF_STAT=""
|
|
24
|
+
if command -v git >/dev/null 2>&1 && git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
|
25
|
+
GIT_BRANCH=$(git branch --show-current 2>/dev/null || echo "detached")
|
|
26
|
+
GIT_DIRTY=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ')
|
|
27
|
+
GIT_DIFF_STAT=$(git diff --stat HEAD 2>/dev/null | tail -5)
|
|
28
|
+
fi
|
|
29
|
+
|
|
19
30
|
cat > "$SESSION_FILE" << EOF
|
|
20
31
|
# Session Context
|
|
21
32
|
Updated: $(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
|
@@ -23,7 +34,18 @@ Session: ${SESSION_ID}
|
|
|
23
34
|
|
|
24
35
|
## Last Assistant Message
|
|
25
36
|
${LAST_MSG}
|
|
37
|
+
|
|
38
|
+
## Git State
|
|
39
|
+
Branch: ${GIT_BRANCH:-N/A}
|
|
40
|
+
Uncommitted changes: ${GIT_DIRTY}
|
|
41
|
+
${GIT_DIFF_STAT:+${GIT_DIFF_STAT}}
|
|
26
42
|
EOF
|
|
43
|
+
|
|
44
|
+
# Preserve any agent-written checkpoints (appended by proactive checkpointing)
|
|
45
|
+
if [ -f "${SESSION_FILE}.checkpoints" ]; then
|
|
46
|
+
echo "" >> "$SESSION_FILE"
|
|
47
|
+
cat "${SESSION_FILE}.checkpoints" >> "$SESSION_FILE"
|
|
48
|
+
fi
|
|
27
49
|
fi
|
|
28
50
|
|
|
29
51
|
exit 0
|
package/bin/ai-toolkit.js
CHANGED
|
@@ -27,6 +27,7 @@ const GENERATORS = {
|
|
|
27
27
|
'cline-rules': { script: 'generate_cline.py', dest: '.clinerules' },
|
|
28
28
|
'roo-modes': { script: 'generate_roo_modes.py', dest: '.roomodes' },
|
|
29
29
|
'aider-conf': { script: 'generate_aider_conf.py', dest: '.aider.conf.yml' },
|
|
30
|
+
'augment-rules': { script: 'generate_augment.py', dest: path.join('.augment', 'rules', 'ai-toolkit.md'), mkdir: '.augment/rules' },
|
|
30
31
|
'agents-md': { script: 'generate_agents_md.py', dest: 'AGENTS.md' },
|
|
31
32
|
};
|
|
32
33
|
|
|
@@ -82,9 +83,10 @@ const COMMANDS = {
|
|
|
82
83
|
'cline-rules': 'Generate .clinerules for Cline',
|
|
83
84
|
'roo-modes': 'Generate .roomodes for Roo Code',
|
|
84
85
|
'aider-conf': 'Generate .aider.conf.yml for Aider',
|
|
86
|
+
'augment-rules': 'Generate .augment/rules/ai-toolkit.md for Augment',
|
|
85
87
|
'agents-md': 'Regenerate AGENTS.md from agent definitions',
|
|
86
88
|
'llms-txt': 'Generate llms.txt and llms-full.txt',
|
|
87
|
-
'generate-all': 'Generate all platform configs at once (agents, cursor, windsurf, copilot, gemini, cline, roo, aider, llms)',
|
|
89
|
+
'generate-all': 'Generate all platform configs at once (agents, cursor, windsurf, copilot, gemini, cline, roo, aider, augment, llms)',
|
|
88
90
|
help: 'Show this help message',
|
|
89
91
|
};
|
|
90
92
|
|
|
@@ -3,7 +3,7 @@ title: "AI Toolkit - Agents Catalog"
|
|
|
3
3
|
category: reference
|
|
4
4
|
service: ai-toolkit
|
|
5
5
|
tags: [agents, catalog, roles, ai-development]
|
|
6
|
-
version: "1.3.
|
|
6
|
+
version: "1.3.10"
|
|
7
7
|
created: "2026-03-23"
|
|
8
8
|
last_updated: "2026-03-25"
|
|
9
9
|
description: "Complete catalog of specialized agents with roles, models, and use cases."
|
|
@@ -3,7 +3,7 @@ title: "AI Toolkit - Architecture Overview"
|
|
|
3
3
|
category: reference
|
|
4
4
|
service: ai-toolkit
|
|
5
5
|
tags: [architecture, overview, design, structure]
|
|
6
|
-
version: "1.
|
|
6
|
+
version: "1.3.10"
|
|
7
7
|
created: "2026-03-23"
|
|
8
8
|
last_updated: "2026-04-07"
|
|
9
9
|
description: "Architecture of ai-toolkit: directory layout, global install model, skill tiers, and integration with projects."
|
|
@@ -269,7 +269,7 @@ Severity levels: HIGH (blocks deployment), WARN (should fix), INFO (best practic
|
|
|
269
269
|
`app/plugins/mcp-templates/` contains 25 ready-to-use MCP server config templates. Opt-in via `ai-toolkit install --modules mcp-templates` or activated automatically with `--profile strict|full`.
|
|
270
270
|
|
|
271
271
|
### Language Rules
|
|
272
|
-
`app/rules/` provides
|
|
272
|
+
`app/rules/` provides language-specific rule files covering 13 languages (TypeScript, Python, Go, Rust, Java, Kotlin, Swift, Dart, C#, PHP, C++, Ruby, common). Auto-detected from project files via `--auto-detect` or selectable with `--modules rules-<lang>`. See README.md for current count.
|
|
273
273
|
|
|
274
274
|
### Extension API (`inject-hook`)
|
|
275
275
|
`inject_section_cli.py` provides a stable marker-based API for injecting content into `CLAUDE.md`, `constitution.md`, or `ARCHITECTURE.md` without overwriting user content.
|
|
@@ -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:** See manifest.json for current counts. Target: skills, agents, hooks,
|
|
38
|
+
**State after plan:** See manifest.json and README.md for current counts. Target: skills, agents, hooks, language rules, MCP templates, extension API
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
@@ -641,7 +641,7 @@ npx @softspark/ai-toolkit inject-hook ./rag-mcp-hooks.json # NEW
|
|
|
641
641
|
|
|
642
642
|
| Risk | Probability | Impact | Mitigation |
|
|
643
643
|
|------|-------------|--------|------------|
|
|
644
|
-
|
|
|
644
|
+
| Rule files = maintenance burden | Medium | Medium | Auto-generate from ECC (port script), validate.py checks |
|
|
645
645
|
| inject-hook misuse by consumers | Low | Medium | Validate JSON schema, reject malformed hooks |
|
|
646
646
|
| Manifest install breaks existing | Low | High | Backward compatible, existing CLI preserved |
|
|
647
647
|
| Documentation site drift | Medium | Medium | Generate from source (CLAUDE.md → site), CI check |
|
|
@@ -147,7 +147,10 @@ Skipped when `TOOLKIT_HOOK_PROFILE=minimal`.
|
|
|
147
147
|
| Script | `~/.ai-toolkit/hooks/save-session.sh` |
|
|
148
148
|
| Fires | After every Claude response |
|
|
149
149
|
|
|
150
|
-
**Action:** Writes session context to `.claude/session-context.md` for cross-session persistence.
|
|
150
|
+
**Action:** Writes enriched session context to `.claude/session-context.md` for cross-session persistence. Captures:
|
|
151
|
+
- Session ID and last assistant message (first 5 lines)
|
|
152
|
+
- Git branch, uncommitted change count, and diff stat (last 5 lines)
|
|
153
|
+
- Agent-written checkpoints from `.claude/session-context.md.checkpoints` (if present — written by proactive checkpointing per Constitution Art. I §5)
|
|
151
154
|
|
|
152
155
|
Skipped when `TOOLKIT_HOOK_PROFILE=minimal`.
|
|
153
156
|
|
|
@@ -13,7 +13,7 @@ description: "Reference for the language-specific rules system: 13 languages, 5
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ai-toolkit ships
|
|
16
|
+
ai-toolkit ships language-specific rule files covering 13 programming languages plus a common set (see README.md for current count). Rules are plain Markdown files injected into `CLAUDE.md` via `ai-toolkit install --local`. They provide coding-style, testing, patterns, frameworks, and security guidance specific to each language.
|
|
17
17
|
|
|
18
18
|
Rules are distinct from skills: rules are injected as static text into `CLAUDE.md` and are always visible to Claude, whereas skills are loaded contextually by agents.
|
|
19
19
|
|
|
@@ -51,7 +51,7 @@ app/rules/
|
|
|
51
51
|
└── ruby/
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
**Total: 13
|
|
54
|
+
**Total: 13 directories × 5 files each + 3 standalone = 68 rule files** (see README.md for canonical count)
|
|
55
55
|
|
|
56
56
|
## Supported Languages
|
|
57
57
|
|
|
@@ -3,7 +3,7 @@ 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.10"
|
|
7
7
|
created: "2026-03-23"
|
|
8
8
|
last_updated: "2026-04-07"
|
|
9
9
|
description: "Complete skills catalog with task, hybrid, and knowledge skills. Includes effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
package/llms-full.txt
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
- [CI Integration](kb/reference/ci-integration.md)
|
|
23
23
|
- [Claude Ecosystem Benchmark Snapshot](kb/reference/claude-ecosystem-benchmark-snapshot.md)
|
|
24
24
|
- [Claude Ecosystem Expansion Foundations](kb/reference/claude-ecosystem-expansion-foundations.md)
|
|
25
|
-
- [Commands Catalog (DEPRECATED)](kb/reference/commands-catalog.md)
|
|
26
25
|
- [Plan: Competitive Features — ai-toolkit](kb/reference/competitive-features-implementation.md)
|
|
27
26
|
- [Distribution Model](kb/reference/distribution-model.md)
|
|
28
27
|
- [Extension API Reference](kb/reference/extension-api.md)
|
|
@@ -582,7 +581,7 @@ title: "AI Toolkit - Agents Catalog"
|
|
|
582
581
|
category: reference
|
|
583
582
|
service: ai-toolkit
|
|
584
583
|
tags: [agents, catalog, roles, ai-development]
|
|
585
|
-
version: "1.3.
|
|
584
|
+
version: "1.3.10"
|
|
586
585
|
created: "2026-03-23"
|
|
587
586
|
last_updated: "2026-03-25"
|
|
588
587
|
description: "Complete catalog of specialized agents with roles, models, and use cases."
|
|
@@ -934,7 +933,7 @@ title: "AI Toolkit - Architecture Overview"
|
|
|
934
933
|
category: reference
|
|
935
934
|
service: ai-toolkit
|
|
936
935
|
tags: [architecture, overview, design, structure]
|
|
937
|
-
version: "1.
|
|
936
|
+
version: "1.3.10"
|
|
938
937
|
created: "2026-03-23"
|
|
939
938
|
last_updated: "2026-04-07"
|
|
940
939
|
description: "Architecture of ai-toolkit: directory layout, global install model, skill tiers, and integration with projects."
|
|
@@ -1200,7 +1199,7 @@ Severity levels: HIGH (blocks deployment), WARN (should fix), INFO (best practic
|
|
|
1200
1199
|
`app/plugins/mcp-templates/` contains 25 ready-to-use MCP server config templates. Opt-in via `ai-toolkit install --modules mcp-templates` or activated automatically with `--profile strict|full`.
|
|
1201
1200
|
|
|
1202
1201
|
### Language Rules
|
|
1203
|
-
`app/rules/` provides
|
|
1202
|
+
`app/rules/` provides language-specific rule files covering 13 languages (TypeScript, Python, Go, Rust, Java, Kotlin, Swift, Dart, C#, PHP, C++, Ruby, common). Auto-detected from project files via `--auto-detect` or selectable with `--modules rules-<lang>`. See README.md for current count.
|
|
1204
1203
|
|
|
1205
1204
|
### Extension API (`inject-hook`)
|
|
1206
1205
|
`inject_section_cli.py` provides a stable marker-based API for injecting content into `CLAUDE.md`, `constitution.md`, or `ARCHITECTURE.md` without overwriting user content.
|
|
@@ -1540,32 +1539,6 @@ The reference benchmark set is intentionally curated:
|
|
|
1540
1539
|
|
|
1541
1540
|
---
|
|
1542
1541
|
|
|
1543
|
-
## kb/reference/commands-catalog.md
|
|
1544
|
-
|
|
1545
|
-
---
|
|
1546
|
-
title: "AI Toolkit - Commands Catalog (DEPRECATED)"
|
|
1547
|
-
category: reference
|
|
1548
|
-
service: ai-toolkit
|
|
1549
|
-
tags: [commands, deprecated]
|
|
1550
|
-
version: "1.0.0"
|
|
1551
|
-
created: "2026-03-23"
|
|
1552
|
-
last_updated: "2026-03-28"
|
|
1553
|
-
description: "DEPRECATED: All slash commands are implemented as skills. See skills-catalog.md for the current catalog."
|
|
1554
|
-
---
|
|
1555
|
-
|
|
1556
|
-
# Commands Catalog (DEPRECATED)
|
|
1557
|
-
|
|
1558
|
-
All slash commands have been migrated to skills.
|
|
1559
|
-
|
|
1560
|
-
See **[Skills Catalog](skills-catalog.md)** for the complete list of skills, including:
|
|
1561
|
-
- **28 Task Skills** — formerly standalone commands and creator workflows (e.g., `/commit`, `/test`, `/deploy`, `/hook-creator`, `/plugin-creator`)
|
|
1562
|
-
- **30 Hybrid Skills** — slash commands that also provide agent knowledge (e.g., `/review`, `/debug`, `/plan`, `/tdd`, `/write-a-prd`, `/council`, `/introspect`)
|
|
1563
|
-
- **32 Knowledge Skills** — domain patterns auto-loaded by agents (e.g., `brand-voice`, `clean-code`, `testing-patterns`)
|
|
1564
|
-
|
|
1565
|
-
Slash command syntax (`/command`) continues to work. The underlying implementation moved from `app/commands/` to `app/skills/`.
|
|
1566
|
-
|
|
1567
|
-
---
|
|
1568
|
-
|
|
1569
1542
|
## kb/reference/competitive-features-implementation.md
|
|
1570
1543
|
|
|
1571
1544
|
---
|
|
@@ -1605,7 +1578,7 @@ Strengthen ai-toolkit's competitive position by implementing 10 features from co
|
|
|
1605
1578
|
**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.
|
|
1606
1579
|
|
|
1607
1580
|
**State before plan:** 88 skills, 47 agents, 14 hooks, 9 editor integrations
|
|
1608
|
-
**State after plan:** See manifest.json for current counts. Target: skills, agents, hooks,
|
|
1581
|
+
**State after plan:** See manifest.json and README.md for current counts. Target: skills, agents, hooks, language rules, MCP templates, extension API
|
|
1609
1582
|
|
|
1610
1583
|
---
|
|
1611
1584
|
|
|
@@ -2211,7 +2184,7 @@ npx @softspark/ai-toolkit inject-hook ./rag-mcp-hooks.json # NEW
|
|
|
2211
2184
|
|
|
2212
2185
|
| Risk | Probability | Impact | Mitigation |
|
|
2213
2186
|
|------|-------------|--------|------------|
|
|
2214
|
-
|
|
|
2187
|
+
| Rule files = maintenance burden | Medium | Medium | Auto-generate from ECC (port script), validate.py checks |
|
|
2215
2188
|
| inject-hook misuse by consumers | Low | Medium | Validate JSON schema, reject malformed hooks |
|
|
2216
2189
|
| Manifest install breaks existing | Low | High | Backward compatible, existing CLI preserved |
|
|
2217
2190
|
| Documentation site drift | Medium | Medium | Generate from source (CLAUDE.md → site), CI check |
|
|
@@ -2913,7 +2886,10 @@ Skipped when `TOOLKIT_HOOK_PROFILE=minimal`.
|
|
|
2913
2886
|
| Script | `~/.ai-toolkit/hooks/save-session.sh` |
|
|
2914
2887
|
| Fires | After every Claude response |
|
|
2915
2888
|
|
|
2916
|
-
**Action:** Writes session context to `.claude/session-context.md` for cross-session persistence.
|
|
2889
|
+
**Action:** Writes enriched session context to `.claude/session-context.md` for cross-session persistence. Captures:
|
|
2890
|
+
- Session ID and last assistant message (first 5 lines)
|
|
2891
|
+
- Git branch, uncommitted change count, and diff stat (last 5 lines)
|
|
2892
|
+
- Agent-written checkpoints from `.claude/session-context.md.checkpoints` (if present — written by proactive checkpointing per Constitution Art. I §5)
|
|
2917
2893
|
|
|
2918
2894
|
Skipped when `TOOLKIT_HOOK_PROFILE=minimal`.
|
|
2919
2895
|
|
|
@@ -3318,7 +3294,7 @@ description: "Reference for the language-specific rules system: 13 languages, 5
|
|
|
3318
3294
|
|
|
3319
3295
|
## Overview
|
|
3320
3296
|
|
|
3321
|
-
ai-toolkit ships
|
|
3297
|
+
ai-toolkit ships language-specific rule files covering 13 programming languages plus a common set (see README.md for current count). Rules are plain Markdown files injected into `CLAUDE.md` via `ai-toolkit install --local`. They provide coding-style, testing, patterns, frameworks, and security guidance specific to each language.
|
|
3322
3298
|
|
|
3323
3299
|
Rules are distinct from skills: rules are injected as static text into `CLAUDE.md` and are always visible to Claude, whereas skills are loaded contextually by agents.
|
|
3324
3300
|
|
|
@@ -3356,7 +3332,7 @@ app/rules/
|
|
|
3356
3332
|
└── ruby/
|
|
3357
3333
|
```
|
|
3358
3334
|
|
|
3359
|
-
**Total: 13
|
|
3335
|
+
**Total: 13 directories × 5 files each + 3 standalone = 68 rule files** (see README.md for canonical count)
|
|
3360
3336
|
|
|
3361
3337
|
## Supported Languages
|
|
3362
3338
|
|
|
@@ -4114,7 +4090,7 @@ title: "AI Toolkit - Skills Catalog"
|
|
|
4114
4090
|
category: reference
|
|
4115
4091
|
service: ai-toolkit
|
|
4116
4092
|
tags: [skills, domain-knowledge, catalog, task-skills, hybrid-skills]
|
|
4117
|
-
version: "1.3.
|
|
4093
|
+
version: "1.3.10"
|
|
4118
4094
|
created: "2026-03-23"
|
|
4119
4095
|
last_updated: "2026-04-07"
|
|
4120
4096
|
description: "Complete skills catalog with task, hybrid, and knowledge skills. Includes effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
package/llms.txt
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
- [CI Integration](kb/reference/ci-integration.md)
|
|
23
23
|
- [Claude Ecosystem Benchmark Snapshot](kb/reference/claude-ecosystem-benchmark-snapshot.md)
|
|
24
24
|
- [Claude Ecosystem Expansion Foundations](kb/reference/claude-ecosystem-expansion-foundations.md)
|
|
25
|
-
- [Commands Catalog (DEPRECATED)](kb/reference/commands-catalog.md)
|
|
26
25
|
- [Plan: Competitive Features — ai-toolkit](kb/reference/competitive-features-implementation.md)
|
|
27
26
|
- [Distribution Model](kb/reference/distribution-model.md)
|
|
28
27
|
- [Extension API Reference](kb/reference/extension-api.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.11",
|
|
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",
|
|
@@ -88,6 +88,11 @@ def record_install(
|
|
|
88
88
|
|
|
89
89
|
save_state(state)
|
|
90
90
|
|
|
91
|
+
# Clear version check cache (version may have changed)
|
|
92
|
+
cache_file = _state_path().parent / "version-check.json"
|
|
93
|
+
if cache_file.is_file():
|
|
94
|
+
cache_file.unlink()
|
|
95
|
+
|
|
91
96
|
|
|
92
97
|
def print_status() -> None:
|
|
93
98
|
"""Print a human-readable summary of the install state."""
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "AI Toolkit - Commands Catalog (DEPRECATED)"
|
|
3
|
-
category: reference
|
|
4
|
-
service: ai-toolkit
|
|
5
|
-
tags: [commands, deprecated]
|
|
6
|
-
version: "1.0.0"
|
|
7
|
-
created: "2026-03-23"
|
|
8
|
-
last_updated: "2026-03-28"
|
|
9
|
-
description: "DEPRECATED: All slash commands are implemented as skills. See skills-catalog.md for the current catalog."
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# Commands Catalog (DEPRECATED)
|
|
13
|
-
|
|
14
|
-
All slash commands have been migrated to skills.
|
|
15
|
-
|
|
16
|
-
See **[Skills Catalog](skills-catalog.md)** for the complete list of skills, including:
|
|
17
|
-
- **28 Task Skills** — formerly standalone commands and creator workflows (e.g., `/commit`, `/test`, `/deploy`, `/hook-creator`, `/plugin-creator`)
|
|
18
|
-
- **30 Hybrid Skills** — slash commands that also provide agent knowledge (e.g., `/review`, `/debug`, `/plan`, `/tdd`, `/write-a-prd`, `/council`, `/introspect`)
|
|
19
|
-
- **32 Knowledge Skills** — domain patterns auto-loaded by agents (e.g., `brand-voice`, `clean-code`, `testing-patterns`)
|
|
20
|
-
|
|
21
|
-
Slash command syntax (`/command`) continues to work. The underlying implementation moved from `app/commands/` to `app/skills/`.
|