Skip to content
Back to skills

Spec Writer

ASecurity

Write and refine high-quality functional/technical specifications, user stories, and delta specs for consumption by AI agents.

  • 26 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 7, 2026
development

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add PolyXGO/HeraSpec --skill spec-writer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Writer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Writer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/polyxgo-spec-writer/badge)](https://www.skillsdirectory.com/skills/polyxgo-spec-writer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Skill: Specification Writing (Cross-Cutting)

## Purpose

Write and refine high-quality functional/technical specifications, user stories, and delta specs for consumption by AI agents.

## When to Use

- When starting a new feature change (Step 1 of the HeraSpec workflow)
- When converting high-level business ideas into structured technical specs
- When refining delta specs during parallel merge validation

## Step-by-Step Process

### Step 1: Define User Story & Scenarios
- Structure the core requirement as a User Story (As a... I want to... So that...)
- Formulate behavioral scenarios using GIVEN-WHEN-THEN syntax (Gherkin style)
- Define happy paths, error paths, and edge cases

### Step 2: Structure metadata
- Specify target components, domains, and technical stacks
- Verify requirements match the architectural conventions defined in `project.md`

### Step-3: Write Delta Spec
- Segment new, modified, and removed requirements clearly:
  - `## ADDED Requirements`
  - `## MODIFIED Requirements` (must specify the exact Before vs. After states)
  - `## REMOVED Requirements`

## Required Input

- Business requirement description or user prompt
- Technical stack metadata from `project.md`

## Expected Output

- Clean markdown specification following the HeraSpec format
- Complete Delta Spec with GIVEN-WHEN-THEN scenarios

## Tone & Rules

- Be extremely precise. Avoid ambiguous language like "user-friendly" or "fast".
- Always define exact failure states (e.g. "returns 401 Unauthorized" instead of "shows error").
- Scenarios MUST be testable and actionable.

## Available Templates

- None

## Available Scripts

- None

## Examples

See `examples/` directory.

## Links to Other Skills

- **documents**: Use to format the specifications into product manuals.
- **suggestion**: Use to identify gaps in existing specs.

Files in this skill

  • skill.md1.8 KB
  • skill.vi.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…