@softspark/ai-toolkit 1.1.0 → 1.2.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +20 -6
  3. package/app/.claude-plugin/plugin.json +2 -2
  4. package/app/ARCHITECTURE.md +7 -5
  5. package/app/hooks/pre-compact.sh +44 -10
  6. package/app/personas/backend-lead.md +27 -0
  7. package/app/personas/devops-eng.md +27 -0
  8. package/app/personas/frontend-lead.md +26 -0
  9. package/app/personas/junior-dev.md +28 -0
  10. package/app/rules/claude-toolkit-rules.md +1 -1
  11. package/app/skills/api-patterns/SKILL.md +1 -0
  12. package/app/skills/app-builder/SKILL.md +1 -0
  13. package/app/skills/ci-cd-patterns/SKILL.md +1 -0
  14. package/app/skills/clean-code/SKILL.md +1 -0
  15. package/app/skills/csharp-patterns/SKILL.md +1 -0
  16. package/app/skills/database-patterns/SKILL.md +1 -0
  17. package/app/skills/debugging-tactics/SKILL.md +1 -1
  18. package/app/skills/design-engineering/SKILL.md +1 -0
  19. package/app/skills/docker-devops/SKILL.md +1 -0
  20. package/app/skills/documentation-standards/SKILL.md +1 -0
  21. package/app/skills/ecommerce-patterns/SKILL.md +1 -0
  22. package/app/skills/flutter-patterns/SKILL.md +1 -0
  23. package/app/skills/git-mastery/SKILL.md +1 -1
  24. package/app/skills/hive-mind/SKILL.md +1 -0
  25. package/app/skills/java-patterns/SKILL.md +1 -0
  26. package/app/skills/kotlin-patterns/SKILL.md +1 -0
  27. package/app/skills/mcp-patterns/SKILL.md +1 -0
  28. package/app/skills/migration-patterns/SKILL.md +1 -0
  29. package/app/skills/observability-patterns/SKILL.md +1 -0
  30. package/app/skills/onboard/SKILL.md +2 -0
  31. package/app/skills/orchestrate/SKILL.md +1 -1
  32. package/app/skills/performance-profiling/SKILL.md +1 -1
  33. package/app/skills/persona/SKILL.md +57 -0
  34. package/app/skills/plan-writing/SKILL.md +1 -0
  35. package/app/skills/pr/scripts/pr-summary.py +6 -3
  36. package/app/skills/rag-patterns/SKILL.md +1 -0
  37. package/app/skills/research-mastery/SKILL.md +1 -0
  38. package/app/skills/ruby-patterns/SKILL.md +1 -0
  39. package/app/skills/rust-patterns/SKILL.md +1 -0
  40. package/app/skills/security-patterns/SKILL.md +1 -0
  41. package/app/skills/skill-audit/SKILL.md +137 -0
  42. package/app/skills/subagent-development/SKILL.md +1 -1
  43. package/app/skills/swarm/SKILL.md +1 -1
  44. package/app/skills/swift-patterns/SKILL.md +1 -1
  45. package/app/skills/teams/SKILL.md +1 -1
  46. package/app/skills/testing-patterns/SKILL.md +1 -0
  47. package/app/skills/typescript-patterns/SKILL.md +1 -0
  48. package/app/skills/verification-before-completion/SKILL.md +1 -0
  49. package/app/skills/workflow/SKILL.md +1 -1
  50. package/kb/reference/architecture-overview.md +28 -5
  51. package/kb/reference/hooks-catalog.md +6 -4
  52. package/kb/reference/skills-catalog.md +5 -3
  53. package/llms.txt +2 -2
  54. package/package.json +3 -2
  55. package/scripts/audit_skills.py +290 -0
  56. package/scripts/generate_augment.py +46 -0
  57. package/scripts/install.py +32 -2
  58. package/scripts/install_steps/ai_tools.py +10 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,26 @@ Versioning follows [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ---
9
9
 
10
+ ## [1.2.0] - 2026-04-03
11
+
12
+ ### Added
13
+ - **`/skill-audit` skill** — security scanner for skills and agents: detects dangerous code patterns (`eval`, `exec`, `os.system`), hardcoded secrets (AWS keys, GitHub PATs, private keys), overly permissive `allowed-tools`, and missing safety constraints. Supports `--fix` for auto-remediation of safe issues. CI-ready (non-zero exit on HIGH findings).
14
+ - **Persona presets** (`--persona` flag) — 4 engineering personas: `backend-lead`, `frontend-lead`, `devops-eng`, `junior-dev`. Each injects role-specific communication style, preferred skills, and code review priorities into CLAUDE.md. Usage: `ai-toolkit install --persona backend-lead`.
15
+ - **`/persona` runtime switching** — new hybrid skill to switch persona at runtime without re-install. Usage: `/persona backend-lead`, `/persona --list`, `/persona --clear`. Session-scoped.
16
+ - **Augment editor support** — `scripts/generate_augment.py` generates `.augment/rules/ai-toolkit.md` with proper frontmatter (`type: always_apply`). Registered in global install.
17
+ - **`scripts/audit_skills.py`** — deterministic Python scanner for CI pipelines. Scans skills/agents for dangerous patterns, secrets, permission issues. JSON output (`--json`), non-zero exit on HIGH (`--ci`). Found 4 real HIGH findings in our own toolkit.
18
+
19
+ ### Changed
20
+ - **Smart compaction** (`pre-compact.sh`) — enhanced with prioritized context preservation: instincts (with confidence scores) > session context > git state (branch, dirty files, last commit) > key decisions. Replaces flat output with structured sections.
21
+ - Editor count: 8 → 9 (added Augment)
22
+ - Skill count: 85 → 87 (added `skill-audit`, `persona`)
23
+ - Task skill count: 27 → 28 (`skill-audit`)
24
+ - Hybrid skill count: 27 → 28 (`persona`)
25
+
26
+ [1.2.0]: https://github.com/softspark/ai-toolkit/releases/tag/v1.2.0
27
+
28
+ ---
29
+
10
30
  ## [1.1.0] - 2026-04-02
11
31
 
12
32
  ### Added
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # ai-toolkit
2
2
 
3
- > Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety, 85 skills, 47 agents, expanded lifecycle hooks, experimental opt-in plugin packs, and benchmark tooling — works with Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, and Aider, ready in 60 seconds.
3
+ > Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety, 87 skills, 47 agents, expanded lifecycle hooks, persona presets, experimental opt-in plugin packs, and benchmark tooling — works with Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, and Augment, ready in 60 seconds.
4
4
 
5
5
  [![CI](https://github.com/softspark/ai-toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/softspark/ai-toolkit/actions/workflows/ci.yml)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
7
- [![Skills](https://img.shields.io/badge/skills-85-brightgreen)](app/skills/)
7
+ [![Skills](https://img.shields.io/badge/skills-87-brightgreen)](app/skills/)
8
8
  [![Agents](https://img.shields.io/badge/agents-47-blue)](app/agents/)
9
9
  [![Tests](https://img.shields.io/badge/tests-310%20passing-success)](tests/)
10
10
 
@@ -21,7 +21,7 @@ ai-toolkit install
21
21
  npx @softspark/ai-toolkit install
22
22
  ```
23
23
 
24
- **That's it.** Claude Code picks up 85 skills, 47 agents, quality hooks, and the safety constitution automatically.
24
+ **That's it.** Claude Code picks up 87 skills, 47 agents, quality hooks, and the safety constitution automatically.
25
25
 
26
26
  ### Update
27
27
 
@@ -59,6 +59,17 @@ ai-toolkit install --profile standard # full install (default)
59
59
  ai-toolkit install --profile strict # full install + git hooks even without --local
60
60
  ```
61
61
 
62
+ ### Persona Presets
63
+
64
+ Inject role-specific communication style and skill preferences:
65
+
66
+ ```bash
67
+ ai-toolkit install --persona backend-lead # system design, API stability, data integrity
68
+ ai-toolkit install --persona frontend-lead # component architecture, a11y, Core Web Vitals
69
+ ai-toolkit install --persona devops-eng # infra-as-code, CI/CD, rollback safety
70
+ ai-toolkit install --persona junior-dev # step-by-step explanations, learning focus
71
+ ```
72
+
62
73
  ### Selective Install / Update
63
74
 
64
75
  ```bash
@@ -111,8 +122,8 @@ Replaces all symlinks with real files, inlines rules into CLAUDE.md, copies cons
111
122
 
112
123
  | Component | Count | Description |
113
124
  |-----------|-------|-------------|
114
- | `skills/` (task) | 27 | Slash commands: `/commit`, `/build`, `/deploy`, `/test`, ... |
115
- | `skills/` (hybrid) | 27 | Slash commands with agent knowledge base |
125
+ | `skills/` (task) | 28 | Slash commands: `/commit`, `/build`, `/deploy`, `/test`, `/skill-audit`, ... |
126
+ | `skills/` (hybrid) | 28 | Slash commands with agent knowledge base |
116
127
  | `skills/` (knowledge) | 31 | Domain knowledge auto-loaded by agents |
117
128
  | `agents/` | 47 | Specialized agents across 10 categories |
118
129
  | `hooks/` | 15 global + 5 skill-scoped | Quality gates, path safety, CLAUDE.md enforcement, notifications, prompt governance, subagent lifecycle, session-end handoff, usage tracking |
@@ -134,7 +145,7 @@ ai-toolkit/
134
145
  │ │ ├── backend-specialist.md
135
146
  │ │ ├── security-architect.md
136
147
  │ │ └── ... (44 more)
137
- │ ├── skills/ # 85 skills (task / hybrid / knowledge)
148
+ │ ├── skills/ # 87 skills (task / hybrid / knowledge)
138
149
  │ │ ├── commit/ # /commit slash command
139
150
  │ │ ├── review/ # /review slash command
140
151
  │ │ ├── clean-code/ # knowledge skill (auto-loaded)
@@ -192,6 +203,7 @@ ai-toolkit/
192
203
  | `/command-creator` | Scaffold a new slash command with frontmatter and workflow guidance | high |
193
204
  | `/agent-creator` | Scaffold a new specialized agent with tools and trigger guidance | high |
194
205
  | `/plugin-creator` | Scaffold an experimental plugin pack with manifest and optional modules | high |
206
+ | `/skill-audit` | Scan skills/agents for security risks: dangerous patterns, secrets, permissions | medium |
195
207
  | `/analyze` | Code quality, complexity, and pattern analysis | medium |
196
208
  | `/fix` | Auto-fix lint/type errors | low |
197
209
  | `/build` | Build with issue detection | low |
@@ -563,6 +575,7 @@ Usage: ai-toolkit <command> [options]
563
575
  | `cline-rules` | Generate `.clinerules` in current dir |
564
576
  | `roo-modes` | Generate `.roomodes` in current dir |
565
577
  | `aider-conf` | Generate `.aider.conf.yml` in current dir |
578
+ | `augment-rules` | Generate `.augment/rules/ai-toolkit.md` in current dir |
566
579
  | `agents-md` | Regenerate `AGENTS.md` from agent definitions |
567
580
  | `llms-txt` | Generate `llms.txt` and `llms-full.txt` |
568
581
  | `generate-all` | Generate all platform configs at once |
@@ -574,6 +587,7 @@ Usage: ai-toolkit <command> [options]
574
587
  ai-toolkit install --only agents,hooks # apply only listed components
575
588
  ai-toolkit install --skip hooks # skip listed components
576
589
  ai-toolkit install --profile minimal # profile preset: minimal | standard | strict
590
+ ai-toolkit install --persona backend-lead # persona preset: backend-lead | frontend-lead | devops-eng | junior-dev
577
591
  ai-toolkit install --local # also set up project-local configs (CLAUDE.md, settings, constitution, Copilot, Cline, Roo, Aider, Git Hooks, MCP Defaults)
578
592
  ai-toolkit update --local # re-apply + refresh project-local configs
579
593
  ai-toolkit install --list # dry-run: show what would be applied
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ai-toolkit",
3
- "description": "Professional-grade Claude Code toolkit: 81 skills, 47 agents, expanded lifecycle hooks, experimental opt-in plugin packs, benchmark harvesting, and multi-tool support.",
4
- "version": "1.0.0",
3
+ "description": "Professional-grade Claude Code toolkit: 87 skills, 47 agents, persona presets, skill security auditor, expanded lifecycle hooks, experimental opt-in plugin packs, benchmark harvesting, and multi-tool support.",
4
+ "version": "1.2.0",
5
5
  "author": {
6
6
  "name": "SoftSpark",
7
7
  "url": "https://github.com/softspark"
@@ -7,7 +7,7 @@ Universal multi-agent system for software development. Works across all reposito
7
7
  | Component | Count |
8
8
  |-----------|-------|
9
9
  | Agents | 47 |
10
- | Skills | 85 |
10
+ | Skills | 87 |
11
11
  | Hooks | 12 events / 15 entries (SessionStart, Notification, PreToolUse ×2, UserPromptSubmit ×2, PostToolUse, Stop ×2, TaskCompleted, TeammateIdle, SubagentStart, SubagentStop, PreCompact, SessionEnd) |
12
12
 
13
13
  ---
@@ -103,9 +103,9 @@ Universal multi-agent system for software development. Works across all reposito
103
103
 
104
104
  ---
105
105
 
106
- ## Skills (85)
106
+ ## Skills (87)
107
107
 
108
- ### Task Skills (27)
108
+ ### Task Skills (28)
109
109
  | Skill | Slash Command | Purpose |
110
110
  |-------|---------------|---------|
111
111
  | `commit` | `/commit` | Create well-structured git commits (Conventional Commits) |
@@ -135,8 +135,9 @@ Universal multi-agent system for software development. Works across all reposito
135
135
  | `agent-creator` | `/agent-creator` | Create new specialized agents with tools and trigger guidance |
136
136
  | `plugin-creator` | `/plugin-creator` | Create experimental opt-in plugin packs with manifests, conventions, and optional modules |
137
137
  | `prd-to-issues` | `/prd-to-issues` | Break PRD into GitHub issues with vertical slices and HITL/AFK tagging |
138
+ | `skill-audit` | `/skill-audit` | Scan skills and agents for security risks, dangerous patterns, secrets |
138
139
 
139
- ### Hybrid Skills (27)
140
+ ### Hybrid Skills (28)
140
141
  | Skill | Slash Command | Purpose |
141
142
  |-------|---------------|---------|
142
143
  | `explore` | `/explore` | Codebase exploration and tech stack discovery |
@@ -166,6 +167,7 @@ Universal multi-agent system for software development. Works across all reposito
166
167
  | `subagent-development` | `/subagent-development` | Execute plans with 2-stage review (spec + quality) per task |
167
168
  | `repeat` | `/repeat` | Autonomous loop with safety controls (Ralph Wiggum pattern) |
168
169
  | `mem-search` | `/mem-search` | Search past coding sessions via natural language (memory-pack) |
170
+ | `persona` | `/persona` | Switch engineering persona at runtime (backend-lead, frontend-lead, devops-eng, junior-dev) |
169
171
 
170
172
  ### Knowledge Skills - Development (15)
171
173
  | Skill | Purpose |
@@ -255,7 +257,7 @@ Phase 2: IMPLEMENTATION
255
257
  ├── ARCHITECTURE.md # This file
256
258
  ├── agents/ # Agent definitions (47)
257
259
  ├── hooks.json # Quality gate hooks (multi-language)
258
- ├── skills/ # All skills: task, hybrid, knowledge (85)
260
+ ├── skills/ # All skills: task, hybrid, knowledge (87)
259
261
  ├── output-styles/ # System prompt output style overrides (e.g. golden-rules)
260
262
  ├── constitution.md # Immutable safety rules (5 articles)
261
263
  └── settings.local.json # Local settings + Agent Teams config
@@ -3,29 +3,63 @@
3
3
  #
4
4
  # Fires on: PreCompact
5
5
  # Outputs key context markers so they survive the compaction boundary.
6
+ # Priority order: rules > instincts > tasks > session context > git state.
6
7
  # Skipped when TOOLKIT_HOOK_PROFILE=minimal.
7
8
 
8
9
  # shellcheck source=_profile-check.sh
9
10
  source "$(dirname "$0")/_profile-check.sh"
10
11
 
11
- # 1. Remind Claude to reload project rules after compaction
12
+ # ---------------------------------------------------------------------------
13
+ # 1. Mandatory reload reminder (highest priority — always survives)
14
+ # ---------------------------------------------------------------------------
12
15
  echo "IMPORTANT: Context was compacted. Re-read CLAUDE.md files and active tasks before continuing."
13
16
 
14
- # 2. Preserve active task summary if available
15
- if [ -f ".claude/session-context.md" ]; then
16
- echo "=== Pre-Compaction Context ==="
17
- cat ".claude/session-context.md"
18
- echo "=============================="
19
- fi
20
-
21
- # 3. Preserve active instincts
17
+ # ---------------------------------------------------------------------------
18
+ # 2. Active instincts (high priority — behavioral rules)
19
+ # ---------------------------------------------------------------------------
22
20
  INSTINCTS_DIR=".claude/instincts"
23
21
  if [ -d "$INSTINCTS_DIR" ] && ls "$INSTINCTS_DIR"/*.md >/dev/null 2>&1; then
24
22
  echo "=== Active Instincts ==="
25
23
  for f in "$INSTINCTS_DIR"/*.md; do
26
- echo "- $(head -1 "$f")"
24
+ # Extract pattern name and confidence from first two lines
25
+ name=$(head -1 "$f" | sed 's/^# Pattern: //')
26
+ confidence=$(grep -m1 'Confidence:' "$f" | awk '{print $2}')
27
+ echo "- [${confidence:-?}] $name"
27
28
  done
28
29
  echo "========================"
29
30
  fi
30
31
 
32
+ # ---------------------------------------------------------------------------
33
+ # 3. Current task state (medium priority — what we're doing)
34
+ # ---------------------------------------------------------------------------
35
+ if [ -f ".claude/session-context.md" ]; then
36
+ echo "=== Session Context ==="
37
+ cat ".claude/session-context.md"
38
+ echo "======================="
39
+ fi
40
+
41
+ # ---------------------------------------------------------------------------
42
+ # 4. Git working state (low priority — quick orientation)
43
+ # ---------------------------------------------------------------------------
44
+ if command -v git >/dev/null 2>&1 && git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
45
+ BRANCH=$(git branch --show-current 2>/dev/null)
46
+ DIRTY=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ')
47
+ LAST_COMMIT=$(git log -1 --oneline 2>/dev/null)
48
+ echo "=== Git State ==="
49
+ echo "Branch: ${BRANCH:-detached}"
50
+ echo "Uncommitted changes: ${DIRTY}"
51
+ echo "Last commit: ${LAST_COMMIT}"
52
+ echo "================="
53
+ fi
54
+
55
+ # ---------------------------------------------------------------------------
56
+ # 5. Key decisions file (if user has been noting decisions this session)
57
+ # ---------------------------------------------------------------------------
58
+ if [ -f ".claude/decisions.md" ]; then
59
+ echo "=== Key Decisions This Session ==="
60
+ # Only show last 10 lines to keep token budget tight
61
+ tail -10 ".claude/decisions.md"
62
+ echo "=================================="
63
+ fi
64
+
31
65
  exit 0
@@ -0,0 +1,27 @@
1
+ # Persona: Backend Lead
2
+
3
+ ## Communication Style
4
+ - Focus on system design, scalability, and data flow
5
+ - Explain trade-offs between consistency and availability
6
+ - Default to production-readiness over prototyping speed
7
+ - Warn about N+1 queries, missing indexes, unhandled edge cases
8
+
9
+ ## Preferred Skills
10
+ - `/workflow backend-feature` for new features
11
+ - `/workflow api-design` for API work
12
+ - `/workflow database-evolution` for schema changes
13
+ - `/tdd` for all business logic
14
+ - `/review` with security focus
15
+
16
+ ## Code Review Priorities
17
+ 1. Data integrity and transaction safety
18
+ 2. API contract stability (breaking changes)
19
+ 3. Error handling and observability
20
+ 4. Performance under load
21
+ 5. Test coverage for edge cases
22
+
23
+ ## Stack Assumptions
24
+ - Assume production database with migrations (never raw DDL)
25
+ - Prefer explicit over implicit (no magic, no ORMs hiding queries)
26
+ - Always consider backwards compatibility for API changes
27
+ - Log structured JSON, not print statements
@@ -0,0 +1,27 @@
1
+ # Persona: DevOps Engineer
2
+
3
+ ## Communication Style
4
+ - Focus on infrastructure, CI/CD, reliability, observability
5
+ - Think in terms of blast radius and rollback strategies
6
+ - Default to immutable infrastructure and declarative configs
7
+ - Warn about missing health checks, no retry logic, hardcoded configs
8
+
9
+ ## Preferred Skills
10
+ - `/workflow infrastructure-change` for infra work
11
+ - `/workflow application-deploy` for deployments
12
+ - `/workflow incident-response` for incidents
13
+ - `/review` with security and infra focus
14
+ - `/deploy` and `/rollback` for release management
15
+
16
+ ## Code Review Priorities
17
+ 1. Secrets management (no hardcoded values)
18
+ 2. Idempotency and rollback safety
19
+ 3. Health checks and readiness probes
20
+ 4. Resource limits and scaling policies
21
+ 5. Logging, metrics, and alerting coverage
22
+
23
+ ## Stack Assumptions
24
+ - Everything as code (Terraform, Ansible, Dockerfiles)
25
+ - CI/CD pipeline exists and must pass before deploy
26
+ - Multi-environment (dev/staging/prod) parity
27
+ - Prefer managed services over self-hosted
@@ -0,0 +1,26 @@
1
+ # Persona: Frontend Lead
2
+
3
+ ## Communication Style
4
+ - Focus on component architecture, state management, UX
5
+ - Think in terms of user journeys and interaction patterns
6
+ - Prioritize accessibility (a11y) and responsive design
7
+ - Warn about bundle size, unnecessary re-renders, layout shifts
8
+
9
+ ## Preferred Skills
10
+ - `/workflow frontend-feature` for new features
11
+ - `/design-an-interface` for component design
12
+ - `/review` with UX and a11y focus
13
+ - `/tdd` for component and integration tests
14
+
15
+ ## Code Review Priorities
16
+ 1. Accessibility (WCAG 2.1 AA minimum)
17
+ 2. Component reusability and composition
18
+ 3. State management simplicity
19
+ 4. Performance (Core Web Vitals)
20
+ 5. Responsive behavior across breakpoints
21
+
22
+ ## Stack Assumptions
23
+ - Component-based architecture (React, Vue, or similar)
24
+ - Design tokens / CSS variables for theming
25
+ - Prefer server components where possible
26
+ - Images: always lazy-load, always provide dimensions
@@ -0,0 +1,28 @@
1
+ # Persona: Junior Developer
2
+
3
+ ## Communication Style
4
+ - Explain concepts step by step, don't assume deep knowledge
5
+ - Link patterns to fundamentals (SOLID, DRY, KISS)
6
+ - Show examples before abstractions
7
+ - Suggest learning resources when introducing new concepts
8
+ - Use `/explain` liberally before making changes
9
+
10
+ ## Preferred Skills
11
+ - `/explain` for understanding code before changing it
12
+ - `/explore` to map unfamiliar codebases
13
+ - `/debug` with detailed root cause explanation
14
+ - `/tdd` to build testing habits early
15
+ - `/plan` before any non-trivial change
16
+
17
+ ## Code Review Priorities
18
+ 1. Correctness and readability
19
+ 2. Naming clarity
20
+ 3. Test coverage for the happy path
21
+ 4. Consistent style with the rest of the codebase
22
+ 5. Documentation of non-obvious decisions
23
+
24
+ ## Learning Approach
25
+ - Prefer small, focused PRs over large changes
26
+ - Always run tests before committing
27
+ - Ask "why does this work?" not just "does this work?"
28
+ - Read existing code before writing new code
@@ -1,6 +1,6 @@
1
1
  # Claude Toolkit
2
2
 
3
- Shared AI development toolkit — 85 skills, 47 agents, lifecycle hooks, safety constitution.
3
+ Shared AI development toolkit — 87 skills, 47 agents, lifecycle hooks, safety constitution.
4
4
 
5
5
  ## Skill Tiers
6
6
 
@@ -3,6 +3,7 @@ name: api-patterns
3
3
  description: "Loaded when user asks about REST API design or GraphQL patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # API Patterns Skill
@@ -3,6 +3,7 @@ name: app-builder
3
3
  description: "Loaded when user asks to scaffold or build a full-stack app"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # App Builder Skill
@@ -3,6 +3,7 @@ name: ci-cd-patterns
3
3
  description: "Loaded when user asks about CI/CD pipelines or deployment automation"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # CI/CD Patterns
@@ -3,6 +3,7 @@ name: clean-code
3
3
  description: "Loaded when user asks about clean code, naming, or code quality"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Clean Code Skill
@@ -3,6 +3,7 @@ name: csharp-patterns
3
3
  description: "Loaded when user asks about C# or .NET development patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # C# / .NET Patterns
@@ -3,6 +3,7 @@ name: database-patterns
3
3
  description: "Loaded when user asks about database schema or query optimization"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Database Patterns Skill
@@ -3,7 +3,7 @@ name: debugging-tactics
3
3
  description: "Loaded when user is debugging an issue or needs root cause analysis"
4
4
  effort: medium
5
5
  user-invocable: false
6
- allowed-tools: Bash, Grep, Read
6
+ allowed-tools: Grep, Read
7
7
  ---
8
8
 
9
9
  # Debugging Tactics Skill
@@ -3,6 +3,7 @@ name: design-engineering
3
3
  description: "Loaded when user asks about UI animations or CSS design craft"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Design Engineering Skill
@@ -3,6 +3,7 @@ name: docker-devops
3
3
  description: "Loaded when user asks about Docker, containers, or DevOps patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Docker & DevOps Skill
@@ -3,6 +3,7 @@ name: documentation-standards
3
3
  description: "Loaded when creating or updating KB documents, architecture notes, SOPs, or any file in kb/ directory"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Documentation Standards
@@ -3,6 +3,7 @@ name: ecommerce-patterns
3
3
  description: "Loaded when user asks about e-commerce or shopping cart features"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # E-commerce Patterns Skill
@@ -3,6 +3,7 @@ name: flutter-patterns
3
3
  description: "Loaded when user asks about Flutter or Dart development patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Flutter Patterns Skill
@@ -3,7 +3,7 @@ name: git-mastery
3
3
  description: "Loaded when user asks about advanced Git workflows or history rewriting"
4
4
  effort: medium
5
5
  user-invocable: false
6
- allowed-tools: Bash
6
+ allowed-tools: Read, Grep, Glob
7
7
  ---
8
8
 
9
9
  # Git Mastery Skill
@@ -3,6 +3,7 @@ name: hive-mind
3
3
  description: "Loaded when orchestrating multi-agent swarms or consensus workflows"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Hive Mind Skill
@@ -3,6 +3,7 @@ name: java-patterns
3
3
  description: "Loaded when user asks about Java development patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Java Patterns Skill
@@ -3,6 +3,7 @@ name: kotlin-patterns
3
3
  description: "Loaded when user asks about Kotlin development patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Kotlin Patterns Skill
@@ -3,6 +3,7 @@ name: mcp-patterns
3
3
  description: "Loaded when user asks about MCP servers or tool protocol design"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # MCP Patterns Skill
@@ -3,6 +3,7 @@ name: migration-patterns
3
3
  description: "Loaded when user asks about database migrations or zero-downtime deploys"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Migration Patterns
@@ -3,6 +3,7 @@ name: observability-patterns
3
3
  description: "Loaded when user asks about logging, metrics, or tracing patterns"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Observability Patterns
@@ -67,6 +67,8 @@ Edit `.claude/settings.local.json` for project-specific settings:
67
67
  | `/review` | Code review |
68
68
  | `/commit` | Create a structured commit |
69
69
 
70
+
71
+
70
72
  ## Usage Examples
71
73
 
72
74
  ```
@@ -7,7 +7,7 @@ argument-hint: "[task]"
7
7
  context: fork
8
8
  agent: orchestrator
9
9
  model: opus
10
- allowed-tools: Bash, Read, Write, Edit, Glob, Grep, Agent, TeamCreate, TeamDelete, SendMessage, TaskCreate, TaskList, TaskUpdate
10
+ allowed-tools: Bash, Read, Write, Edit, Glob, Grep, Agent, TeamCreate, TeamDelete, SendMessage, TaskCreate, TaskList, TaskUpdate, TaskGet, TaskOutput, TaskStop
11
11
  ---
12
12
 
13
13
  # /orchestrate - Multi-Agent Coordination
@@ -2,7 +2,7 @@
2
2
  name: performance-profiling
3
3
  description: "Loaded when user asks about performance profiling or optimization"
4
4
  effort: medium
5
- allowed-tools: Bash, Grep
5
+ allowed-tools: Read, Grep
6
6
  user-invocable: false
7
7
  ---
8
8
 
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: persona
3
+ description: "Switch engineering persona at runtime: backend-lead, frontend-lead, devops-eng, junior-dev"
4
+ effort: low
5
+ user-invocable: true
6
+ argument-hint: "[backend-lead | frontend-lead | devops-eng | junior-dev | --list | --clear]"
7
+ allowed-tools: Read, Glob
8
+ ---
9
+
10
+ # /persona - Runtime Persona Switching
11
+
12
+ $ARGUMENTS
13
+
14
+ Switch your working persona without re-installing. Personas adjust communication style, preferred skills, and code review priorities for the current session.
15
+
16
+ ## Usage
17
+
18
+ ```
19
+ /persona backend-lead # Activate backend lead persona
20
+ /persona frontend-lead # Activate frontend lead persona
21
+ /persona devops-eng # Activate DevOps engineer persona
22
+ /persona junior-dev # Activate junior developer persona
23
+ /persona --list # Show available personas
24
+ /persona --clear # Reset to default (no persona)
25
+ ```
26
+
27
+ ## Available Personas
28
+
29
+ | Persona | Focus | Preferred Skills |
30
+ |---------|-------|-----------------|
31
+ | `backend-lead` | System design, scalability, data integrity, API stability | `/workflow backend-feature`, `/tdd` |
32
+ | `frontend-lead` | Component architecture, a11y, state management, Core Web Vitals | `/design-an-interface`, `/review` |
33
+ | `devops-eng` | IaC, CI/CD, blast radius, rollback safety, observability | `/workflow infrastructure-change`, `/deploy` |
34
+ | `junior-dev` | Step-by-step explanations, learning resources, small PRs | `/explain`, `/explore`, `/debug` |
35
+
36
+ ## Steps
37
+
38
+ 1. Parse `$ARGUMENTS`
39
+ 2. If `--list`: read all `app/personas/*.md` files via Glob, display table with name and first-line summary
40
+ 3. If `--clear`: respond with "Persona cleared. Using default behavior for the rest of this session."
41
+ 4. If persona name given:
42
+ a. Read the persona file from `app/personas/{name}.md` (relative to toolkit root)
43
+ b. If file not found, try the installed location: `~/.claude/skills/persona/../../../app/personas/{name}.md`
44
+ c. Display the persona content to Claude
45
+ d. State: "**Persona active: {name}**. I will follow these guidelines for the rest of this session."
46
+ 5. If no argument: show usage and available personas
47
+
48
+ ## How It Works
49
+
50
+ Unlike `--persona` at install time (which injects into CLAUDE.md permanently), `/persona` applies for the **current session only**. The persona file content is loaded into the conversation context and Claude follows it until the session ends or `/persona --clear` is called.
51
+
52
+ ## Rules
53
+
54
+ - This skill is READ-ONLY — it never writes files
55
+ - Persona stays active for the current session only
56
+ - Only one persona active at a time — switching replaces the previous one
57
+ - Valid personas are defined by `.md` files in `app/personas/`
@@ -3,6 +3,7 @@ name: plan-writing
3
3
  description: "Loaded when user asks to write an implementation plan or pre-mortem"
4
4
  effort: medium
5
5
  user-invocable: false
6
+ allowed-tools: Read
6
7
  ---
7
8
 
8
9
  # Plan Writing Skill