writing-product-specs

writing-product-specs is a skill for Claude Code from nicepkg/ai-workflow. It costs 15 tokens per session (1,704 once invoked), scanned A, original, MIT.

A guide for writing product specifications: documents that explain what a team will build, why it matters, who it serves, what it must do, and how success will be judged.

In plain words
What is it for?
Use it to define new features or projects, document requirements, describe target users, set success measures, and record important tradeoffs.
Why use it?
It reduces confusion between product, design, and engineering teams by putting the problem, requirements, goals, and tradeoffs in one document. It assumes the reader knows the product area only after the document explains it.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the writing-product-specs plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/nicepkg/ai-workflow/writing-product-specs
Any agent
npx skills add nicepkg/ai-workflow --skill writing-product-specs
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code.

Or install writing-product-specs, the plugin that ships this one along with the rest of its 1 skill.

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 writing-product-specs

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/writing-product-specs.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/writing-product-specs)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/writing-product-specs"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/writing-product-specs.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00015 $0.01704
Opus 5 $0.00008 $0.00852
Sonnet 5 $0.00003 $0.00341
Haiku 4.5 $0.00002 $0.00170

Measured 2d ago against content hash ae7c62206f54, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

writing-product-specs 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 2d ago.

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.

workflows/product-manager-workflow/.claude/skills/writing-product-specs/SKILL.md · 160 lines

How it starts

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

Writing Product Specifications

Overview

Write comprehensive product specification documents that clearly communicate what we're building, why we're building it, and how we'll know it's successful. Document everything stakeholders need to understand: the problem context, target audience, requirements, success criteria, and tradeoffs. Give them a complete picture of the feature or project.

Assume the reader is a skilled product person or engineer, but knows nothing about this specific feature or the problem domain. Assume they need clear context to understand the "why" behind the work.

Announce at start: "I'm using the writing-product-specs skill to create the product specification."

Context: This should be run when designing a new feature or planning a project that needs clear requirements documentation.

Save specs to artifacts named spec--MM-DD-YYYY.md (or as requested by the user).

Core principle: Product specifications are detailed descriptions of the features and functionality of a product. They are used to communicate the requirements of the product to the development team.

When to Use This Skill

Use this skill when:

  • You are explicitly asked to write a product specification, product spec, or PRD (Product Requirements Document)
  • You are asked to design a new feature and need to document requirements before implementation
  • You are planning a project and need to define what will be built and why
  • You need to communicate product requirements to stakeholders, engineers, or designers
  • A feature request needs to be expanded into a detailed specification with context, requirements, and success criteria
  • You are asked to document the "what" and "why" of a product decision before moving to implementation

Process for Writing a Product Spec

Follow this process to elicit the necessary information and compose a comprehensive product specification.

Step 1: Understand the Requested Feature or Project

Ask questions to understand the feature or project. Gather information about:

Read the full file on GitHub · 160 lines

Files

What ships with it

1 file 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. 2d ago First seen · 160 lines · 15 tokens per session scan A ae7c62206f54

Subscribe to this mod's changes

writing-product-specs is a skill published in the GitHub repository nicepkg/ai-workflow (282 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 1,704 once invoked, about $0.0001 per session on Opus 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