Create Requirements Document

VerifiedSafe

Generates a structured requirements document based on task context and project.

Sby Skills Guide Bot
DocumentationBeginner
7/27/2026
Claude CodeCursorWindsurfCopilotCodex
#requirements#specification#planning#acceptance-criteria#user-stories

Recommended for

Automated summary

Generates a structured requirements document at .specs/<name>/requirements.md from the task context and project conventions.

Strengths

  • Enforces a consistent, reusable structure (introduction, glossary, requirements, acceptance criteria)
  • Mandates testable phrasing via SHALL, WHEN-THEN and SHALL NOT
  • Explores the existing codebase so requirements match project patterns
  • Asks clarifying questions when the supplied context is too thin

Limitations

  • Produces only a requirements.md file, with no design or task breakdown
  • Output quality hinges on the user's input and on how well the codebase is explored
  • No automated check that criteria are consistent or actually verifiable
When to use it

Use it at the start of a feature or task to capture clear, verifiable requirements before design work begins.

When not to use it

Skip it for trivial fixes that a short ticket covers, or when a spec already exists and only needs editing.

Security analysis

Safe
Quality score84/100

The skill is purely a writing/templating instruction set for generating a requirements markdown file under .specs/. It declares no tools, runs no shell commands, makes no network calls, and handles no secrets or credentials. The only filesystem effect is creating a new documentation file, which is benign and reversible.

No concerns found

How this analysis is made

Examples

Nouvelle fonctionnalité d'authentification
Create a requirements document for user-authentication: email/password login plus OAuth providers, with rate limiting on failed attempts.
Spécifier une intégration de paiement
/spec:requirements payment-integration — we need to support Stripe checkout, refunds and webhook handling.
Documenter des exigences à partir d'un ticket
Generate a requirements doc named csv-export for adding CSV export to the reports page, including pagination and large file handling.

name: spec:requirements description: Create Requirements Document - generates a structured requirements document based on the task context and project

Create Requirements Document

Creates a requirements document based on the task context and project. The user provides a spec name and task description, and this command generates a structured requirements document.

When to use

Use this skill when the user needs to:

  • Create a new feature specification
  • Document requirements for a task
  • Generate a structured requirements document for planning

Instructions

Step 1: Gather Information

If the user hasn't provided sufficient context, ask them:

  1. What is the name for this specification? (used for folder name, e.g., "user-authentication", "payment-integration")
  2. What is the main goal or purpose of this feature/task?
  3. What are the key user stories or use cases?
  4. Are there any specific technical constraints or requirements?

Step 2: Analyze the Codebase

Before writing requirements:

  1. Explore the relevant parts of the codebase to understand existing patterns
  2. Identify related services, components, or modules
  3. Note any dependencies or integrations that will be affected

Step 3: Create the Requirements Document

Create the document at .specs/<spec-name>/requirements.md with this structure:

# Requirements Document

## Introduction

[Brief description of what this feature/task aims to achieve and why it's needed]

## Glossary

[Define key terms used throughout the document, formatted as:]
- **Term**: Definition

## Requirements

### Requirement 1: [Requirement Name]

**User Story:** As a [role], I want [feature] so that [benefit].

#### Acceptance Criteria

1. THE [Component] SHALL [action/behavior]
2. WHEN [condition] THEN [Component] SHALL [action/behavior]
3. THE [Component] SHALL NOT [prohibited action]

[Continue with additional requirements following the same pattern]

Writing Guidelines

  1. Use SHALL for mandatory requirements - "THE system SHALL..."
  2. Use WHEN-THEN for conditional behavior - "WHEN user clicks submit THEN system SHALL..."
  3. Use SHALL NOT for prohibitions - "THE system SHALL NOT expose..."
  4. Be specific and testable - Each criterion should be verifiable
  5. Reference existing code patterns - Align with project conventions
  6. Keep requirements atomic - One requirement per item

Step 4: Confirm with User

After creating the document, show the user:

  1. The location of the created file
  2. A summary of the requirements
  3. Ask if they want to make any changes

Arguments

This skill accepts an optional argument:

  • <args> - Can include the spec name and/or description. Parse it to extract:
    • Spec name (kebab-case, e.g., "user-auth" or "payment-flow")
    • Task description or context

If <args> is provided, use it to determine the spec name and context. If not sufficient, ask the user for clarification.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-requirements-document-ms2s7cm1/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-requirements-document-ms2s7cm1' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-requirements-document-ms2s7cm1/download' --output '.skill-downloads/create-requirements-document-ms2s7cm1/SKILL.md.part' && mv '.skill-downloads/create-requirements-document-ms2s7cm1/SKILL.md.part' '.skill-downloads/create-requirements-document-ms2s7cm1/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-requirements-document-ms2s7cm1/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills