agent-health
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with…
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 -y skills add tranhieutt/software_development_department --skill project-stage-detect --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/project-stage-detectContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
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."
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/`):
**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**:
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:
---
Repo: tranhieutt/software_development_department
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with…
Provides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or auditing SDD Agent-Style…
Provides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular TypeScript files, component templates,…
Records unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into .claude/memory/annotations.md. Use immediately when an…
Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use when designing a new API,…
Manages the ADR (Architecture Decision Record) registry. Use when recording tech-stack choices, design patterns, or infrastructure decisions with context,…