Review an entire codebase for architecture, engineering health, and exploitable risk; generate a prioritized remediation plan, an evidence-anchored system knowledge document, or both.
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill codebase-review
> [!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.
When the user asks to perform this workflow, execute the following steps:
> Goal: Map a codebase from evidence, expose systemic risk, and produce the review and/or knowledge artifact requested.
analysis=fast|deep and deliverable=review|knowledge|both; default to fast + review to preserve the existing audit behavior. Use deep for knowledge or both unless the user explicitly requests otherwise.package.json, go.mod, pubspec.yaml, pom.xml) and locate source, tests, docs, IaC, runtime config, entry points, data stores, and generated paths.common-architecture-audit, common-security-audit, common-owasp, and common-llm-security.trusted, semi-trusted, or untrusted; record missing or inaccessible evidence.trigger -> validation/auth -> state mutation -> side effect -> consumer. Map cross-cutting logging, caching, error handling, authentication, and authorization.fast: inspect largest non-generated files, changed hotspots, auth surfaces, execution/config chokepoints, and the highest-centrality modules.deep: also inspect service-to-service flows, state lifecycle, persistence/migrations, jobs/events, feature boundaries, architecture drift, compliance-sensitive paths, and LLM/agent runtime risks.reviewContext for the pass: analysisMode, promptInjectionRisk, delegationMode, assignedRoles, and false-positive controls used by the human or agent team.confirmed.confirmed, needs validation, and not enough evidence separate.design-solution with explicit security constraints and follow-up questions.review or both, write artifacts/codebase-review.md with engineering health, architecture, delivery risk, severity-ranked findings, evidence gaps, and phased remediation. Score from 100: Critical -15, High -8, Medium -3, Low -1; cap at 40 for any P0.knowledge or both, write docs/architecture/codebase-knowledge.md with system purpose, evidence/assumptions, component map, critical flows and state ownership, integrations/trust boundaries, interaction matrix, change cautions, risks, glossary, and coverage/next-read queue. Use Mermaid only when it clarifies a real relationship.artifacts/security-review.md with scope, trust boundaries, review context, runtime contract, findings, evidence gaps, source provenance, confidence, exploit path, control mapping, and handoff notes.partial, preserve the ordered next-read queue, and do not present the knowledge document as complete.Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take hoangnguyen0403/codebase-review from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.