/ Annuaire / Playground / spec-flow
● Communauté echoVic ⚡ Instantané

spec-flow

par echoVic · echoVic/spec-flow

Forces Claude Code through a 5-phase spec-driven workflow — Proposal, Requirements (EARS), Design, Tasks, Implementation — with living docs in .spec-flow/.

Spec-Flow is a skill that structures feature development as a gated pipeline. Each phase produces a Markdown artifact and pauses for your confirmation. Triggers include 'spec-flow', 'spec mode', 'need a plan', plus Chinese phrases '写个方案' and '做个规划'. Supports --fast (skip confirmations) and --skip-design flags.

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

spec-flow-skill.replay ▶ prêt
0/0

Installer

Choisissez votre client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "spec-flow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/echoVic/spec-flow",
        "~/.claude/skills/spec-flow"
      ],
      "_inferred": true
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "spec-flow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/echoVic/spec-flow",
        "~/.claude/skills/spec-flow"
      ],
      "_inferred": true
    }
  }
}

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "spec-flow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/echoVic/spec-flow",
        "~/.claude/skills/spec-flow"
      ],
      "_inferred": true
    }
  }
}

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "spec-flow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/echoVic/spec-flow",
        "~/.claude/skills/spec-flow"
      ],
      "_inferred": true
    }
  }
}

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "spec-flow-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/echoVic/spec-flow",
        "~/.claude/skills/spec-flow"
      ]
    }
  ]
}

Continue utilise un tableau d'objets serveur plutôt qu'une map.

~/.config/zed/settings.json
{
  "context_servers": {
    "spec-flow-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/echoVic/spec-flow",
          "~/.claude/skills/spec-flow"
        ]
      }
    }
  }
}

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

claude mcp add spec-flow-skill -- git clone https://github.com/echoVic/spec-flow ~/.claude/skills/spec-flow

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : spec-flow

Turn a vague feature idea into a documented spec and implementation

👤 Engineers pushing back against 'just start coding' ⏱ ~60 min intermediate

Quand l'utiliser : PM handed you a one-liner and you'd rather spend 20 minutes writing a spec than 2 days writing the wrong code.

Prérequis
  • Skill cloned to ~/.claude/skills/spec-flow — git clone https://github.com/echoVic/spec-flow ~/.claude/skills/spec-flow
Déroulement
  1. Invoke the workflow
    spec-flow: add multi-region failover to our billing service.✓ Copié
    → Claude writes .spec-flow/proposal.md and waits for confirmation
  2. Confirm or edit each phase
    Proposal looks good — proceed to requirements.✓ Copié
    → requirements.md appears with EARS-format statements
  3. Implement from the task list
    Start the implementation phase. Work through tasks.md top-to-bottom.✓ Copié
    → Code changes that map 1:1 to task checkboxes

Résultat : A feature ships with the spec still alive in .spec-flow/ — future you can see why every decision happened.

Pièges
  • You're hacking a 10-minute fix and the skill adds 4 gates — Use --fast or just skip the skill for trivial work
Combiner avec : github · filesystem

Reverse-engineer a spec for existing code before refactoring

👤 Engineers inheriting undocumented modules ⏱ ~45 min intermediate

Quand l'utiliser : About to refactor something nobody wrote a spec for.

Déroulement
  1. Ask Spec-Flow to backfill
    spec-flow --skip-design: backfill proposal and requirements.md for the existing src/auth module.✓ Copié
    → Clean EARS requirements extracted from actual code behavior
  2. Use the spec as refactor target
    Now design phase — how would we restructure while preserving these requirements?✓ Copié
    → design.md that maps new architecture to existing requirements

Résultat : A refactor grounded in a written contract instead of tribal knowledge.

Combiner avec : filesystem

Combinaisons

Associez-le à d'autres MCPs pour un effet X10

spec-flow-skill + github

Commit .spec-flow/ artifacts alongside code so the spec lives in the repo history

After implementation, commit .spec-flow/ + src/ changes in one PR titled after the proposal.✓ Copié
spec-flow-skill + planning-with-files

Spec-Flow drives phase structure; planning-with-files keeps cross-session progress memory

Use spec-flow for the phases and planning-with-files for progress.md tracking across days.✓ Copié

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
proposal_phase feature description Start of a new feature 0
requirements_phase approved proposal After proposal confirmed 0
design_phase approved requirements After requirements confirmed; skippable with --skip-design 0
tasks_phase approved design Before implementation 0
implementation_phase approved tasks Final phase — actually build it 0

Coût et limites

Coût d'exécution

Quota d'API
None
Tokens par appel
Each phase re-reads prior .spec-flow/ docs, so context grows across phases
Monétaire
Free — skills are local files
Astuce
Use --fast on simple features; gates only earn their keep on 2+ day work.

Sécurité

Permissions, secrets, portée

Stockage des identifiants : No credentials — pure prompts
Sortie de données : None — .spec-flow/ stays in your working directory

Dépannage

Erreurs courantes et correctifs

Skill not invoked — Claude codes without writing proposal.md

Use one of the trigger phrases exactly: 'spec-flow', 'spec mode', 'need a plan', '写个方案'.

Vérifier : ls ~/.claude/skills/spec-flow/SKILL.md
SKILL.md frontmatter wrong

Re-clone the repo; description is what drives auto-activation.

Vérifier : head ~/.claude/skills/spec-flow/SKILL.md
Wrong trigger keywords — Claude skips phases

Don't say '--fast' unintentionally. If you want full gates, omit flags and say 'spec-flow'.

Alternatives

spec-flow vs autres

AlternativeQuand l'utiliserCompromis
planning-with-filesYou want durable memory across sessions rather than phase gatingDifferent axis — complementary, not competing
Freeform devFeature is 1-2 hours of workFaster, but no audit trail

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills