planning-phase

planning-phase is a skill for Claude Code from marcusgoll/Spec-Flow. It costs 59 tokens per session (5,830 once invoked), scanned A, original, MIT.

A planning workflow for turning a feature specification into a detailed implementation plan. It examines the existing code, proposes an architecture, defines data and API changes, and outlines testing work.

In plain words
What is it for?
It helps plan components, database changes, API contracts, migrations, testing, and the expected development tasks.
Why use it?
It reduces guesswork before coding and helps teams find reusable code and understand the size of a feature.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps plan components, database changes, API contracts, migrations, testing, and the expected development tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcusgoll/spec-flow/planning-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 planning-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 planning-phase

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcusgoll/spec-flow/planning-phase/github.svg)](https://agentmods.dev/skills/marcusgoll/spec-flow/planning-phase)
Your own site
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/planning-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/planning-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 planning-phase

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/planning-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/planning-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,830 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.00059 $0.05830
Opus 5.5 $0.00024 $0.02332
Sonnet 5.5 $0.00012 $0.01166
Haiku 4.5 $0.00006 $0.00583

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

Security

Grade A, and why

planning-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/planning-phase/SKILL.md · 827 lines

How it starts

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

This skill orchestrates the /plan phase, which runs after /spec (or /clarify) and before /tasks in the feature workflow.

Core responsibilities:

  • Load all 8 project documentation files from docs/project/ for constraint extraction
  • Search codebase for similar features and reusable components (expect 5-15 opportunities)
  • Design architecture with components, layers, and design patterns
  • Plan data model with entities, relationships, and migrations
  • Define API contracts in OpenAPI format (if applicable)
  • Plan testing strategy (unit, integration, E2E)
  • Estimate complexity (20-30 tasks predicted)

Inputs: spec.md (feature specification), docs/project/*.md (8 files), existing codebase Outputs: plan.md (implementation plan), research.md (reuse findings and project context) Expected duration: 1-3 hours

<quick_start> Execute planning workflow systematically:

  1. Load Project Documentation - Read all 8 docs/project/*.md files for constraints (tech stack, architecture, data model, API patterns)
  2. Research Code Reuse - Search codebase before designing (expect 5-15 reuse opportunities)
  3. Design Architecture - Components, layers, design patterns (MVC, Repository, etc.)
  4. Plan Data Model - Entities, relationships, ERD diagram, migrations
  5. Define API Contracts - Endpoints, schemas, validation (OpenAPI format if applicable)
  6. Plan Testing Strategy - Unit, integration, E2E coverage with specific test types
  7. Estimate Complexity - Predict 20-30 tasks based on feature scope

Key principle: Research before designing. Maximize code reuse. Align with project documentation.

See resources/ directory for detailed workflows on each step. </quick_start>

If specification incomplete, return to /spec or /clarify phase.

Read all 8 project documentation files for constraint extraction.

Files to load (from docs/project/):

  • overview.md - Vision, users, scope, success metrics
  • system-architecture.md - C4 diagrams, components, data flows
  • tech-stack.md - Database, frontend, backend, deployment platform
  • data-architecture.md - ERD, entity schemas, storage strategy
  • api-strategy.md - REST/GraphQL patterns, auth, versioning
  • capacity-planning.md - Scaling tier, cost model
  • deployment-strategy.md - CI/CD pipeline, environments
  • development-workflow.md - Git flow, PR process, testing strategy

Extraction process:

# Read all 8 project docs
for doc in docs/project/*.md; do
  echo "Reading: $doc"
  cat "$doc"
done

# Extract key constraints
TECH_STACK=$(grep -A 20 "Technology Stack" docs/project/tech-stack.md)
DATABASE=$(grep -A 5 "Database" docs/project/tech-stack.md)
ARCHITECTURE=$(grep -A 10 "Architecture Style" docs/project/system-architecture.md)
API_STYLE=$(grep -A 5 "API Style" docs/project/api-strategy.md)

Brownfield fallback (if docs/project/ missing):

  • Scan package.json, requirements.txt for tech stack
  • Analyze existing database migrations for data model
  • Review existing API routes for patterns
  • Infer architecture from directory structure

Output: Document constraints in research.md under "Project Context" section

See resources/project-docs-integration.md for complete extraction workflow.

Search codebase for similar features and reusable components before designing.

Search strategy:

# Search for similar features (by name similarity)
grep -r "authentication" src/
grep -r "user profile" src/
grep -r "dashboard" src/

# Search for reusable components (by function)
grep -r "class.*Service" src/  # Service layer
grep -r "export.*Repository" src/  # Repository pattern
grep -r "function validate" src/  # Validation utilities
grep -r "export.*schema" src/  # Data schemas

Read the full file on GitHub · 827 lines

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 · 827 lines · 59 tokens per session scan A 606a0c3d73d4

Subscribe to this mod's changes

planning-phase is a skill published in the GitHub repository marcusgoll/Spec-Flow (96 stars, last pushed 23d ago), licensed MIT. It adds 59 tokens to every session and 5,830 once invoked, about $0.0002 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.