tech-debt-audit

Audit codebases for tech debt across nine dimensions with file:line citations.

545|31|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/ksimback/tech-debt-skill --skill tech-debt-audit-ksimback
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tech-debt-audit
Source: https://github.com/ksimback/tech-debt-skill/tree/main
Command: npx skills add https://github.com/ksimback/tech-debt-skill --skill tech-debt-audit-ksimback

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically identifies and documents actionable tech debt and architectural weaknesses across an entire codebase, producing a citable artifact for remediation.

Core Features & Use Cases

  • Whole-repo architectural and debt assessment across nine dimensions including architectural decay, consistency rot, type & contract debt, test debt, dep & config debt, performance & resource hygiene, error handling & observability, security hygiene, and documentation drift.
  • Multi-tool grounded results with citations to specific files and lines; generates a persistent artifact (TECH_DEBT_AUDIT.md) that can be committed and tracked.
  • Repeatable, phase-based workflow with Phase 1 orient, Phase 2 audit, Phase 3 deliverable; supports large repos with subagents to scale analysis.

Quick Start

Invoke /tech-debt-audit in your repository to generate TECH_DEBT_AUDIT.md and begin the assessment.

Frequently Asked Questions about tech-debt-audit

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

FAQPage Schema
How do I audit technical debt across a large monorepo?

A codebase architecture audit evaluates structural weaknesses and technical debt across nine dimensions, surfacing issues like type contract drift and test debt with specific file and line citations for targeted remediation.

What is the best way to document code quality issues for remediation tracking?

Documenting code quality issues is best achieved by generating a persistent TECH_DEBT_AUDIT.md file in the repository root, providing an executive summary, quick wins, and scoped remediation guidance that can be committed and tracked over time.

Can I perform a static analysis audit on an entire repository without doing a full rewrite?

Yes, static analysis can be performed on an entire repository to identify debt and provide scoped remediation guidance instead of requiring full rewrites, ensuring you can address issues like error handling and security hygiene incrementally.

How does a code audit handle documentation drift and configuration debt?

A code audit handles documentation drift and configuration debt by systematically evaluating these specific dimensions during the audit phase, grounding every concrete finding with path and line references in the final deliverable.

Does the tech debt audit workflow support scaling analysis for very large repositories?

The tech debt audit workflow supports large repositories by utilizing subagents to scale the analysis, following a repeatable three-phase process of orientation, auditing, and deliverable generation to manage the workload effectively.

When should I not use an automated codebase audit?

You should avoid an automated codebase audit if your project requires understanding complex runtime behavior rather than static structural debt, as the audit focuses on static analysis, architectural decay, and persistent artifact generation.