agent-health
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified…
Generates missing design or architecture documentation by working backwards from existing code or prototypes. Use when documentation is missing for existing code or when the user mentions documenting existing implementation or reverse engineering docs.
Claude Code
$ npx -y skills add tranhieutt/software_development_department --skill reverse-document --agent claude-code
Codex
$ npx skills add tranhieutt/software_development_department --skill reverse-document -a codex -y
Cursor
$ npx skills add tranhieutt/software_development_department --skill reverse-document -a cursor -y
Gemini CLI
$ npx skills add tranhieutt/software_development_department --skill reverse-document -a gemini-cli -y
GitHub Copilot
$ npx skills add tranhieutt/software_development_department --skill reverse-document -a github-copilot -y
OpenCode
$ npx skills add tranhieutt/software_development_department --skill reverse-document -a opencode -y
Windsurf
$ npx skills add tranhieutt/software_development_department --skill reverse-document -a windsurf -y
name: reverse-document type: workflow description: "Generates missing design or architecture documentation by working backwards from existing code or prototypes. Use when documentation is missing for existing code or when the user mentions documenting existing implementation or reverse engineering docs." argument-hint: "<type> <path> (e.g., 'design src/api/auth' or 'architecture src/core')" user-invocable: true allowed-tools: Read, Glob, Grep, Write, Edit, Bash effort: 3 when_to_use: "Use when documentation is missing for existing code, a feature was built without a design doc, or the user needs to formalize an existing implementation into design or architecture documentation."
This skill analyzes existing implementation (code, prototypes, systems) and generates appropriate design or architecture documentation. Use this when:
---
**Format**: `/reverse-document <type> <path>`
**Type options**:
**Path**: Directory or file to analyze
**Examples**:
/reverse-document design src/api/payment /reverse-document architecture src/core/entity-component /reverse-document concept prototypes/vehicle-combat
**Read and understand the code/prototype**:
**For design docs (PRD):**
**For architecture docs (ADR):**
**For concept docs (prototype analysis):**
**DO NOT** just describe the code. **ASK** about intent:
**Design questions**:
**Architecture questions**:
**Concept questions**:
Before drafting, show what you discovered:
I've analyzed src/api/auth/. Here's what I found: MECHANICS IMPLEMENTED: - 3-hit combo system with timing windows - Guard-break mechanic (heavy attack vs blocking enemy) - Stamina system (depletes on attack/dodge, regens when idle) - Stagger system (builds up, triggers vulnerable state) FORMULAS DISCOVERED: - Damage = Base * (1 + StrengthScaling * Level) - Stagger buildup = AttackStaggerValue / (Enemy.Poise * 0.5) - Stamina cost = BaseStaminaCost * (1 - EfficiencyBonus) UNCLEAR INTENT AREAS: 1. Stamina system — pacing or resource management? 2. Stagger — core pillar or supporting feature? 3. Damage scaling — power fantasy or needs tuning? Before I draft the design doc, could you clarify these points?
Wait for user to clarify intent before drafting.
Based on type, use appropriate template:
| Type | Template | Output Path | |------|----------|-------------| | `design` | `templates/design-doc-from-implementation.md` | `design/docs/[system-name].md` | | `architecture` | `templates/architecture-doc-from-code.md` | `docs/architecture/[decision-name].md` | | `concept` | `templates/concept-doc-from-prototype.md` | `prototypes/[name]/CONCEPT.md` or `design/concepts/[name].md` |
**Draft structure**:
**Collaborative protocol**:
I've drafted the combat system design doc based on your code and clarifications. [Show key sections: Overview, Mechanics, Formulas, Design Intent] ADDITIONS I MADE: - Documented stamina as "pacing mechanic" per your clarification - Added edge cases not in code (what if stamina hits 0 mid-combo?) - Flagged balance concern: exponential damage scaling at high levels SECTIONS MARKED AS INCOMPLETE: - "Enemy AI interaction with stagger" (not fully implemented yet) - "Weapon variety and scaling" (only sword implemented so far) May I write this to design/docs/combat-system.md?
Wait for approval. User may request changes before writing.
When approved, write the file with special markers:
--- status: reverse-documented date: 2026-02-13 verified-by: [User name] --- # Combat S
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified…
Provides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or…
Provides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular…
Records unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into…
Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use…
Manages the ADR (Architecture Decision Record) registry. Use when recording tech-stack choices, design patterns, or…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.