@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
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "MCP Server Templates"
|
|
3
|
+
category: reference
|
|
4
|
+
service: ai-toolkit
|
|
5
|
+
tags: [mcp, templates, servers, configuration]
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
created: "2026-04-07"
|
|
8
|
+
last_updated: "2026-04-07"
|
|
9
|
+
description: "Reference for 25 MCP server configuration templates: GitHub, PostgreSQL, Slack, Sentry, and more."
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# MCP Server Templates
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
ai-toolkit ships 25 ready-to-use MCP server configuration templates in `app/mcp-templates/`. Each template is a JSON file that defines the `mcpServers` block for a specific service. Templates are merged into the project's `.mcp.json` via the `ai-toolkit mcp` CLI subcommand.
|
|
17
|
+
|
|
18
|
+
## CLI
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
ai-toolkit mcp list # List all available templates
|
|
22
|
+
ai-toolkit mcp show <name> # Print a template's JSON config
|
|
23
|
+
ai-toolkit mcp add <name> # Merge a template into .mcp.json
|
|
24
|
+
ai-toolkit mcp add <n1> <n2> # Add multiple templates at once
|
|
25
|
+
ai-toolkit mcp remove <name> # Remove a server entry from .mcp.json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Implementation:** `scripts/mcp_manager.py`
|
|
29
|
+
|
|
30
|
+
The `add` command merges the `mcpServers` block from the template into `.mcp.json`. If `.mcp.json` does not exist it is created. If the server name already exists in `.mcp.json`, the entry is overwritten with the template version.
|
|
31
|
+
|
|
32
|
+
## Template List
|
|
33
|
+
|
|
34
|
+
| Name | Description | Required Env Vars |
|
|
35
|
+
|------|-------------|-------------------|
|
|
36
|
+
| `brave-search` | Web and local search powered by Brave Search API | `BRAVE_API_KEY` |
|
|
37
|
+
| `cloudflare` | Cloudflare Workers, KV, D1, R2, and DNS management | `CLOUDFLARE_API_TOKEN`, `CLOUDFLARE_ACCOUNT_ID` |
|
|
38
|
+
| `context7` | Up-to-date library documentation lookup via Context7 | — |
|
|
39
|
+
| `custom-template` | Empty template for building a custom MCP server | `API_KEY` (placeholder) |
|
|
40
|
+
| `datadog` | Datadog monitoring: metrics, logs, traces, dashboard queries | `DD_API_KEY`, `DD_APP_KEY`, `DD_SITE` |
|
|
41
|
+
| `docker` | Docker container and image management, logs, compose operations | — |
|
|
42
|
+
| `fetch` | HTTP fetch for web pages and API responses as markdown or raw content | — |
|
|
43
|
+
| `filesystem` | Local filesystem access for reading, writing, and searching files | — |
|
|
44
|
+
| `git` | Git repository inspection: diffs, logs, branches | — |
|
|
45
|
+
| `github` | GitHub API: issues, PRs, repos, code search | `GITHUB_PERSONAL_ACCESS_TOKEN` |
|
|
46
|
+
| `google-drive` | Google Drive file search, reading, and management | `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_REDIRECT_URI` |
|
|
47
|
+
| `google-maps` | Google Maps geocoding, directions, place search | `GOOGLE_MAPS_API_KEY` |
|
|
48
|
+
| `grafana` | Grafana dashboard queries, alerting, and data source management | `GRAFANA_URL`, `GRAFANA_API_KEY` |
|
|
49
|
+
| `linear` | Linear issue tracker: issues, projects, team workflows | `LINEAR_API_KEY` |
|
|
50
|
+
| `memory` | Persistent memory store using a local knowledge graph | — |
|
|
51
|
+
| `notion` | Notion workspace: pages, databases, content management | `NOTION_API_KEY` |
|
|
52
|
+
| `postgres` | PostgreSQL database access, schema inspection, analysis | — |
|
|
53
|
+
| `puppeteer` | Browser automation: screenshots, navigation, web scraping | — |
|
|
54
|
+
| `redis` | Redis cache inspection, data management, and monitoring | `REDIS_URL` |
|
|
55
|
+
| `sentry` | Sentry error tracking: issue search, event details, alerting | `SENTRY_AUTH_TOKEN`, `SENTRY_ORG` |
|
|
56
|
+
| `sequential-thinking` | Step-by-step reasoning and problem decomposition | — |
|
|
57
|
+
| `slack` | Slack workspace: channels, messages, users | `SLACK_BOT_TOKEN`, `SLACK_TEAM_ID` |
|
|
58
|
+
| `sqlite` | SQLite database access, queries, schema management | — |
|
|
59
|
+
| `supabase` | Supabase project management, database queries, edge functions | `SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY` |
|
|
60
|
+
| `vercel` | Vercel deployment management, project settings, environment variables | `VERCEL_TOKEN` |
|
|
61
|
+
|
|
62
|
+
## Template Format
|
|
63
|
+
|
|
64
|
+
Each template is a JSON file with the following structure:
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"name": "example",
|
|
69
|
+
"description": "Human-readable description of what this server provides",
|
|
70
|
+
"mcpServers": {
|
|
71
|
+
"example": {
|
|
72
|
+
"command": "npx",
|
|
73
|
+
"args": ["-y", "@modelcontextprotocol/server-example"],
|
|
74
|
+
"env": {
|
|
75
|
+
"EXAMPLE_API_KEY": "${EXAMPLE_API_KEY}"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- `name` — identifier used with `mcp add <name>`
|
|
83
|
+
- `description` — shown by `mcp list` and `mcp show`
|
|
84
|
+
- `mcpServers` — the block merged verbatim into `.mcp.json`
|
|
85
|
+
- `env` values use `${VAR_NAME}` placeholders that must be set in the shell environment or `.env` file before Claude Code starts
|
|
86
|
+
|
|
87
|
+
## Example: Adding GitHub and PostgreSQL
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Add templates
|
|
91
|
+
ai-toolkit mcp add github postgres
|
|
92
|
+
|
|
93
|
+
# Set required env vars (e.g., in .env or shell profile)
|
|
94
|
+
export GITHUB_PERSONAL_ACCESS_TOKEN=ghp_...
|
|
95
|
+
|
|
96
|
+
# Resulting .mcp.json contains both mcpServers entries
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Contributing a New Template
|
|
100
|
+
|
|
101
|
+
1. Create `app/mcp-templates/<name>.json` following the format above.
|
|
102
|
+
2. Use `${ENV_VAR}` placeholders for secrets — never hardcode values.
|
|
103
|
+
3. Keep the `name` field identical to the filename stem.
|
|
104
|
+
4. Run `python3 scripts/validate.py` to verify the file is valid JSON.
|
|
105
|
+
5. Add an entry to this document's template list table.
|
|
106
|
+
|
|
107
|
+
## Related Documentation
|
|
108
|
+
|
|
109
|
+
- [PATH: kb/reference/extension-api.md] — `mcp add` as part of the extension API
|
|
110
|
+
- [PATH: kb/reference/architecture-overview.md] — overall install model
|
|
@@ -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.
|
|
6
|
+
version: "1.3.0"
|
|
7
7
|
created: "2026-03-23"
|
|
8
|
-
last_updated: "2026-04-
|
|
9
|
-
description: "Complete catalog of
|
|
8
|
+
last_updated: "2026-04-07"
|
|
9
|
+
description: "Complete catalog of 90 skills: 28 task, 30 hybrid, 32 knowledge. Includes effort levels, skill-scoped hooks, executable scripts, security auditor, and persona presets."
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Skills Catalog (
|
|
12
|
+
# Skills Catalog (90 skills)
|
|
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
|
|
|
@@ -56,7 +56,7 @@ Task skills execute a specific action. Invoked via slash commands. `disable-mode
|
|
|
56
56
|
| **prd-to-issues** | `/prd-to-issues` | medium | Break PRD into GitHub issues with vertical slices and HITL/AFK tagging |
|
|
57
57
|
| **skill-audit** | `/skill-audit` | medium | Scan skills and agents for security risks: dangerous patterns, secrets, excessive permissions |
|
|
58
58
|
|
|
59
|
-
## Hybrid Skills (
|
|
59
|
+
## Hybrid Skills (30)
|
|
60
60
|
|
|
61
61
|
Hybrid skills combine slash-command invocation with domain knowledge that agents reference.
|
|
62
62
|
|
|
@@ -90,6 +90,8 @@ Hybrid skills combine slash-command invocation with domain knowledge that agents
|
|
|
90
90
|
| **repeat** | `/repeat` | medium | Autonomous loop with safety controls (Ralph Wiggum pattern) |
|
|
91
91
|
| **mem-search** | `/mem-search` | medium | Search past coding sessions via natural language (memory-pack) |
|
|
92
92
|
| **persona** | `/persona` | low | Switch engineering persona at runtime (backend-lead, frontend-lead, devops-eng, junior-dev) |
|
|
93
|
+
| **council** | `/council` | high | 4-perspective decision evaluation (Advocate, Critic, Pragmatist, User-Proxy) with synthesis and confidence-rated recommendation. Tier 1, orchestrator, `context: fork`. |
|
|
94
|
+
| **introspect** | `/introspect` | medium | Agent self-debugging: classify failure pattern, suggest smallest recovery action, emit structured introspection report |
|
|
93
95
|
|
|
94
96
|
### `/workflow` types
|
|
95
97
|
|
|
@@ -111,7 +113,7 @@ Hybrid skills combine slash-command invocation with domain knowledge that agents
|
|
|
111
113
|
| `application-deploy` | 3 | Deploy → smoke test → release notes |
|
|
112
114
|
| `proactive-troubleshooting` | 4 | Investigate → check perf → preventive fix → docs |
|
|
113
115
|
|
|
114
|
-
## Knowledge Skills - Development (
|
|
116
|
+
## Knowledge Skills - Development (10)
|
|
115
117
|
|
|
116
118
|
| Skill | Directory | Domain |
|
|
117
119
|
|-------|-----------|--------|
|
|
@@ -124,6 +126,7 @@ Hybrid skills combine slash-command invocation with domain knowledge that agents
|
|
|
124
126
|
| **typescript-patterns** | `skills/typescript-patterns/` | TypeScript/JavaScript patterns for frontend and backend |
|
|
125
127
|
| **design-engineering** | `skills/design-engineering/` | UI polish, animation craft, easing, transforms, accessibility |
|
|
126
128
|
| **documentation-standards** | `skills/documentation-standards/` | KB document conventions, frontmatter validation, category taxonomy |
|
|
129
|
+
| **brand-voice** | `skills/brand-voice/` | Anti-trope list, voice principles, LLM rhetoric prevention |
|
|
127
130
|
|
|
128
131
|
## Knowledge Skills - Infrastructure (6)
|
|
129
132
|
|