What problem does it solve?
This Skill addresses the challenge of understanding and documenting existing codebases, especially when original documentation is missing or outdated, saving significant time and effort in onboarding and maintenance.
Core Features & Use Cases
- Codebase Analysis: Scans project structure, entry points, and configuration files.
- Architecture Mapping: Identifies and documents system layers, dependencies, and external services.
- Data Model Extraction: Extracts and documents domain entities, including fields, types, and relationships.
- API Contract Documentation: Documents exposed endpoints or RPC methods, including request/response shapes and authentication.
- Behavioral Documentation: Extracts key business rules and system behaviors.
- Use Case: You inherit a legacy Go microservice with no documentation. This Skill can generate a
spec.md detailing its architecture, data models, and API endpoints, allowing you to quickly understand and contribute to the project.
Quick Start
Use the reverse-spec-writer skill to generate a spec.md for the current project directory.