What problem does it solve?
Help teams onboard brownfield repositories by automatically discovering project conventions, extracting existing documentation, and filling missing governance artifacts so projects have consistent, parser-friendly governance without manual audit work.
Core Features & Use Cases
- Automated Discovery: Run discovery to detect modules, conventions, and existing docs and build a knowledge graph.
- Governance Filling: Identify gaps and generate six governance documents (vision, prd, guardrails, backlog, system-context, system-design) while merging detected conventions into guardrails.
- Quality Gate: Enforce a 4-dimensional coverage gate (governance, module coverage, doc coverage, traceability) to validate readiness for sessions.
- Use Case: Onboard an existing microservice repo after initial detection to produce governance artifacts and a searchable project graph for future AI sessions.
Quick Start
Run rai init --detect then execute /rai-project-onboard to discover conventions, fill governance templates, and build the knowledge graph.