Project stage detect

From striderZA/OpenCodeGameStudios · View interactive version

Project stage detect is an AI agent skill from the GitHub repository striderZA/OpenCodeGameStudios. Automatically analyze project state, detect stage, identify gaps, and recommend next steps based on existing artifacts. Use when user asks 'where are we in development', 'what stage are we in', 'full project audit'.

How to use this skill

Skill file

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:


Workflow

1. Scan Key Directories

Analyze project structure and content:

Design Documentation (design/):

Source Code (src/):

Production Artifacts (production/):

Prototypes (prototypes/):

Architecture Docs (docs/architecture/):

Tests (tests/):

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 game concept doc, brainstorming phase |

| Systems Design | Game 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:

4. Generate Stage Report

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

Report structure:

# Project Stage Analysis

**Date**: [date]
**Stage**: [Concept/Systems Design/Technical Setup/Pre-Production/Production/Polish/Release]
**Stage Confidence**: [PASS — clearly detected / CONCERNS — ambiguous signals / FAIL — critical gaps block progress]

## 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:

Designer:

Producer:

General (no role):

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:


Collaborative Protocol

This skill follows the collaborative design principle:

  1. Question First: Ask about gaps, don't assume
  2. Present Options: "Should I create X, or is it tracked elsewhere?"
  3. User Decides: Wait for direction
  4. Show Draft: Display report summary
  5. Get Approval: "May I write to production/project-stage-report.md?"

Never silently write files. Always show findings and ask before creating artifacts.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.