Skip to content

/spec

Start spec-driven development — write a structured specification before writing code

From plugin
addyosmani-agent-skills
94k9 skills4 agents9 commands1 hook
Install
> /plugin marketplace add addyosmani/agent-skills
> /plugin install agent-skills@addy-agent-skills

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/spec

Context preview

What this command does when you run it.

Start spec-driven development — write a structured specification before writing code

Command definition

spec.md
description: Start spec-driven development — write a structured specification before writing code

Invoke the agent-skills:spec-driven-development skill.

Begin by understanding what the user wants to build. Ask clarifying questions about: 1. The objective and target users 2. Core features and acceptance criteria 3. Tech stack preferences and constraints 4. Known boundaries (what to always do, ask first about, and never do)

Then generate a structured spec covering all six core areas: objective, commands, project structure, code style, testing strategy, and boundaries.

If the request bundles several independently testable capabilities, first propose a capability map (module ids, dependency direction, build order) per the skill's Phase 0 and get it approved, then spec each module in dependency order.

Save the spec as SPEC.md in the project root and confirm with the user before proceeding.

Ships withaddyosmani-agent-skills

Production-grade engineering skills for AI coding agents. Skills encode the workflows, quality gates, and best practices that senior engineers use when building software.

Get the whole plugin, auto-invoked

Other commands on addyosmani-agent-skills.