@softspark/ai-toolkit 2.6.1 → 2.7.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 -0
- package/CHANGELOG.md +39 -0
- package/README.md +14 -28
- package/app/.claude-plugin/plugin.json +1 -1
- package/app/ARCHITECTURE.md +47 -2
- package/app/output-styles/explanatory.md +64 -0
- package/app/output-styles/learning.md +70 -0
- package/app/skills/content-moderation-patterns/SKILL.md +141 -0
- package/app/skills/json-mode-patterns/SKILL.md +124 -0
- package/app/skills/mcp-builder/SKILL.md +139 -0
- package/app/skills/model-routing-patterns/SKILL.md +124 -0
- package/app/skills/prompt-caching-patterns/SKILL.md +114 -0
- package/app/skills/review/scripts/diff-analyzer.py +184 -46
- package/kb/procedures/release-preparation-sop.md +6 -3
- package/kb/reference/architecture-overview.md +2 -2
- package/kb/reference/skills-catalog.md +7 -2
- package/llms-full.txt +18 -5
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/scripts/eject.py +5 -1
|
@@ -185,9 +185,9 @@ Three tiers determine how to approach a task:
|
|
|
185
185
|
|
|
186
186
|
| Type | Field | Invocation | Count |
|
|
187
187
|
|------|-------|-----------|-------|
|
|
188
|
-
| Task | `disable-model-invocation: true` | User via `/skill` only |
|
|
188
|
+
| Task | `disable-model-invocation: true` | User via `/skill` only | 32 |
|
|
189
189
|
| Hybrid | (neither) | User via `/skill` + agent knowledge | 31 |
|
|
190
|
-
| Knowledge | `user-invocable: false` | Claude auto-loads |
|
|
190
|
+
| Knowledge | `user-invocable: false` | Claude auto-loads | 36 |
|
|
191
191
|
|
|
192
192
|
## Multi-Agent Execution
|
|
193
193
|
|
|
@@ -23,7 +23,7 @@ All functionality is unified under skills. Task and hybrid skills are user-invoc
|
|
|
23
23
|
| **2 — Multi-agent workflow** | `/workflow <type>` | Cross-cutting task with known pattern |
|
|
24
24
|
| **3 — Custom parallelism** | `/orchestrate`, `/swarm` | No predefined workflow matches |
|
|
25
25
|
|
|
26
|
-
## Task Skills (
|
|
26
|
+
## Task Skills (32)
|
|
27
27
|
|
|
28
28
|
Task skills execute a specific action. Invoked via slash commands. `disable-model-invocation: true`.
|
|
29
29
|
|
|
@@ -60,6 +60,7 @@ Task skills execute a specific action. Invoked via slash commands. `disable-mode
|
|
|
60
60
|
| **hipaa-validate** | `/hipaa-validate` | medium | Scan codebase for HIPAA compliance issues: PHI exposure, missing audit logging, unencrypted transmission/storage, access control gaps, temp file exposure, and missing BAA references |
|
|
61
61
|
| **a11y-validate** | `/a11y-validate` | medium | Scan codebase for accessibility violations: WCAG 2.1 Level AA, EN 301 549, European Accessibility Act (EAA / EU 2019/882). Covers semantics, keyboard, focus, color contrast, forms, media, ARIA, motion, mobile (React Native + Flutter), and EAA accessibility-statement documentation. |
|
|
62
62
|
| **seo-validate** | `/seo-validate` | medium | Scan codebase for SEO issues: W3C semantics, meta/OG tags, Schema.org, hreflang, Core Web Vitals (LCP/INP/CLS), resource hints, GEO, SPA/SSG/CSR crawlability, technical SEO, accessibility-for-SEO. Framework-aware (Next/Nuxt/Astro/Gatsby/SvelteKit/Remix/Angular/Vue/static HTML). |
|
|
63
|
+
| **mcp-builder** | `/mcp-builder` | high | Build production-grade MCP servers using the 4-phase methodology (research, implement, test, evaluate). TypeScript/Python, stdio/streamable-http. |
|
|
63
64
|
|
|
64
65
|
## Hybrid Skills (31)
|
|
65
66
|
|
|
@@ -151,12 +152,16 @@ Hybrid skills combine slash-command invocation with domain knowledge that agents
|
|
|
151
152
|
| **testing-patterns** | `skills/testing-patterns/` | Multi-language TDD: pytest, vitest, phpunit, go test, flutter |
|
|
152
153
|
| **migration-patterns** | `skills/migration-patterns/` | Database migrations, API versioning, zero-downtime |
|
|
153
154
|
|
|
154
|
-
## Knowledge Skills - AI/RAG (
|
|
155
|
+
## Knowledge Skills - AI/RAG (6)
|
|
155
156
|
|
|
156
157
|
| Skill | Directory | Domain |
|
|
157
158
|
|-------|-----------|--------|
|
|
158
159
|
| **rag-patterns** | `skills/rag-patterns/` | RAG pipelines, chunking, reranking, evaluation |
|
|
159
160
|
| **mcp-patterns** | `skills/mcp-patterns/` | MCP protocol, server/client design, tools |
|
|
161
|
+
| **prompt-caching-patterns** | `skills/prompt-caching-patterns/` | Anthropic prompt caching: TTL, breakpoints, hit rate, anti-patterns |
|
|
162
|
+
| **json-mode-patterns** | `skills/json-mode-patterns/` | Structured JSON output via tool-use; schema design; partial recovery |
|
|
163
|
+
| **content-moderation-patterns** | `skills/content-moderation-patterns/` | Two-stage moderation: pre-filter + LLM classifier; categories; thresholds |
|
|
164
|
+
| **model-routing-patterns** | `skills/model-routing-patterns/` | Haiku/Sonnet/Opus routing; escalation; sub-agent delegation; fallback |
|
|
160
165
|
|
|
161
166
|
## Knowledge Skills - Process (7)
|
|
162
167
|
|
package/llms-full.txt
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
- **clean-code**: Loaded when user asks about clean code, naming, or code quality
|
|
75
75
|
- **command-creator**: Creates new Claude Code slash commands with frontmatter, workflow guidance, and validation
|
|
76
76
|
- **commit**: Create Conventional Commits with pre-commit validation
|
|
77
|
+
- **content-moderation-patterns**: Loaded when user builds content moderation, safety filters, or policy enforcement with Claude. Covers pre-filter vs LLM-classify, category design, confidence thresholds, and human-in-the-loop.
|
|
77
78
|
- **council**: 4-perspective decision evaluation for architecture choices. Use when user wants multi-angle analysis, needs to decide between alternatives, or mentions 'council', 'evaluate decision', 'pros cons'.
|
|
78
79
|
- **csharp-patterns**: Loaded when user asks about C# or .NET development patterns
|
|
79
80
|
- **cve-scan**: Scan project dependencies for known CVEs using native audit tools (npm, pip, composer, cargo, go, bundler, dart)
|
|
@@ -103,12 +104,15 @@
|
|
|
103
104
|
- **instinct-review**: Review and manage learned instincts from past sessions
|
|
104
105
|
- **introspect**: Agent self-debugging and recovery. Use when stuck in loops, making repeated errors, or quality degrades. Triggers: introspect, self-debug, stuck, loop, why failing.
|
|
105
106
|
- **java-patterns**: Loaded when user asks about Java development patterns
|
|
107
|
+
- **json-mode-patterns**: Loaded when user needs structured JSON output from Claude. Covers tool-use-as-JSON-mode, schema design, parsing, partial recovery, and validation.
|
|
106
108
|
- **kotlin-patterns**: Loaded when user asks about Kotlin development patterns
|
|
107
109
|
- **lint**: Lint code with auto-detected tools and fix suggestions
|
|
110
|
+
- **mcp-builder**: Build production-grade MCP (Model Context Protocol) servers from scratch using the 4-phase methodology: research, implement, test, evaluate. Use when creating new MCP integrations for external APIs, databases, or internal services.
|
|
108
111
|
- **mcp-patterns**: Loaded when user asks about MCP servers or tool protocol design
|
|
109
112
|
- **mem-search**: Search past coding sessions using natural language. Finds relevant observations, decisions, and context from previous work.
|
|
110
113
|
- **migrate**: Run database migrations with backup verification
|
|
111
114
|
- **migration-patterns**: Loaded when user asks about database migrations or zero-downtime deploys
|
|
115
|
+
- **model-routing-patterns**: Loaded when user builds multi-model pipelines (Haiku/Sonnet/Opus). Covers cost-optimized routing, escalation, sub-agent delegation, and fallback chains.
|
|
112
116
|
- **night-watch**: Run autonomous maintenance and dependency updates
|
|
113
117
|
- **observability-patterns**: Loaded when user asks about logging, metrics, or tracing patterns
|
|
114
118
|
- **onboard**: Generate project onboarding materials
|
|
@@ -123,6 +127,7 @@
|
|
|
123
127
|
- **prd-to-issues**: Break a PRD into independently-grabbable GitHub issues using vertical slices with HITL/AFK tagging and dependency ordering. Use when user wants to convert a PRD to issues, create tickets, or break down a PRD into work items.
|
|
124
128
|
- **prd-to-plan**: Convert a PRD into a phased implementation plan using tracer-bullet vertical slices. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions tracer bullets.
|
|
125
129
|
- **predict**: Predict regressions and impact before changes land
|
|
130
|
+
- **prompt-caching-patterns**: Loaded when user builds with Anthropic API and needs to cut cost or latency via prompt caching. Covers TTL, cache breakpoints, stacking, invalidation, and measuring hit rate.
|
|
126
131
|
- **qa-session**: Interactive QA session where user reports bugs conversationally and agent files GitHub issues with domain language. Explores codebase in background for context. Use when user wants to report bugs, do QA, file issues conversationally, or mentions QA session.
|
|
127
132
|
- **rag-patterns**: Loaded when user asks about RAG systems, embeddings, or vector search
|
|
128
133
|
- **refactor**: Refactor code for quality and maintainability
|
|
@@ -3518,9 +3523,9 @@ title: "SOP: Release Preparation"
|
|
|
3518
3523
|
category: procedures
|
|
3519
3524
|
service: ai-toolkit
|
|
3520
3525
|
tags: [sop, release, version, publish, changelog, semver]
|
|
3521
|
-
version: "1.
|
|
3526
|
+
version: "1.6.0"
|
|
3522
3527
|
created: "2026-04-10"
|
|
3523
|
-
last_updated: "2026-04-
|
|
3528
|
+
last_updated: "2026-04-17"
|
|
3524
3529
|
description: "Step-by-step checklist for preparing a new ai-toolkit release — version sync, changelog, artifact regeneration, validation, and tagging. Run BEFORE every git tag."
|
|
3525
3530
|
---
|
|
3526
3531
|
|
|
@@ -3678,12 +3683,15 @@ Add entry at the top of `CHANGELOG.md` (after the header, before previous releas
|
|
|
3678
3683
|
|
|
3679
3684
|
1. Change the heading version: `## What's New in vX.Y.Z`
|
|
3680
3685
|
2. Replace bullet points with 3-5 highlights from this release
|
|
3681
|
-
3. Keep the `
|
|
3686
|
+
3. **Keep only the latest version block.** Delete the previous `## What's New in vA.B.C` section(s). README is the shop window, not the archive — users see the current release, full history lives in `CHANGELOG.md`.
|
|
3687
|
+
4. Keep the `See [CHANGELOG.md](CHANGELOG.md) for full history.` link directly below the bullet list.
|
|
3682
3688
|
|
|
3683
3689
|
> **Warning:** This section is the first thing users see after the badges.
|
|
3684
3690
|
> A stale version here (e.g., "What's New in v2.1.3" when shipping v2.3.0)
|
|
3685
3691
|
> signals an unmaintained project. Do NOT skip this step.
|
|
3686
3692
|
|
|
3693
|
+
> **Single-version rule:** README.md must contain **exactly one** `## What's New in vX.Y.Z` heading at any time. If you find multiple stacked (e.g. v2.6.1 + v2.6.0 + v2.5.0), that is a SOP drift — collapse to the latest on the next release commit.
|
|
3694
|
+
|
|
3687
3695
|
---
|
|
3688
3696
|
|
|
3689
3697
|
## Phase 4: Regenerate Artifacts
|
|
@@ -8722,7 +8730,7 @@ All functionality is unified under skills. Task and hybrid skills are user-invoc
|
|
|
8722
8730
|
| **2 — Multi-agent workflow** | `/workflow <type>` | Cross-cutting task with known pattern |
|
|
8723
8731
|
| **3 — Custom parallelism** | `/orchestrate`, `/swarm` | No predefined workflow matches |
|
|
8724
8732
|
|
|
8725
|
-
## Task Skills (
|
|
8733
|
+
## Task Skills (32)
|
|
8726
8734
|
|
|
8727
8735
|
Task skills execute a specific action. Invoked via slash commands. `disable-model-invocation: true`.
|
|
8728
8736
|
|
|
@@ -8759,6 +8767,7 @@ Task skills execute a specific action. Invoked via slash commands. `disable-mode
|
|
|
8759
8767
|
| **hipaa-validate** | `/hipaa-validate` | medium | Scan codebase for HIPAA compliance issues: PHI exposure, missing audit logging, unencrypted transmission/storage, access control gaps, temp file exposure, and missing BAA references |
|
|
8760
8768
|
| **a11y-validate** | `/a11y-validate` | medium | Scan codebase for accessibility violations: WCAG 2.1 Level AA, EN 301 549, European Accessibility Act (EAA / EU 2019/882). Covers semantics, keyboard, focus, color contrast, forms, media, ARIA, motion, mobile (React Native + Flutter), and EAA accessibility-statement documentation. |
|
|
8761
8769
|
| **seo-validate** | `/seo-validate` | medium | Scan codebase for SEO issues: W3C semantics, meta/OG tags, Schema.org, hreflang, Core Web Vitals (LCP/INP/CLS), resource hints, GEO, SPA/SSG/CSR crawlability, technical SEO, accessibility-for-SEO. Framework-aware (Next/Nuxt/Astro/Gatsby/SvelteKit/Remix/Angular/Vue/static HTML). |
|
|
8770
|
+
| **mcp-builder** | `/mcp-builder` | high | Build production-grade MCP servers using the 4-phase methodology (research, implement, test, evaluate). TypeScript/Python, stdio/streamable-http. |
|
|
8762
8771
|
|
|
8763
8772
|
## Hybrid Skills (31)
|
|
8764
8773
|
|
|
@@ -8850,12 +8859,16 @@ Hybrid skills combine slash-command invocation with domain knowledge that agents
|
|
|
8850
8859
|
| **testing-patterns** | `skills/testing-patterns/` | Multi-language TDD: pytest, vitest, phpunit, go test, flutter |
|
|
8851
8860
|
| **migration-patterns** | `skills/migration-patterns/` | Database migrations, API versioning, zero-downtime |
|
|
8852
8861
|
|
|
8853
|
-
## Knowledge Skills - AI/RAG (
|
|
8862
|
+
## Knowledge Skills - AI/RAG (6)
|
|
8854
8863
|
|
|
8855
8864
|
| Skill | Directory | Domain |
|
|
8856
8865
|
|-------|-----------|--------|
|
|
8857
8866
|
| **rag-patterns** | `skills/rag-patterns/` | RAG pipelines, chunking, reranking, evaluation |
|
|
8858
8867
|
| **mcp-patterns** | `skills/mcp-patterns/` | MCP protocol, server/client design, tools |
|
|
8868
|
+
| **prompt-caching-patterns** | `skills/prompt-caching-patterns/` | Anthropic prompt caching: TTL, breakpoints, hit rate, anti-patterns |
|
|
8869
|
+
| **json-mode-patterns** | `skills/json-mode-patterns/` | Structured JSON output via tool-use; schema design; partial recovery |
|
|
8870
|
+
| **content-moderation-patterns** | `skills/content-moderation-patterns/` | Two-stage moderation: pre-filter + LLM classifier; categories; thresholds |
|
|
8871
|
+
| **model-routing-patterns** | `skills/model-routing-patterns/` | Haiku/Sonnet/Opus routing; escalation; sub-agent delegation; fallback |
|
|
8859
8872
|
|
|
8860
8873
|
## Knowledge Skills - Process (7)
|
|
8861
8874
|
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softspark/ai-toolkit",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Professional-grade AI coding toolkit:
|
|
3
|
+
"version": "2.7.0",
|
|
4
|
+
"description": "Professional-grade AI coding toolkit: 99 skills, 44 agents, multi-platform support (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Google Antigravity, Codex CLI, opencode), machine-enforced safety constitution, persona presets, skill security auditor, expanded lifecycle hooks, 11 plugin packs, and benchmark tooling.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
7
7
|
"claude-code",
|
package/scripts/eject.py
CHANGED
|
@@ -69,7 +69,11 @@ def main() -> None:
|
|
|
69
69
|
if dest.exists():
|
|
70
70
|
shutil.rmtree(dest)
|
|
71
71
|
shutil.copytree(skill, dest)
|
|
72
|
-
|
|
72
|
+
# Count only real skills. Underscore-prefixed dirs (e.g. `_lib/`)
|
|
73
|
+
# are shared helpers that must be copied so dependent skills keep
|
|
74
|
+
# working, but are not skills themselves — matches validate.py.
|
|
75
|
+
if not skill.name.startswith("_") and (skill / "SKILL.md").is_file():
|
|
76
|
+
skill_count += 1
|
|
73
77
|
print(f" Copied: {skill_count} skills")
|
|
74
78
|
|
|
75
79
|
# -- CLAUDE.md: inline all rules -----------------------------------------
|