specification-phase

specification-phase is a skill for Claude Code from marcusgoll/Spec-Flow. It costs 86 tokens per session (6,166 once invoked), scanned A, original, MIT.

A feature-planning workflow that turns an idea into a written specification before implementation begins. It classifies the work, checks project context, asks limited clarifying questions, and defines measurable success criteria.

In plain words
What is it for?
It helps create feature specifications, decide how much research is needed, and connect planned work to the project roadmap.
Why use it?
It makes the requested behavior and scope clear before design and coding start.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit It helps create feature specifications, decide how much research is needed, and connect planned work to the project roadmap.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcusgoll/spec-flow/specification-phase
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add marcusgoll/Spec-Flow --skill specification-phase
Clone the repo
git clone --depth 1 https://github.com/marcusgoll/Spec-Flow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for specification-phase

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcusgoll/spec-flow/specification-phase/github.svg)](https://agentmods.dev/skills/marcusgoll/spec-flow/specification-phase)
Your own site
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/specification-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/specification-phase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for specification-phase

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/specification-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/specification-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.06166
Opus 5.5 $0.00034 $0.02466
Sonnet 5.5 $0.00017 $0.01233
Haiku 4.5 $0.00009 $0.00617

Measured 1mo ago against content hash 60d8cae2a8e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

specification-phase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/specification-phase/SKILL.md · 739 lines

How it starts

The opening of the file, as written. The whole thing — 739 lines — stays where its author put it; the contents beside it link to each section on GitHub.

This skill orchestrates the /specify phase, producing spec.md with measurable success criteria, classification flags for downstream workflows, and maximum 3 clarifications using informed guess heuristics for technical defaults.

Core responsibilities:

  • Parse and normalize feature input to slug format (kebab-case, no filler words)
  • Check roadmap integration to reuse existing context
  • Load project documentation context (docs/project/) to prevent hallucination
  • Classify feature with 4 flags (HAS_UI, IS_IMPROVEMENT, HAS_METRICS, HAS_DEPLOYMENT_IMPACT)
  • Determine research depth based on complexity (FLAG_COUNT: 0→minimal, 1→standard, ≥2→full)
  • Apply informed guess strategy for non-critical technical decisions
  • Generate ≤3 clarifications (only scope/security critical)
  • Write measurable success criteria (quantifiable, user-facing)

Inputs: User's feature description, existing roadmap entries, project docs (if exists), codebase context Outputs: specs/NNN-slug/spec.md, NOTES.md, state.yaml, updated roadmap (if FROM_ROADMAP=true) Expected duration: 10-15 minutes

<quick_start> Execute /specify workflow in 9 steps:

  1. Parse and normalize input - Generate slug (remove filler words: "add", "create", "we want to"), assign feature number (NNN)
  2. Check roadmap integration - Search roadmap for slug match, reuse context if found (saves ~10 minutes)
  3. Load project documentation - Extract tech stack, API patterns, existing entities from docs/project/ (prevents hallucination)
  4. Classify feature - Set HAS_UI, IS_IMPROVEMENT, HAS_METRICS, HAS_DEPLOYMENT_IMPACT flags using decision tree
  5. Determine research depth - FLAG_COUNT → minimal (0), standard (1), full (≥2)
  6. Apply informed guess strategy - Use defaults for performance (<500ms), rate limits (100/min), auth (OAuth2), retention (90d logs)
  7. Generate clarifications - Max 3 critical clarifications (scope > security > UX > technical priority matrix)
  8. Write success criteria - Measurable, quantifiable, user-facing outcomes (not tech-specific)
  9. Generate artifacts and commit - Create spec.md, NOTES.md, state.yaml, update roadmap

Key principle: Use informed guesses for non-critical decisions, document assumptions, limit clarifications to ≤3. </quick_start>

<knowledge_requirements> Required understanding before execution:

  • Classification decision tree: UI keywords vs backend-only exclusions, improvement = baseline + target, metrics = user tracking, deployment = env vars/migrations/breaking changes
  • Informed guess heuristics: Performance (<500ms), retention (90d logs, 365d analytics), rate limits (100/min), auth (OAuth2), error handling (user-friendly + error ID)
  • Clarification prioritization matrix: Critical (scope, security, breaking changes) > High (UX) > Medium (performance SLA, tech stack) > Low (error messages, rate limits)
  • Slug generation rules: Remove filler words, lowercase kebab-case, 50 char limit, fuzzy match roadmap

See reference.md for complete decision trees and heuristics. </knowledge_requirements>

Read the full file on GitHub · 739 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 739 lines · 86 tokens per session scan A 60d8cae2a8e7

Subscribe to this mod's changes

specification-phase is a skill published in the GitHub repository marcusgoll/Spec-Flow (96 stars, last pushed 23d ago), licensed MIT. It adds 86 tokens to every session and 6,166 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.