requirements-writing

requirements-writing is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 31 tokens per session (598 once invoked), scanned A, original, Apache-2.0.

A requirements-writing guide for describing what a feature must do and why, in terms that developers and testers can verify. It keeps implementation details separate from the requirement.

In plain words
What is it for?
It helps write user stories, acceptance criteria, constraints, assumptions, and testable behavior descriptions without prescribing the technical solution.
Why use it?
It removes guesswork caused by vague, combined, or hidden assumptions in feature requests. Clear requirements give developers something concrete to build and QA something concrete to check.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps write user stories, acceptance criteria, constraints, assumptions, and testable behavior descriptions without prescribing the technical solution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makifbaysal/tasktrooper/requirements-writing
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 makifbaysal/tasktrooper --skill requirements-writing
Clone the repo
git clone --depth 1 https://github.com/makifbaysal/tasktrooper

Made for: Claude Code, Codex.

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 requirements-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/requirements-writing/github.svg)](https://agentmods.dev/skills/makifbaysal/tasktrooper/requirements-writing)
Your own site
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/requirements-writing"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/requirements-writing/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 requirements-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/requirements-writing"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/requirements-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 598 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.
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.00031 $0.00598
Opus 5.5 $0.00012 $0.00239
Sonnet 5.5 $0.00006 $0.00120
Haiku 4.5 $0.00003 $0.00060

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

Security

Grade A, and why

requirements-writing 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 8d 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.

catalog/agents/product-manager/skills/requirements-writing/SKILL.md · 54 lines

How it starts

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

Requirements Writing

Overview

A requirement is a promise about behavior, written so QA can later prove it and a developer can build it without guessing. The recurring failures are requirements that specify implementation (HOW), bundle several behaviors into one, or hide assumptions that later surface as defects.

Core principle: State WHAT and WHY. HOW belongs to the architect and developers.

The shape

  • User story: As [persona], I want [capability], so that [outcome].
  • Context: why now, what problem it solves.
  • Constraints: hard limits (locale, performance, compliance) treated as given.
  • Assumptions: stated explicitly — an unstated assumption becomes a defect.

Rules

  • WHAT/WHY, not HOW — but field-aware. description and acceptance_criteria state WHAT and WHY: "Users can export tasks to CSV" — not "add a /export endpoint using library X." Endpoints, files and tables belong only in technical_description, only once verified with code tools (get_repo_tree, codebase_search/grep_code), and only for small direct tasks you write yourself. A criterion may name an endpoint only when the API itself is the product surface (see acceptance-criteria-gwt's API-surface example) — not as a stand-in for what a user sees.
  • Independently testable. If a requirement contains "and", consider splitting.
  • No solutioning in description/acceptance_criteria. Naming a datastore, framework, or endpoint there is an architect/dev decision leaking in, even though the same name is correct in technical_description.

Worked Example

❌ "Add a Redis cache to the task list endpoint so it's fast."
   (HOW — names the tech; "fast" is untestable)

✅ Story: As a project member, I want the task list to load quickly,
          so that I can scan my board without waiting.
   Context: boards with 500+ tasks feel sluggish today.
   Constraint: list renders < 500ms at p95 for 1000 tasks.
   Assumption: 1000 tasks is the realistic upper bound per project.

Read the full file on GitHub · 54 lines

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. 8d ago First seen · 54 lines · 31 tokens per session scan A c3b19971e83b

Subscribe to this mod's changes

requirements-writing is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 598 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-10-05.