project-initialization-phase

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

A project setup workflow that creates shared documentation for a new or existing codebase. It asks about the product and scans existing code to document the technology, architecture, data, APIs, capacity, deployment, and working process.

In plain words
What is it for?
It helps initialize projects, inspect existing applications, generate project documents, and identify unresolved questions.
Why use it?
It gives future development work a common reference point instead of relying on scattered or undocumented assumptions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; positional $N argument.

Good fit It helps initialize projects, inspect existing applications, generate project documents, and identify unresolved questions.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/project-initialization-phase"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/project-initialization-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,020 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.00088 $0.06020
Opus 5.5 $0.00035 $0.02408
Sonnet 5.5 $0.00018 $0.01204
Haiku 4.5 $0.00009 $0.00602

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

Security

Grade A, and why

project-initialization-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/project-initialization-phase/SKILL.md · 703 lines

How it starts

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

This skill orchestrates one-time project setup, producing foundation documentation that all features must align with.

Core responsibilities:

  • Detect project type (greenfield vs brownfield)
  • Run interactive questionnaire (15 questions covering vision, scale, tech stack, constraints)
  • Scan existing codebase (if brownfield) to auto-fill docs
  • Launch project-architect agent to generate 8 documentation files
  • Validate cross-document consistency
  • Present summary with [NEEDS CLARIFICATION] count

Inputs: User answers (15 questions), existing codebase (if brownfield), templates from .spec-flow/templates/project/ Outputs: 8 markdown files in docs/project/ (overview, architecture, tech-stack, data, API, capacity, deployment, workflow) Expected duration: 15-20 minutes (10 min questions + 5-10 min generation/review)

<quick_start> Execute /init-project workflow in 6 steps:

  1. Detect project type - Check for package.json, requirements.txt, etc. (greenfield vs brownfield)
  2. Interactive questionnaire - Ask 15 questions (project name, vision, scale, tech stack, constraints)
  3. Brownfield scanning (if applicable) - Auto-detect tech stack, ERD from migrations, architecture pattern
  4. Launch project-architect agent - Generate 8 docs from templates + answers + scan results
  5. Validate documentation - Verify all 8 files exist, [NEEDS CLARIFICATION] count < 20, Mermaid diagrams present
  6. Summary report - Show coverage (greenfield: 70% filled, brownfield: 80% filled), next steps

Key principle: Mark unknowns with [NEEDS CLARIFICATION] instead of hallucinating. </quick_start>

<success_criteria> Project initialization phase complete when:

  • All 8 files generated in docs/project/ (overview, system-architecture, tech-stack, data-architecture, api-strategy, capacity-planning, deployment-strategy, development-workflow)
  • [NEEDS CLARIFICATION] count < 20 (indicates good coverage from questionnaire/scan)
  • Mermaid diagrams present and valid (C4 in system-architecture, ERD in data-architecture)
  • Cross-document consistency validated (tech stack, database, deployment model aligned)
  • Tech stack accurately detected (brownfield only)
  • User informed of next steps (review docs, fill clarifications, commit)

If [NEEDS CLARIFICATION] count > 30, re-run questionnaire with more detailed answers or manually fill post-generation. </success_criteria>

Knowledge requirements:

  • Understanding of greenfield vs brownfield projects
  • Familiarity with tech stack detection strategies (package.json, requirements.txt parsing)
  • ERD generation from database migrations (Alembic, Prisma)
  • Cross-document consistency validation patterns

Before running: ⚠️ WARNING: /init-project generates 8 files in docs/project/. If directory already exists, offer user to:

  • A) Backup existing docs to docs/project-backup-{timestamp}/
  • B) Append to existing docs (merge new sections)
  • C) Abort (user will manually update)

Determine if starting from scratch (greenfield) or with existing codebase (brownfield).

Detection Logic:

# Check for existing codebase indicators
if [ -f "package.json" ]; then
  PROJECT_TYPE="brownfield"
  TECH_DETECTED="Node.js"
elif [ -f "requirements.txt" ] || [ -f "pyproject.toml" ]; then
  PROJECT_TYPE="brownfield"
  TECH_DETECTED="Python"
elif [ -f "Cargo.toml" ]; then
  PROJECT_TYPE="brownfield"
  TECH_DETECTED="Rust"
elif [ -f "go.mod" ]; then
  PROJECT_TYPE="brownfield"
  TECH_DETECTED="Go"
elif [ -f "Gemfile" ]; then
  PROJECT_TYPE="brownfield"
  TECH_DETECTED="Ruby"
else
  PROJECT_TYPE="greenfield"
fi

Read the full file on GitHub · 703 lines

Files

What ships with it

1 file 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 · 703 lines · 88 tokens per session scan A f45de4d346e7

Subscribe to this mod's changes

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