write-a-prd

write-a-prd is a skill for Claude Code from softspark/ai-toolkit. It costs 37 tokens per session (813 once invoked), scanned A, original, Apache-2.0.

A guided process for creating a product requirements document, or PRD, by interviewing the user, examining the codebase, and designing the affected modules.

In plain words
What is it for?
Use it to plan a new feature, describe its users and requirements, explore integration points, and submit the resulting PRD as a GitHub issue.
Why use it?
It helps turn an idea or problem into a documented plan grounded in the existing code. It also exposes unresolved design decisions before implementation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to plan a new feature, describe its users and requirements, explore integration points, and submit the resulting PRD as a GitHub issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/softspark/ai-toolkit/write-a-prd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add softspark/ai-toolkit --skill write-a-prd
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for write-a-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/softspark/ai-toolkit/write-a-prd/github.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/write-a-prd)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/write-a-prd"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/write-a-prd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for write-a-prd

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/write-a-prd"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/write-a-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 813 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00813
Opus 5.5 $0.00015 $0.00325
Sonnet 5.5 $0.00007 $0.00163
Haiku 4.5 $0.00004 $0.00081

Measured 1mo ago against content hash b2211abe7b38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-a-prd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/poll.js, scripts/visual-server.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/skills/write-a-prd/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Write a PRD

$ARGUMENTS

Create a PRD through structured interview, codebase exploration, and module design, then submit as a GitHub issue.

Usage

/write-a-prd [feature or problem description]

What This Command Does

  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

Process

1. Gather Problem Description

Ask the user for a detailed description of:

  • The problem they want to solve
  • Any potential ideas for solutions
  • Who the users/actors are

2. Explore the Codebase

Use Agent (subagent_type=Explore) to understand:

  • Current architecture relevant to the feature
  • Existing patterns and conventions
  • Integration points
  • Related code that might be affected

3. Interview Relentlessly

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.

4. Sketch Modules

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:

  • Do these modules match their expectations?
  • Which modules need tests?

5. Write and Submit PRD

Use the template below. Submit as GitHub issue via gh issue create. Share the URL.

PRD Template

Problem Statement

The problem from the user's perspective.

Solution

The solution from the user's perspective.

User Stories

Extensive numbered list:

  1. As an , I want a , so that

Cover ALL aspects of the feature.

Read the full file on GitHub · 130 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 130 lines · 37 tokens per session scan A b2211abe7b38

Subscribe to this mod's changes

write-a-prd is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed yesterday), licensed Apache-2.0. It adds 37 tokens to every session and 813 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

orchestrator

Providerneutrales Protokoll zum Zerlegen komplexer Aufgaben, zum Beauftragen unabhängiger Worker und zur evidenzbasierten Abnahme ihrer Ergebnisse.

ellmos-ai/skills · 38 tokens

workflow-extract

Baut aus einem Chatverlauf oder aus bestehenden Automatisierungs-Prompts (z. B. eines anderen Agenten-Systems) eine selbstlaufende, user-neutrale Workflow-Automatisierung: einen wiederkehrenden Prompt bzw. Automations-Skill für Cron/Schedule/Loop. Alias: automations-extractor. Nutze diesen Skill bei „mach daraus eine…

ellmos-ai/skills · 249 tokens

project-onboarding

Standard procedure for onboarding new software projects: Feature analysis, code quality review, onboarding checklist, and task creation.

ellmos-ai/skills · 26 tokens

skill-register-care

Pflege-Skill, der das dreiteilige Skill-Register konsistent hält (code-skill-index-Kataloge, Skill-Index, SKILL-MAP Family-/Routing-Map). Nutze diesen Skill für einen Drift-Check zwischen dem realen Skill-Inventar und dem dokumentierten Register: fehlende oder zu viele Einträge melden, Counts korrigieren, Stand-Datum…

ellmos-ai/skills · 117 tokens

data-governance-guide

Gouvernance des données incluant catalogues, lineage, qualité, ownership, politiques et metadata management. Se déclenche avec "data governance", "gouvernance données", "data catalog", "data lineage", "metadata", "data ownership".

khalilbenaz/claude-skills-collection · 56 tokens

it-commercial-proposal

Génération d'offres commerciales pour des projets IT — lots techniques, chiffrage jour-homme, hypothèses, SLA, TMA et annexes techniques. Se déclenche avec "offre commerciale IT", "proposition commerciale IT", "devis IT", "appel d'offres", "offre technique et financière", "chiffrage jour-homme", "SOW", "réponse à AO".…

khalilbenaz/claude-skills-collection · 110 tokens