kestrel-mcp-audit-codebase

Audits codebases for gaps, risks, dead code, and non-idiomatic patterns via a structured workflow.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Srain021/KesTREL --skill kestrel-mcp-audit-codebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kestrel-mcp-audit-codebase
Source: https://github.com/Srain021/KesTREL/tree/main/.cursor/skills-cursor/kestrel-mcp/audit/codebase
Command: npx skills add https://github.com/Srain021/KesTREL --skill kestrel-mcp-audit-codebase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codebases often suffer from gaps, dead code, and non-idiomatic patterns that hide risk and slow remediation. This skill provides a repeatable, structured audit workflow to surface issues and drive RFC-driven improvements.

Core Features & Use Cases

  • Stepwise audit workflow: scope definition, baseline reading, read-only scanning, finding categorization, deduplication, and formal reporting.
  • Knowledge capture and reuse: aligns with AUDIT.md and AUDIT_V2.md to avoid re-reporting known gaps and to support RFC-driven remediation.
  • Actionable outputs: remediation suggestions, risk prioritization, and RFC proposals for improvement across codebases.

Quick Start

Provide the initial, scoped audit of the target codebase by asking for the scope and presenting findings with RFC suggestions.

Frequently Asked Questions about kestrel-mcp-audit-codebase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a structured codebase audit to find dead code and risks?

A structured codebase audit identifies gaps, risks, dead code, and non-idiomatic patterns through a stepwise workflow of scope definition, baseline reading, read-only scanning, finding categorization, and formal reporting. This process surfaces hidden issues to drive RFC-driven remediation.

What is the best way to discover non-idiomatic patterns in a sizable codebase?

Discovering non-idiomatic patterns in a sizable codebase requires a read-only scanning workflow that categorizes and deduplicates findings. This approach assesses risks and generates formal reports with remediation suggestions and RFC proposals for improvement.

How do I avoid re-reporting known gaps during static analysis of my codebase?

To avoid re-reporting known gaps during static analysis, align the audit with existing AUDIT.md or AUDIT_V2.md documents. This knowledge capture and reuse mechanism ensures scanning focuses on newly introduced risks rather than previously identified baseline issues.

Can I use this codebase audit workflow to generate RFC proposals for remediation?

Yes, this codebase audit workflow generates actionable outputs including remediation suggestions, risk prioritization, and formal RFC proposals. It translates categorized findings from read-only scanning into structured improvement proposals suitable for codebase remediation.

Does this static analysis approach work for MCP-style codebases?

This static analysis approach is applicable to MCP-style and other sizable codebases where baseline audits and risk assessment are required. It handles complex environments by structuring the audit through scope definition, baseline reading, and formal reporting.

What are the limitations of a read-only scanning audit for gap discovery?

A read-only scanning audit for gap discovery is limited to identifying and reporting risks, dead code, and non-idiomatic patterns without modifying the codebase. It produces formal reports and RFC proposals but requires separate remediation efforts to implement the suggested improvements.