ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Explains code/architecture with Mermaid diagrams and sequence flows. Triggers: what does X do, how does Y work, explain code, sequence diagram.
Claude Code
$ npx -y skills add softspark/ai-toolkit --skill explain --agent claude-code
Codex
$ npx skills add softspark/ai-toolkit --skill explain -a codex -y
Cursor
$ npx skills add softspark/ai-toolkit --skill explain -a cursor -y
Gemini CLI
$ npx skills add softspark/ai-toolkit --skill explain -a gemini-cli -y
GitHub Copilot
$ npx skills add softspark/ai-toolkit --skill explain -a github-copilot -y
OpenCode
$ npx skills add softspark/ai-toolkit --skill explain -a opencode -y
Windsurf
$ npx skills add softspark/ai-toolkit --skill explain -a windsurf -y
name: explain description: "Explains code/architecture with Mermaid diagrams and sequence flows. Triggers: what does X do, how does Y work, explain code, sequence diagram." user-invocable: true effort: medium argument-hint: "[file or module path]" agent: code-archaeologist context: fork allowed-tools: Read, Grep, Glob
$ARGUMENTS
Generates visual architecture explanations.
"This module handles [Responsibility]. It interacts with [Dependencies]."
Generate a graph showing imports/exports.
graph TD
A[AuthService] -->|uses| B[UserRepo]
A -->|validates| C[Schema]
D[Controller] -->|calls| AIf logical flows are detected:
sequenceDiagram
User->>Controller: Login
Controller->>Service: Validate
Service->>DB: Check Creds
DB-->>Service: Result
Service-->>Controller: Token1. **Scan**: Read file contents to identify classes and functions. 2. **Link**: Identify imports to find collaborators. 3. **Visualize**: Generate standard Mermaid syntax.
Run the bundled script to extract imports and generate a Mermaid diagram:
python3 ${CLAUDE_SKILL_DIR}/scripts/dependency-graph.py src/auth.pyAI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search, recall session, past work, prior…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.