.claude/skills/project-stage-detect/SKILL.md
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.
npx skillsauth add tranhieutt/software_development_department project-stage-detectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill scans your project to determine its current development stage, completeness of artifacts, and gaps that need attention. It's especially useful when:
Analyze project structure and content:
Design Documentation (design/):
design/docs/*.mddesign/narrative/design/specs/Source Code (src/):
Production Artifacts (production/):
Prototypes (prototypes/):
Architecture Docs (docs/architecture/):
Tests (tests/):
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) |
DO NOT just list missing files. Instead, ask clarifying questions:
src/api/auth/) but no design/docs/combat-system.md. Was this prototyped first, or should we reverse-document?"production/. Are you tracking work elsewhere (Jira, Trello, etc.)?"/map-systems?"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]
If user provided a role argument (e.g., /project-stage-detect programmer):
Programmer:
Designer:
Producer:
General (no role):
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.
# General project analysis
/project-stage-detect
# Programmer-focused analysis
/project-stage-detect programmer
# Designer-focused analysis
/project-stage-detect designer
After generating the report, suggest relevant next steps:
/map-systems to decompose into systems/reverse-document design src/[system]/architecture-decision or /reverse-document architecture/reverse-document concept prototypes/[name]/sprint-plan/milestone-reviewThis skill follows the collaborative design principle:
Never silently write files. Always show findings and ask before creating artifacts.
production/project-stage-report.md?"Deliver exactly:
/map-systems, /sprint-plan)testing
Generates high-fidelity architecture diagrams, sequence flows, and component maps for SDD projects. Use when finalizing a design phase, documenting system architecture, or visualizing agentic workflows. Default style: Style 6 (Claude Official).
data-ai
Provides vector database and semantic search patterns for Pinecone, Weaviate, Qdrant, Milvus, and pgvector in RAG and recommendation systems. Use when implementing vector search or when the user mentions vector database, semantic search, embeddings, or similarity search.
development
Updates docs/technical/CODEMAP.md by scanning the current codebase structure. Run after a significant feature merge, refactor, or when CODEMAP feels stale.
development
Unlocks the codebase after a release freeze or incident freeze period to resume normal development. Use when a freeze period ends or when the user mentions unfreezing or lifting the code freeze.