tech-debt
Skill1 starsChanged 2 months agoMITView on GitHub
Audits a whole codebase for tech debt and publishes the audit as a page, such as a Claude artifact, with file-cited findings, severity, effort, and the calls that look bad but are fine. Use only when asked for a tech debt audit, a codebase health check, or an architecture or code quality review of an entire repo or module. For a diff or a pull request, use `deslop` or `review`.
41 other projects use a version of this.
Adopted by
Most recently taken up by
- bullish0x/GameStudiotheir own version, first seen Nov 29, 2026
- y-miyazaki/configtheir own version, first seen Nov 27, 2026
- chatquill/claude-code-websitestheir own version, first seen Nov 22, 2026
- pantheon-org/tekhnetheir own version, first seen Nov 15, 2026
- chuanglibs/Claude-Code-Game-Studios-Codextheir own version, first seen Nov 15, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Nov 9, 2026
Used with
Projects with it also use playtest-report, test-flakiness and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 13 projects that use this
lilangMaxSkilltest-flakiness
Detect non-deterministic (flaky) tests by reading CI run logs or test result history. Aggregates pass rates per test, identifies intermittent failures, recommends quarantine or fix, and maintains a flaky test registry. Best run during Polish phase or after multiple CI runs.
Also in 11 projects that use this
lilangMaxSkillsoak-test
Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.
Also in 10 projects that use this
CoralGameSkillteam-audio
Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.
Also in 13 projects that use this
- +6 more from lilangMax
- +2 more from CoralGame
Other versions41 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 41
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- anthropics/knowledge-work-plugins★ 37ksame name
- vm0-ai/vm0★ 1.2ksame name
- pixel-cellar/Claude-Code-Game-Studios★ 324same name
- striderZA/OpenCodeGameStudios★ 124same name
- tranhieutt/software_development_department★ 71same name
- cenconq25/claude-code-app-studio★ 40same name
- drafthq/draft★ 40same name
- fagemx/edda★ 36same name
- bullish0x/GameStudio★ 29same name
31 more not listed
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.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Every finding cites path:line.
- Distinctive: line 12
Read the code before you judge it, since a pattern that looks wrong alone may hold something up.
- Very specific: line 19
Read the README, the package manifest (package.json, pyproject.toml, Cargo.toml, or go.mod), and any architecture docs or ADRs.
- Distinctive: line 22
Read the churn. A shallow clone hides it, so say so in the audit when the history is cut.
- Very specific: line 41
Search with rg, ast-grep when installed, and the stack's own tools.
- Very specific: line 65
Run only the tools the repo already has.
- Very specific: line 93
When the user gives an earlier audit, as a page link or a TECH_DEBT_AUDIT.md in the repo, read it first and update it in place.
“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tech debt
Audit the codebase as it is and publish the findings as a page. The audit changes no code and
adds no file to the repo. The input is an optional path, such as src/payments, that scopes the audit to one module.
Every finding cites path:line. A finding without a citation is an impression, so leave it out.
Read the code before you judge it, since a pattern that looks wrong alone may hold something up.
Say what is broken without softening it, and write no praise to balance the list.
1. Orient
Form no opinion before you understand the system.
- Read the README, the package manifest (
package.json,pyproject.toml,Cargo.toml, orgo.mod), and any architecture docs or ADRs. - Map the directories and name the major modules and layers.
Read the churn. A shallow clone hides it, so say so in the audit when the history is cut.
git log --oneline -200git log --stat --since="6 months ago"- Name the entry points, the hot paths, and the corners nobody touches.
- List the 20 largest files by line count and the 20 files changed most often in the last six months. Debt usually sits where the two lists overlap.
Then write one or two paragraphs on how the system works. A model that contradicts the README is itself a finding.
2. Audit
Search with rg, ast-grep when installed, and the stack's own tools. Write "Nothing material"
for a dimension with nothing in it rather than padding it.
| Dimension | Look for |
| Architectural decay | Circular dependencies, layering violations, files over 500 lines, logic duplicated in three or more places, abstractions nobody uses, dead code |
| Consistency rot | Several ways to do one job, such as HTTP clients, error handling, logging, config, validation, or dates. Naming drift. Folders that no longer match the code |
| Type and contract debt | any, as any, # type: ignore, loose dictionaries, untyped API boundaries, missing schema validation at trust boundaries |
| Test debt | Coverage gaps on critical paths, tests that assert the implementation, skipped or flaky tests, high-churn files with no tests |
| Dependency and config debt | Known CVEs, unused or duplicate dependencies, environment variables that are read but undocumented or have different defaults per environment |
| Performance | N+1 queries, sync work in async paths, blocking I/O on hot paths, listeners or handles never released |
| Errors and observability | Swallowed exceptions, blanket catches, errors logged but not handled, error shapes that differ per module |
| Security hygiene | Hardcoded secrets, SQL built by string concatenation, missing input validation, permissive auth or CORS, weak crypto |
| Documentation drift | README claims that do not match the code, comments that contradict the code next to them, undocumented public APIs |
Detect the stack from the manifest and run its tools in parallel:
| Stack | Tools |
| TypeScript and JavaScript | The package manager's audit, tsc --noEmit, knip, madge --circular |
| Python | pip-audit, ruff check, vulture, mypy --strict |
| Rust | cargo audit, cargo machete, cargo clippy |
| Go | govulncheck, go vet, staticcheck |
Run only the tools the repo already has. Never install one or fetch it with npx. Name each
missing tool in the audit and move on.
For a repo over 50,000 lines or with more than five top-level modules, in Claude Code and Cursor run one subagent per module, in parallel. Give each its module, the dimensions table, the citation rule, and a cap of 200 findings. Then merge, dedupe, and rank the reports. Elsewhere, audit one module at a time and write its findings down before you read the next.
3. Write the audit
Publish the audit as a page: a Claude artifact, or the equivalent in Cursor or Codex. The request
for an audit is the yes to build it. When the client has no page tool, write
TECH_DEBT_AUDIT.md in the repo root instead and say so. The page has these sections, in order:
- Executive summary: ten bullets at most, ranked by impact.
- Architectural mental model: the system as it is.
- Findings: a table with the columns ID, Category, File:Line, Severity (Critical, High, Medium, or Low), Effort (S, M, or L), Description, and Recommendation. Expect 30 to 80 rows on a whole repo. More than that is padding.
- Top 5 to fix first: each with a diff sketch or a refactor outline.
- Quick wins: a checklist of the low-effort findings with Medium severity or higher.
- Things that look bad but are fine: the calls you considered flagging and why you did not. This section is required. When it is empty, the audit was too shallow, so look again.
- Open questions for the maintainer: what you could not tell was debt or intent. Ask here instead of asserting.
Recommend specific, scoped changes, never a rewrite.
When the user gives an earlier audit, as a page link or a TECH_DEBT_AUDIT.md in the repo, read
it first and update it in place. Mark fixed findings RESOLVED, update the stale ones, and tag
the new ones NEW.
Output
The link to the page, or the file path when there is no page tool. In chat, give the counts per severity, the top 5, and the tools that were missing. Fixing a finding is a separate request.
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.

