Spec writing

From athola/claude-night-market · View interactive version

Spec writing is an AI agent skill from the GitHub repository athola/claude-night-market. Creates clear, testable specifications from feature descriptions with user stories. Use when starting a new feature and needing a spec before planning.

How to use this skill

Skill file

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

When NOT To Use

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

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

Quality Checklist

Success Criteria Quick Reference

Good (User-focused, Measurable, Technology-agnostic)

Bad (Implementation-focused, Internal metrics)

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

Related Skills

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

User Scenarios, Functional Requirements, and Success Criteria

complete checkout in under 3 minutes") not implementation metrics

(e.g. "API response under 200ms")

modules/spec-register.md: no "will", status tagged on planned

behavior, and normative keyword case matches whether the spec

adopts RFC 8174

requirements unambiguous, edge cases identified, scope bounded

explicitly marks them as strictly necessary constraints

criterion that can be verified from outside the system

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.