spec-best-practices

Official

Create clear, testable SPEC.md files

Authorawfixers-stuff
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guidance reduces drift and ambiguity in project specifications by prescribing how to author, place, and maintain SPEC.md files so that behavior, requirements, and acceptance criteria remain discoverable, testable, and aligned with implementation.

Core Features & Use Cases

  • Naming & placement rules: mandates a single root SPEC.md per scope and colocated placement for project, app, and package-level specs.
  • Content checklist: requires Problem and solution, Domain model, REQ-* identifiers, Invariants, Non-goals, Acceptance criteria checklists, and conditional risk tags and test traceability.
  • Lifecycle & mutation policy: advises evidence-based authoring, retroactive spec practices, mutation rules, and retirement guidance; useful when running specalign or entering the SPEC gate.
  • Use case: during a SPEC gate review, run this checklist to surface missing REQ IDs, absent acceptance criteria, or spec/code drift before approval.

Quick Start

Use this guidance to review the SPEC.md at the target path and produce a checklist of missing required sections, REQ-* identifiers, and any drift between the spec and implementation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spec-best-practices
Download link: https://github.com/awfixers-stuff/opencode-config/archive/main.zip#spec-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.