Codebase review

From HoangNguyen0403/agent-skills-standard · View interactive version

Codebase review is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Review an entire codebase for architecture, engineering health, and exploitable risk; generate a prioritized remediation plan, an evidence-anchored system knowledge document, or both.

How to use this skill

Skill file

Codebase Review Skill

[!IMPORTANT]

Review an entire codebase for architecture, engineering health, and exploitable risk; generate a prioritized remediation plan, an evidence-anchored system knowledge document, or both.

Optional args: slug=<feature>, ticket=<id/url>, mode=interactive|autonomous|channel, channel=<id>, auto_continue=true|false, profile=business|hybrid|technical.

Instructions

When the user asks to perform this workflow, execute the following steps:

🛸 Codebase Review Orchestrator

Goal: Map a codebase from evidence, expose systemic risk, and produce the review and/or knowledge artifact requested.

Steps

  1. Set the review contract:
  1. Map the system before judging it:
  1. Inspect the mapped surface:
  1. Assess and validate risk:
  1. Write the requested evidence:
  1. Feed back improvements:

Runtime Contract

Handoff Payload

Blocking Questions

Output Template

# Codebase Review: [Name]
## Scope And Review Context
## Component Map
## Findings
## Evidence Gaps
## Remediation Plan

## Outcome Report
{schema_version: 1, run_id: "[run-id]", slug: "[slug]", workflow: codebase-review, feature_status: implemented, started_at: "[timestamp]", completed_at: "[timestamp]", requirement_trace: {brd_objectives: [], requirements: [], acceptance_criteria: [], srs: []}, completed_evidence: [], missing_evidence: [], decision_needed: [], recommended_next_workflow: design-solution, cost: {source: unavailable}, agent: {identity: "[agent-identity]", model: "[model]"}}

## Next Workflow
design-solution | dev-fix
## Cost Report
Call `get_session_cost(workflow="codebase-review")` before final handoff.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.