skill-spec-drafting

Drafts implementation-independent behavioral specifications with observable acceptance criteria before planning.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/longdang193/project-OS-starter --skill skill-spec-drafting-longdang193
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-spec-drafting
Source: https://github.com/longdang193/project-OS-starter/tree/main/generated_agents/claude/skills/skill-spec-drafting
Command: npx skills add https://github.com/longdang193/project-OS-starter --skill skill-spec-drafting-longdang193

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often jump from a rough idea or diagnosed bug straight into coding, producing conflicting implementations and missed edge cases. This Skill turns an understood problem, approved direction, or verified root cause into a precise behavioral and design specification before any implementation planning begins. ## Core Features & Use Cases - Structured Specification Process: Eleven-step workflow covering problem definition, current-state inspection, scope, required outcomes, behavioral contracts, design decisions, invariants, migration risk, and acceptance criteria. - Draft-to-Final Lifecycle: Manages draft specifications with prototype evidence, then promotes them in place to detailed active specifications using defined templates and status transitions (proposed, active, completed, superseded). - Evidence Discipline: Separates verified facts, assumptions, and unresolved questions, and blocks promotion when behavior-changing questions remain open. - Use Case: After debugging identifies the root cause of a data-sync defect, use this Skill to specify the corrected behavior, compatibility boundary, and acceptance criteria before handing off to plan writing. ## Quick Start Ask the agent to draft a specification for the approved feature direction, defining required behavior, design decisions, and acceptance criteria before implementation planning.

Frequently Asked Questions about skill-spec-drafting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a software specification before implementation?▼

Follow the eleven-step process: establish the problem and goal, inspect current state, define scope and non-goals, then specify required outcomes, behavioral contracts, design decisions, invariants, migration risk, and observable acceptance criteria. Save the result using the detailed specification template under the specs directory.

When should I draft a specification versus skipping it?▼

Draft a specification when behavior, interfaces, data contracts, state transitions, or migrations must be defined before implementation, or when work is cross-cutting or expensive to reverse. Skip it when the change is local, reversible, design-clear, and safely executable without a specification.

What is the difference between a draft and detailed specification?▼

A draft specification (status: proposed) is used while behavior or design still needs prototype validation. After explicit approval and completion of post-approval inputs, the same file is promoted in place to a detailed specification (status: active) using the detailed template.

Can a specification include implementation tasks and file lists?▼

No. The specification owns problem, behavior, contracts, design decisions, and acceptance intent. Exact files, task order, commands, dependencies, and rollout steps belong to the implementation plan, which is produced later by the plan-writing skill.

What blocks a specification from becoming active?▼

Unresolved questions that change required behavior or design block activation. Non-blocking deferrals need durable approval evidence with an owner or trigger, and required post-approval inputs such as Design Export evidence must be complete before promotion.