con un clic
byterover-audit
// Audit knowledge freshness and coverage. Checks what's documented against the current codebase, identifies stale or outdated knowledge, finds gaps, and provides targeted brv curate commands to fix them.
// Audit knowledge freshness and coverage. Checks what's documented against the current codebase, identifies stale or outdated knowledge, finds gaps, and provides targeted brv curate commands to fix them.
Investigate bugs using scientific method with persistent knowledge. Queries known issues and past bug fixes, applies hypothesis-driven investigation, and stores root cause analysis and fix patterns via brv curate for future reference.
Execute a phase plan task by task with verification. Loads the plan from the knowledge base, implements each task sequentially, verifies against success criteria, records progress, and transitions to the next phase. Stores execution results via brv curate.
Systematically explore a codebase, documentation, and knowledge gaps. Maps technology stack, architecture, conventions, testing, integrations, and concerns into the ByteRover context tree via brv curate.
Define project milestones with goals, scoped requirements, and phased roadmaps. Gathers user intent through questioning, assigns REQ-IDs for traceability, derives phases using goal-backward analysis, and optionally captures implementation decisions for gray areas. Stores everything via brv curate.
Interactive knowledge-driven project onboarding. Queries comprehensive knowledge across all domains, presents a structured project overview, identifies knowledge gaps, and suggests running explore to fill them.
Create structured implementation plans informed by existing knowledge. Queries architecture, conventions, and related implementations, then produces a goal-backward task breakdown with dependencies. Stores the plan via brv curate.
| name | byterover-audit |
| description | Audit knowledge freshness and coverage. Checks what's documented against the current codebase, identifies stale or outdated knowledge, finds gaps, and provides targeted brv curate commands to fix them. |
A structured workflow for auditing the health of your ByteRover knowledge base. Finds stale entries, missing coverage, and provides actionable remediation commands.
Run brv status first. If errors occur, instruct the user to resolve them in the brv terminal. See the byterover skill's TROUBLESHOOTING.md for details.
Query every major knowledge domain to understand what ByteRover currently knows:
brv query "What is documented about the technology stack and dependencies?"
brv query "What is documented about the architecture and project structure?"
brv query "What conventions and coding patterns are documented?"
brv query "What testing approaches and frameworks are documented?"
brv query "What integrations and external services are documented?"
brv query "What concerns, tech debt, and known issues are documented?"
For each query, record:
If ByteRover returns nothing for most domains, stop and recommend running byterover-explore first — auditing requires an existing knowledge base.
For each piece of documented knowledge, verify it matches the current codebase:
Technology Stack:
package.json, requirements.txt, or equivalent — do documented dependencies still exist? Are versions accurate?Architecture:
Conventions:
Testing:
Integrations:
.env.example — are documented integrations still present? Any new ones?Flag knowledge entries as stale when:
For each stale entry, note:
Identify areas with zero or insufficient coverage:
Present a structured report:
Coverage Summary:
| Domain | Status | Issues |
|---|---|---|
| Technology Stack | Current / Stale / Missing | Count of issues |
| Architecture | Current / Stale / Missing | Count of issues |
| Conventions | Current / Stale / Missing | Count of issues |
| Testing | Current / Stale / Missing | Count of issues |
| Integrations | Current / Stale / Missing | Count of issues |
| Concerns | Current / Stale / Missing | Count of issues |
Stale Entries (fix first — wrong knowledge is worse than missing):
For each stale entry, provide the exact brv curate command to fix it:
brv curate "OUTDATED: [old knowledge]. NEW: [current state]. Clean up old context." -f [relevant files]
Gap Entries (fill after fixing stale):
For each gap, provide the exact brv curate command to fill it:
brv curate "[domain]: [what needs documenting]" -f [relevant files]
After presenting the report:
.env, .key, credentials.json, and similar filesbrv curate commandbrv curate commandsbrv curate view <logId> to confirm what was stored (logId is printed by brv curate on completion). Run brv curate view --help to see all options.