ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules.…
Creates detailed refactor plan with tiny commits via interview, files as GitHub RFC. Triggers: refactor plan, refactoring RFC, incremental refactor, safe steps.
$ npx -y skills add softspark/ai-toolkit --skill refactor-plan --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/refactor-planContext preview
The summary Claude sees to decide when to auto-load this skill.
Creates detailed refactor plan with tiny commits via interview, files as GitHub RFC. Triggers: refactor plan, refactoring RFC, incremental refactor, safe steps.
name: refactor-plan description: "Creates detailed refactor plan with tiny commits via interview, files as GitHub RFC. Triggers: refactor plan, refactoring RFC, incremental refactor, safe steps." user-invocable: true effort: high argument-hint: "[area or module to refactor]" allowed-tools: Read, Grep, Glob, Bash, Agent
$ARGUMENTS
Create a detailed refactor plan with tiny commits via user interview, filed as a GitHub issue.
/refactor-plan [area or module to refactor]
1. **Gathers** detailed problem description from user 2. **Explores** the codebase to verify assertions 3. **Presents** alternative approaches (>=3 options) 4. **Interviews** about implementation details 5. **Checks** test coverage of affected area 6. **Breaks** into tiny commits (Martin Fowler: each step keeps codebase working) 7. **Files** as GitHub issue via `gh issue create`
Ask for detailed description of:
Use Agent (subagent_type=Explore) to verify assertions and understand current state.
Present >=3 alternative approaches. Discuss trade-offs.
Detailed interview about chosen approach. Hammer out exact scope — what changes, what doesn't.
Explore existing test coverage for the affected area. If insufficient, ask about testing plans.
Each commit:
Use `gh issue create` with template below. Share URL immediately.
<refactor-plan-template>
The problem from the developer's perspective.
The solution from the developer's perspective.
Detailed plan in plain English, broken into the tiniest commits possible. Each commit leaves the codebase working.
Implementation decisions made:
Do NOT include file paths or code snippets — they go stale.
What is explicitly NOT part of this refactor.
</refactor-plan-template>
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…