What problem does it solve?
It helps convert a free-form feature idea into a structured, complete requirements document by grounding it in the existing reverse-engineering artifacts, so you don’t miss critical business rules or implementation constraints.
Core Features & Use Cases
- Requirements authoring: Transforms a user’s phrase or paragraph into a full
requirements.md covering the feature from the reverse-engineered system.
- Pipeline integration: Reads
.reversa/state.json to discover the correct _reversa_sdd/ and _reversa_forward/ folders and prepares the forward feature directory accordingly.
- Safety workflow with hooks: Loads
.reversa/hooks.yml (when valid) and runs required before-requirements hooks, while listing optional ones for the user.
- Feature in-progress handling: Detects ongoing features via
_reversa/active-requirements.json and physical artifacts (presence/absence of requirements.md, roadmap.md, actions.md) and asks the user whether to continue, create in parallel, or abandon.
- Context-driven citations: Ensures requirement references point to the relevant
_reversa_sdd/<file>#<section> sources in the produced document.
Quick Start
Run /reversa-requirements with a single sentence describing the feature you want to build, such as “Criar um módulo para importar pagamentos bancários e registrar as conciliações no sistema.”