ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules.…
Creates PRD via interactive interview + codebase exploration + module design. Triggers: write PRD, product requirements, plan new feature, PRD interview.
$ npx -y skills add softspark/ai-toolkit --skill write-a-prd --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/write-a-prdContext preview
The summary Claude sees to decide when to auto-load this skill.
Creates PRD via interactive interview + codebase exploration + module design. Triggers: write PRD, product requirements, plan new feature, PRD interview.
name: write-a-prd description: "Creates PRD via interactive interview + codebase exploration + module design. Triggers: write PRD, product requirements, plan new feature, PRD interview." user-invocable: true effort: high argument-hint: "[feature or problem description]" allowed-tools: Read, Grep, Glob, Bash, Agent
$ARGUMENTS
Create a PRD through structured interview, codebase exploration, and module design, then submit as a GitHub issue.
/write-a-prd [feature or problem description]
1. **Gathers** detailed problem description from user 2. **Explores** the codebase to verify assertions and understand current state 3. **Interviews** relentlessly about every design branch until shared understanding 4. **Sketches** major modules — actively seeking deep modules (small interface, deep implementation) 5. **Writes** the PRD and submits as GitHub issue via `gh issue create`
Ask the user for a detailed description of:
Use Agent (subagent_type=Explore) to understand:
Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
Ask questions one at a time. If a question can be answered by exploring the codebase, explore instead of asking.
Identify major modules to build or modify. Look for opportunities to extract **deep modules** — modules that encapsulate significant functionality behind a simple, testable interface.
Check with the user:
Use the template below. Submit as GitHub issue via `gh issue create`. Share the URL.
<prd-template>
The problem from the user's perspective.
The solution from the user's perspective.
Extensive numbered list:
1. As an <actor>, I want a <feature>, so that <benefit>
Cover ALL aspects of the feature.
Do NOT include specific file paths or code snippets — they go stale quickly.
What is explicitly NOT part of this PRD.
Any additional context.
</prd-template>
When upcoming questions will involve visual content (mockups, layouts, diagrams), offer the browser companion:
> "Some of what we're working on might be easier to explain visually. I can show mockups and diagrams in a browser. Want to try it?"
**This offer MUST be its own message.** Do not combine with other questions. Wait for response.
If accepted, start the server and use it for visual questions only. Text/conceptual questions stay in terminal.
See [reference/visual-companion.md](reference/visual-companion.md) for details.
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…