Skip to content
Back to skills

Spec Writing

ASecurity

Writes testable specifications with user stories from a feature description. Use when a new feature needs a spec before planning.

  • 358 stars
  • 0 votes
  • 2 copies
  • 30 views
  • Added December 19, 2025
developmentgoreactapisecurityperformancedocumentation

Works with

  • api

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add athola/claude-night-market --skill spec-writing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Writing?

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

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

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
---
name: spec-writing
description: Writes testable specifications with user stories from a feature description. Use when a new feature needs a spec before planning.
alwaysApply: false
category: specification
tags:
- speckit
- specification
- requirements
- user-stories
- acceptance-criteria
dependencies:
- superpowers:brainstorming
tools: []
usage_patterns:
- feature-specification
- requirements-documentation
- user-story-creation
complexity: intermediate
estimated_tokens: 1200
progressive_loading: true
modules:
- modules/success-criteria-patterns.md
- modules/specification-structure.md
- modules/checklist-dimensions.md
- modules/spec-register.md
---
# Spec Writing

## Overview

Create clear, complete, and testable specifications from natural language feature descriptions. Specifications focus on user value and business needs, avoiding implementation details.

## When To Use

- Creating new feature specifications
- Refining existing specifications
- Writing user stories and acceptance criteria
- Defining success criteria

## When NOT To Use

- Generating implementation tasks - use task-planning

## Core Principles

Focus on user value and business needs rather than implementation details. Avoid specifying technology choices in requirement definitions unless strictly necessary. Ensure every requirement is testable and verifiable with measurable criteria. Limit clarification markers. Make informed assumptions based on industry standards and document them explicitly.

## Specification Structure

### Mandatory Sections
1. **Overview/Context**: What problem does this solve?
2. **User Scenarios**: Who uses it and how?
3. **Functional Requirements**: What must it do?
4. **Success Criteria**: How do we know it works?

### Optional Sections
- Success Criteria (when performance/security critical)
- Edge Cases (when special handling needed)
- Dependencies (when external systems involved)
- Assumptions (when decisions made with incomplete info)

**See**: `modules/specification-structure.md` for detailed templates and guidelines

## Quality Checklist

- [ ] No implementation details present
- [ ] Requirements are testable and unambiguous
- [ ] Success criteria are measurable
- [ ] User scenarios cover primary flows
- [ ] Edge cases identified
- [ ] Scope clearly bounded

## Success Criteria Quick Reference

### Good (User-focused, Measurable, Technology-agnostic)
- "Users complete checkout in under 3 minutes"
- "System supports 10,000 concurrent users"
- "95% of searches return results in under 1 second"

### Bad (Implementation-focused, Internal metrics)
- "API response time under 200ms" -> Use: "Pages load in under 2 seconds"
- "Redis cache hit rate above 80%" -> Use: "Frequently accessed data loads with no noticeable delay"
- "React components render efficiently" -> Use: "UI updates appear with no visible frame drops"

**See**: `modules/success-criteria-patterns.md` for detailed examples and conversion process

## Related Skills

- `speckit-orchestrator`: Workflow coordination
- `task-planning`: Converting specs to tasks
## Troubleshooting

### Common Issues

If specifications are too vague, use the `success-criteria-patterns`
module to enforce measurable outcomes. If implementation details leak
into specs, review against the "Core Principles" and refactor to focus
on user behavior.

## Exit Criteria

- [ ] Spec document contains all 4 mandatory sections: Overview/Context,
      User Scenarios, Functional Requirements, and Success Criteria
- [ ] All success criteria are user-focused and measurable (e.g. "Users
      complete checkout in under 3 minutes") not implementation metrics
      (e.g. "API response under 200ms")
- [ ] For a spec of a system that already exists, statements follow
      `modules/spec-register.md`: no "will", status tagged on planned
      behavior, and normative keyword case matches whether the spec
      adopts RFC 8174
- [ ] Quality checklist passes: no implementation details present,
      requirements unambiguous, edge cases identified, scope bounded
- [ ] No technology choices appear in requirements unless the spec
      explicitly marks them as strictly necessary constraints
- [ ] Each functional requirement has at least one testable acceptance
      criterion that can be verified from outside the system

Files in this skill

  • SKILL.md3 KB
  • modules/specification-structure.md7.8 KB
  • modules/success-criteria-patterns.md5 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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.