ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules.…
Applies targeted fix to known bug/lint error, verifies with same command that surfaced it. Triggers: fix, apply fix, fix bug, fix lint, targeted fix.
$ npx -y skills add softspark/ai-toolkit --skill fix --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fixContext preview
The summary Claude sees to decide when to auto-load this skill.
Applies targeted fix to known bug/lint error, verifies with same command that surfaced it. Triggers: fix, apply fix, fix bug, fix lint, targeted fix.
name: fix description: "Applies targeted fix to known bug/lint error, verifies with same command that surfaced it. Triggers: fix, apply fix, fix bug, fix lint, targeted fix." effort: low disable-model-invocation: true argument-hint: "[test or lint target]" allowed-tools: Bash, Read, Edit, Grep
$ARGUMENTS
Attempts to fix code errors autonomously.
/fix <file_or_scope> # Example: /fix src/utils.ts
Before entering the fix loop, classify errors to prioritize auto-fixable ones:
# Pipe lint or test output
ruff check . 2>&1 | python3 ${CLAUDE_SKILL_DIR}/scripts/error-classifier.py
mypy src/ 2>&1 | python3 ${CLAUDE_SKILL_DIR}/scripts/error-classifier.py
npx eslint . 2>&1 | python3 ${CLAUDE_SKILL_DIR}/scripts/error-classifier.pyThe script outputs JSON with:
Use this to run auto-fixers (e.g., `ruff check --fix .`) before spending time on manual fixes.
---
1. **Analyze**: Run validation to get the exact error message.
# Get error npm test src/utils.ts 2>&1 | tee error.log
2. **Diagnose**: Analyze `error.log`.
3. **Patch**: Apply a fix.
4. **Verify**: Run validation again.
User: /fix app.py Agent: Running tests... FAIL (NameError) Agent: Fixing app.py (Import missing module) Agent: Running tests... PASS Agent: Fixed NameError in app.py
AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Repo: softspark/ai-toolkit
Mandatory engineering, security, testing, git, performance, quality, and response rules.…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search,…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG,…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report,…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe…