Skip to content
Development
Skill

/project-stage-detect

Analyzes existing project artifacts to detect development stage, identify documentation gaps, and recommend next steps. Use when starting a new session on an existing project, or when the user mentions project analysis, stage detection, or gap analysis.

From plugin
software-development-department
74116 skills28 agents1 MCP

Claude Code

$ npx -y skills add tranhieutt/software_development_department --skill project-stage-detect --agent claude-code

SKILL.md

project-stage-detect.SKILL.md
name: project-stage-detect
type: workflow
description: "Analyzes existing project artifacts to detect development stage, identify documentation gaps, and recommend next steps. Use when starting a new session on an existing project, or when the user mentions project analysis, stage detection, or gap analysis."
argument-hint: "[optional: role filter like 'programmer' or 'designer']"
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash
effort: 3
when_to_use: "Use when starting a session on an existing project, onboarding to a codebase, or checking what documentation gaps exist before a milestone."

Project Stage Detection

This skill scans your project to determine its current development stage, completeness of artifacts, and gaps that need attention. It's especially useful when:

  • Starting with an existing project
  • Onboarding to a codebase
  • Checking what's missing before a milestone
  • Understanding "where are we?"

---

Workflow

1. Scan Key Directories

Analyze project structure and content:

**Design Documentation** (`design/`):

  • Count PRD files in `design/docs/*.md`
  • Check for product-concept.md, product-pillars.md, systems-index.md
  • If systems-index.md exists, count total systems vs. designed systems
  • Analyze completeness (Overview, Detailed Design, Edge Cases, etc.)
  • Count narrative docs in `design/narrative/`
  • Count level designs in `design/specs/`

**Source Code** (`src/`):

  • Count source files (language-agnostic)
  • Identify major systems (directories with 5+ files)
  • Check for core/, business/, ai/, networking/, ui/ directories
  • Estimate lines of code (rough scale)

**Production Artifacts** (`production/`):

  • Check for active sprint plans
  • Look for milestone definitions
  • Find roadmap documents

**Prototypes** (`prototypes/`):

  • Count prototype directories
  • Check for READMEs (documented vs undocumented)
  • Assess if prototypes are archived or active

**Architecture Docs** (`docs/architecture/`):

  • Count ADRs (Architecture Decision Records)
  • Check for overview/index documents

**Tests** (`tests/`):

  • Count test files
  • Estimate test coverage (rough heuristic)

2. Classify Project Stage

Based on scanned artifacts, determine stage. Check `production/stage.txt` first — if it exists, use its value (explicit override from `/gate-check`). Otherwise, auto-detect using these heuristics (check from most-advanced backward):

| Stage | Indicators | | ----- | ---------- | | **Concept** | No product concept doc, brainstorming phase | | **Systems Design** | Product concept exists, systems index missing or incomplete | | **Technical Setup** | Systems index exists, engine not configured | | **Pre-Production** | Engine configured, `src/` has <10 source files | | **Production** | `src/` has 10+ source files, active development | | **Polish** | Explicit only (set by `/gate-check` Production → Polish gate) | | **Release** | Explicit only (set by `/gate-check` Polish → Release gate) |

3. Collaborative Gap Identification

**DO NOT** just list missing files. Instead, **ask clarifying questions**:

  • "I see combat code (`src/api/auth/`) but no `design/docs/combat-system.md`. Was this prototyped first, or should we reverse-document?"
  • "You have 15 ADRs but no architecture overview. Should I create one to help new contributors?"
  • "No sprint plans in `production/`. Are you tracking work elsewhere (Jira, Trello, etc.)?"
  • "I found a product concept but no systems index. Have you decomposed the concept into individual systems yet, or should we run `/map-systems`?"
  • "Prototypes directory has 3 projects with no READMEs. Were these experiments, or do they need documentation?"

4. Generate Stage Report

Use template: `.claude/docs/templates/project-stage-report.md`

**Report structure**:

# Project Stage Analysis

**Date**: [date]
**Stage**: [Concept/Systems Design/Technical Setup/Pre-Production/Production/Polish/Release]

## Completeness Overview
- Design: [X%] ([N] docs, [gaps])
- Code: [X%] ([N] files, [systems])
- Architecture: [X%] ([N] ADRs, [gaps])
- Production: [X%] ([status])
- Tests: [X%] ([coverage estimate])

## Gaps Identified
1. [Gap description + clarifying question]
2. [Gap description + clarifying question]

## Recommended Next Steps
[Priority-ordered list based on stage and role]

5. Role-Filtered Recommendations (Optional)

If user provided a role argument (e.g., `/project-stage-detect programmer`):

**Programmer**:

  • Focus on architecture docs, test coverage, missing ADRs
  • Code-to-docs gaps

**Designer**:

  • Focus on PRD completeness, missing design sections
  • Prototype documentation

**Producer**:

  • Focus on sprint plans, milestone tracking, roadmap
  • Cross-team coordination docs

**General** (no role):

  • Holistic view of all gaps
  • Highest-priority items across domains

6. Request Approval Before Writing

**Collaborative protocol**:

I've analyzed your project. Here's what I found:

[Show summary]

Gaps identified:
1. [Gap 1 + question]
2. [Gap 2 + question]

Recommended next steps:
- [Priority 1]
- [Priority 2]
- [Priority 3]

May I write the full stage analysis to production/project-stage-report.md?

Wait for user approval before creating the file.

---

Example Usage

# General project analysis
/project-stage-detect

# Programmer-focused analysis
/project-stage-detect programmer

# Designer-focused analysis
/project-stage-detect designer

---

Follow-Up Actions

After generating the report, suggest relevant next steps:

  • **Concept exists but no systems index?** → `/map-systems` to decompose into systems
  • **Missing design docs?** → `/reverse-document design src/[system]`
  • **Missing architecture docs?** → `/architecture-decision-records` or `/reverse-document architecture`
  • **Prototypes need documentation?** → `/reverse-document concept prototypes/[name]`
  • **No sprint plan?** → `/sprint-plan`
  • **Approaching milestone?** → `/milestone-review`

---

Collaborative Protocol

Read more
@tranhieutt
Ships withsoftware-development-department

Software Development Department

74116 skills28 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
74
Star history of tranhieutt/software_development_department on GitHub, a chart by star-history.com

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about project-stage-detect.

Which coding agents can use project-stage-detect?
project-stage-detect installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.