spec-requirements

Generate comprehensive requirements definition documents with technology selection and improvement suggestions

16 stars

Best use case

spec-requirements is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate comprehensive requirements definition documents with technology selection and improvement suggestions

Teams using spec-requirements should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/spec-requirements/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/spec-requirements/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/spec-requirements/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How spec-requirements Compares

Feature / Agentspec-requirementsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate comprehensive requirements definition documents with technology selection and improvement suggestions

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Spec Requirements

Generate comprehensive requirements definition documents with technology selection, improvement suggestions, and EARS format acceptance criteria.

## Usage

```bash
/spec:requirements <system_name> [options]
```

## Options

| Option | Short | Description | Example |
|--------|-------|-------------|---------|
| `--mode` | `-m` | Mode (new-creation/reverse-engineering) | `-m reverse-engineering` |
| `--backlog` | `-b` | Enable product backlog format | `--backlog` |
| `--epic` | `-e` | Epic name for backlog structure | `-e "User Management Epic"` |
| `--story-points` | | Include story point estimation | `--story-points` |
| `--app` | `-a` | Application name | `-a "Web Store"` |
| `--function` | `-f` | Function/feature name | `-f "Authentication"` |
| `--output` | `-o` | Output file path | `-o specs.md` |
| `--tech` | `-t` | Technology stack | `-t "react,nodejs,postgresql"` |
| `--priority` | `-p` | Priority level (low/medium/high/critical) | `-p high` |
| `--scope` | `-s` | Scope type (mvp/full/enterprise) | `-s mvp` |
| `--suggest` | | Include improvement suggestions | `--suggest` |
| `--examples` | | Include implementation examples | `--examples` |
| `--template` | | Template type | `--template agile` |
| `--hearing` | | Interactive clarification mode | `--hearing` |

## Templates

| Template | Description |
|----------|-------------|
| `standard` | General purpose with EARS format |
| `agile` | User story format with acceptance criteria |
| `waterfall` | Detailed specification document |
| `product-backlog` | Full backlog with epics, features, stories |

## Tool Priorities

**ALWAYS prioritize mcp__serena__ tools:**

### File Operations (Serena MCP First)
- `mcp__serena__find_file` → `Read` (fallback)
- `mcp__serena__search_for_pattern` → `Grep` (fallback)
- `mcp__serena__list_dir` → `LS` (fallback)

### Code Analysis (Serena MCP)
- `mcp__serena__get_symbols_overview`
- `mcp__serena__find_referencing_symbols`

### Context7 Integration
For technology documentation:
- Frontend: React, Vue, Angular
- Backend: Node.js, Express, FastAPI
- Database: PostgreSQL, MongoDB, Redis

## Modes

### New Creation Mode (Default)
Generate requirements from specifications and user input.

### Reverse Engineering Mode
Analyze existing codebase to extract requirements:
1. Component Discovery (controllers, services, models)
2. Feature Extraction (user-facing functionality)
3. User Story Generation (features to stories)

## EARS Format

Acceptance criteria use EARS (Easy Approach to Requirements Syntax):
- WHEN [event] THEN [system] SHALL [response]
- IF [precondition] THEN [system] SHALL [response]
- WHILE [condition] THE SYSTEM SHALL [behavior]
- WHERE [context] THE SYSTEM SHALL [behavior]

## Examples

```bash
# Basic requirements
/spec:requirements "E-commerce Platform" -a "Web Store" -t "react,nodejs"

# MVP with suggestions
/spec:requirements "Social Media App" -s mvp --suggest

# Interactive hearing mode
/spec:requirements "Mobile App" --hearing

# Reverse engineering with backlog
/spec:requirements "User Management" -m reverse-engineering -b -e "Auth Epic"

# Full enterprise with examples
/spec:requirements "CRM System" -s enterprise -t "react,nodejs,postgresql" --examples
```

## Output Structure

1. **Header Information**: Timestamp, system name, priority, scope
2. **Functional Requirements**: Core features, user scenarios (EARS format)
3. **Non-Functional Requirements**: Performance, security, availability
4. **Technical Specifications**: Architecture, tech stack, integrations
5. **Additional Sections**: Examples, suggestions (if enabled)

Related Skills

typescript-sdk-specialist

16
from diegosouzapw/awesome-omni-skill

TypeScript SDK development with Node.js and browser support. Design SDK architecture, implement type-safe API clients, support ESM and CommonJS modules, and configure bundling for browsers.

tipalti-integration-specialist

16
from diegosouzapw/awesome-omni-skill

Tipalti payment integration guide for payee onboarding, payment processing, webhooks, and tax compliance. Use when implementing payment features.

tech-specification

16
from diegosouzapw/awesome-omni-skill

The master skill for generating technical specifications. Identifies project technology and delegates deep analysis to specialized sub-skills.

specs-status

16
from diegosouzapw/awesome-omni-skill

현재 프로젝트의 EARS 스펙 상태 현황 표시

speckit-00-constitution

16
from diegosouzapw/awesome-omni-skill

Create or update project governance principles and constitution

specialist-desenvolvimento-frontend

16
from diegosouzapw/awesome-omni-skill

Especialista em desenvolvimento frontend com componentes, pages e hooks alinhados com design e API.

spec-workflow

16
from diegosouzapw/awesome-omni-skill

Standard software engineering workflow for requirement analysis, technical design, and task planning. Use this skill when developing new features, complex architecture designs, multi-module integrations, or projects involving database/UI design.

spec-workflow-orchestrator

16
from diegosouzapw/awesome-omni-skill

Orchestrate comprehensive planning phase from ideation to development-ready specifications using 4 specialized agents

spec-driven-development

16
from diegosouzapw/awesome-omni-skill

Guide for implementing Specification-Driven Development in any project using GitHub's spec-kit. Use when users want to start spec-driven development, need to initialize spec-kit in a project, or want guidance on the spec-kit workflow (constitution, specify, clarify, plan, tasks, implement). Covers installation, initialization, and step-by-step prompts for each phase.

spec-builder

16
from diegosouzapw/awesome-omni-skill

Transform vague product or feature ideas into concrete, detailed specification documents through an interactive interview process. Use when the user wants to flesh out an idea, create a spec, write requirements, plan a product/feature/prototype, or go from "I have this idea..." to a concrete document. Works for software products, physical products, services, or any concept that needs specification.

spec-author

16
from diegosouzapw/awesome-omni-skill

Writes or revises a feature specification with user stories and acceptance tests for this Next.js + FastAPI project. Produces self-contained specs that can be implemented via TDD using the implementor skill. Invoked by the spec-writer orchestrator, not directly.

sparc-specification

16
from diegosouzapw/awesome-omni-skill

SPARC Specification phase specialist for requirements analysis, constraint identification, use case definition, and acceptance criteria creation