technical-debt-audit
Skill11 starsChanged 10 days agoMITView on GitHub
Perform repository-wide or focused technical-debt audits covering maintainability, complexity, duplication, dependency health, testing gaps, architecture erosion, documentation drift, and remediation priorities. Use when the user asks to assess accumulated debt, modernization risk, change friction, quick wins, or blockers to future work or scaling. Do not use for an ordinary diff review, an active unexplained failure, implementation, or a vulnerability-only audit.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- respira-press/agent-skills-wordpresstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- respira-press/agent-skills-wordpress★ 49same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-reviewSkill
- api-designSkill
- architecture-reviewSkill
- behavior-driven-developmentSkill
- brainstormingSkill
- ci-release-engineeringSkill
- clean-architectureSkill
- code-reviewSkill
- container-engineeringSkill
- create-agent-skillSkill
- csharp-dotnet-engineeringSkill
- css-scss-stylingSkill
- data-platform-engineeringSkill
- dependency-supply-chain-reviewSkill
- digital-asset-managementSkill
- documentation-engineeringSkill
- domain-driven-designSkill
- domain-modelingSkill
- donsetch-web-researchSkill
- gherkinSkill
- git-commitSkill
- git-workflowsSkill
- hexagonal-architectureSkill
- impeccableSkill
- internationalization-localizationSkill
- javascript-typescript-engineeringSkill
- justfilesSkill
- mcp-server-engineeringSkill
- mysql-mariadb-sql-engineeringSkill
- observability-engineeringSkill
- onion-architectureSkill
- parallelism-engineeringSkill
- performance-reviewSkill
- playwright-e2eSkill
- postgresql-sql-engineeringSkill
- prompt-engineering-reviewSkill
- python-antipatternsSkill
- python-design-patternsSkill
- python-engineeringSkill
- random-data-identifiersSkill
- release-readinessSkill
- review-verification-protocolSkill
- root-cause-analysisSkill
- ruby-engineeringSkill
- rust-antipatternsSkill
- rust-async-webSkill
- rust-code-reviewSkill
- rust-design-patternsSkill
- rust-desktop-guiSkill
- rust-engineeringSkill
- rust-persistence-sqlSkill
- rust-testing-qualitySkill
- script-engineeringSkill
- security-review-evidenceSkill
- security-reviewSkill
- semantic-versioningSkill
- sql-engineeringSkill
- sqlite-sql-engineeringSkill
- suggest-lucide-iconsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to identify accumulated decisions that repeatedly increase change cost, defect risk, cognitive load, upgrade friction, or …
- Distinctive: line 21
Do not treat a current correctness bug, active vulnerability, isolated smell, old dependency, TODO, or long file as technical debt without …
- Distinctive: line 30
When the user explicitly requests tooling evidence and the active role permits it, use only approved evidence commands.
- Distinctive: line 60
Read applicable README, CONTRIBUTING, AGENTS, architecture records, and repository-native commands before judging convention drift.
- Distinctive: line 67
Prefer repository-native static analysis, coverage, dependency, and audit output when execution is authorized and safe.
- Distinctive: line 74
Search references and registrations before claiming code, exports, dependencies, routes, configuration, or compatibility paths are unused.
- Very specific: line 97
Use architecture-review for structural boundaries or dependency direction.
- Very specific: line 99
Use testing-strategy for suite confidence, flakiness, test levels, or module coverage.
- Distinctive: line 101
Use language engineering or anti-pattern skills for ecosystem-specific code, package-manager, and static-analysis semantics.
- Very specific: line 117
Use performance-review only when workload or measurement evidence makes performance debt decision-relevant.
- Distinctive: line 127
Treat outdated, deprecated, unmaintained, or vulnerable dependency claims as current facts requiring authoritative evidence.
- Distinctive: line 138
Prefer durable corrections and recurrence guards over broad rewrites.
- Distinctive: line 150
Keep severity, likelihood, confidence, and priority distinct: severity is the consequence, likelihood is recurrence or realization risk, …
- Distinctive: line 171
When no material debt is found, say so explicitly, retain the overview and evidence sections, and omit empty recommendation categories.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Technical Debt Audit
Use this skill to identify accumulated decisions that repeatedly increase change cost, defect risk, cognitive load, upgrade friction, or operational burden. A technical-debt audit is a repository portfolio assessment, not a style pass or a request to collect every local code smell.
Always apply
review-verification-protocol
before reporting findings. Use
code-review instead when the primary artifact is a
diff, pull request, or completed change rather than accumulated repository debt.
Boundaries
- Do not treat a current correctness bug, active vulnerability, isolated smell, old dependency, TODO, or long file as technical debt without evidence of recurring cost, risk, or blocked evolution.
- Route active unexplained failures to
systematic-debugging. Route vulnerability-only or supply-chain-only audits to the matching security skill. - Remain read-only unless the user separately requests remediation and the active agent has edit authority. Loading this skill grants no permission, delegation, planning, or execution authority.
- When the user explicitly requests tooling evidence and the active role permits it, use only approved evidence commands. Prefer documented repository recipes, inspect their command surface first, and remember that builds, procedural macros, tests, and repository-defined tools can execute repository-controlled code. Do not install or update missing tools or dependencies, apply automatic fixes, or broaden an audit into remediation.
- Ordinary ignored build and cache output is compatible with a read-only audit only when the role permits the command. Never modify tracked inputs, lockfiles, checked-in generated output, or durable plans as part of evidence collection.
- Derive languages, frameworks, modules, entry points, conventions, commands, and validation lanes from the repository. Do not impose a preferred architecture or toolchain.
- Return zero findings when the evidence does not establish material debt. Never pad categories or convert cosmetic preferences into findings.
Workflow
- Set the audit frame.
- Confirm whether the scope is repository-wide or focused.
- Establish the repository's maintenance horizon, active areas, declared conventions, and the future work or scaling concerns that make debt costly.
- Distinguish systemic debt from defects, security incidents, accepted trade-offs, speculative cleanup, and temporary work with an owner or exit condition.
- Build the Repository overview.
- Identify primary languages, frameworks, package managers, build tooling, test tooling, and deployment or runtime surfaces.
- Map top-level folders, key modules, entry points, public boundaries, data stores, and important dependency direction.
- Read applicable README, CONTRIBUTING, AGENTS, architecture records, and repository-native commands before judging convention drift.
- Collect evidence.
- Inspect source, tests, manifests, lockfiles, build and CI configuration, documentation, generated boundaries, TODO/FIXME markers, and relevant local history when available.
- Prefer repository-native static analysis, coverage, dependency, and audit output when execution is authorized and safe. Otherwise name the exact unrun check and the uncertainty it leaves.
- For every attempted tool check, record tool availability, the exact command, exit status, and a short sanitized excerpt that supports the interpretation. A failed command can establish a tooling, environment, or invocation limitation without establishing a product-code finding.
- Search references and registrations before claiming code, exports, dependencies, routes, configuration, or compatibility paths are unused.
- Apply proportionate lenses.
- Code quality: duplicated concepts or behavior, complexity hotspots, deep nesting, oversized responsibilities, inconsistent async or error handling, stale commented-out blocks, obsolete abstractions, dead code, unused exports, and hard-to-change APIs.
- Dependency health: unused direct dependencies, upgrade blockers, deprecated or unsupported packages, maintenance risk, stale toolchains, vulnerable resolved versions, and costly transitive or bootstrap surfaces.
- Testing: risk coverage by module or boundary, critical untested paths, skipped or quarantined tests, flakiness, slow feedback, over-mocking, environment fragility, and missing architecture or contract guards.
- Architecture and design: coupling, cycles, unclear ownership, leaky or missing abstractions, shared dumping grounds, convention violations, and boundary erosion that increases future migration cost.
- Documentation and operations: stale setup guidance, missing public or extension-boundary documentation, undocumented non-obvious logic, configuration drift, fragile build/deploy knowledge, and absent recovery or upgrade guidance.
- Load focused companions only when evidence warrants them.
- Use
architecture-reviewfor structural boundaries or dependency direction. - Use
testing-strategyfor suite confidence, flakiness, test levels, or module coverage. - Use language engineering or anti-pattern skills for ecosystem-specific code, package-manager, and static-analysis semantics.
- For Rust async web applications, use
rust-async-web,rust-testing-quality, andrust-antipatternsas the evidence warrants. The Rust async web skill routes Axum + Leptos SSR audits to its focused setup, feature-matrix, hydration, routing, and runtime reference. - Use
dependency-supply-chain-review,security-review, andsecurity-review-evidencefor advisories, provenance, install scripts, vulnerable dependency paths, or other supply-chain trust questions. - Use
documentation-engineeringfor documentation accuracy, public surfaces, examples, or setup journeys. - Use
performance-reviewonly when workload or measurement evidence makes performance debt decision-relevant.
- Use
- Control evidence quality.
- Quote only the smallest relevant sanitized output excerpt, normally one to five lines. Do not paste full logs when an exit status and focused excerpt establish the claim.
- Cite numeric coverage only from observed coverage output. Without it, provide a qualitative module or boundary map such as strong, partial, weak, or absent and cite the tests inspected.
- Treat outdated, deprecated, unmaintained, or vulnerable dependency claims as current facts requiring authoritative evidence. A manifest or lockfile proves local versions, not current maintenance or advisory status.
- Classify unverified tool-dependent concerns as hypotheses and list the validation needed to confirm them.
- Deduplicate and prioritize.
- Group symptoms under the smallest evidenced root cause.
- Rank by severity, likelihood or recurrence, breadth, debt interest, cost of delay, remediation effort, migration risk, expected benefit, and sequencing dependencies.
- Prefer durable corrections and recurrence guards over broad rewrites.
Finding Standard
For every finding include:
- ID and title; Priority; Severity; Likelihood; Confidence; Classification
- Scope and evidence; Impact and debt interest; Durable fix
- Effort: Small / Medium / Large, with the main sizing assumption
- Expected benefit; Dependencies and sequencing; Verification
Keep severity, likelihood, confidence, and priority distinct: severity is the consequence, likelihood is recurrence or realization risk, confidence is the strength of evidence, and priority synthesizes those factors with cost of delay, effort, and sequencing.
Output
Return, in order:
- Repository overview
- Evidence reviewed and limitations
- Prioritized findings using the Finding Standard
- Quick wins — high expected benefit, small effort, and low migration risk
- Strategic blockers — debt blocking future work, upgrades, operations, or scaling
- Longer-term improvement program — larger sequenced remediation, if any
- Accepted trade-offs and positive evidence worth preserving
- Skipped validation and residual risk
- Conclusion: Healthy / Improvement Program Recommended / Material Remediation Required
When no material debt is found, say so explicitly, retain the overview and evidence sections, and omit empty recommendation categories.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

