Analyze technical debt in codebases and test suites using evidence-based signals. Produces a structured, prioritized Technical Debt Report with risk assessment, test impact analysis, remediation options, and ROI-aware recommendations.
Use this skill when a user needs to understand the technical debt in a codebase, test suite, architecture, or delivery process. It is designed for evidence-driven analysis that surfaces the real drivers of delivery drag, quality risk, and maintenance cost, rather than relying on intuition or vague impressions. The output is a structured report that prioritizes debt items based on severity, remediation risk, effort, and ROI, with actionable recommendations for next steps.
Use this skill when the user asks for things like:
Typical scenarios:
Follow these phases in order.
Before scanning the codebase, clarify:
If some information is missing, infer carefully and list assumptions explicitly.
Never start by assigning debt labels from instinct.
Read the repository context first:
Use ./resources/debt-taxonomy.md as the primary scanning lens.
When the target includes automated tests, also load ./resources/test-debt-catalogue.md.
Capture evidence such as:
If no evidence exists, record an assumption or unknown - not a debt item.
Each debt item should be specific and scoped.
For every candidate item, capture:
Avoid vague findings such as "the code is messy" or "tests need improvement." Each item should describe a distinct problem with a distinct consequence.
Use ./resources/prioritization-matrix.md for scoring.
Each meaningful item should be assessed using:
Then group items into practical buckets:
Do not treat all debt as equally urgent.
For the top-priority items, propose the safest realistic path:
Good remediation advice includes:
Prefer reversible steps unless the user explicitly asks for a larger redesign.
Use ./resources/technical-debt-report-template.md for the default deliverable.
Default output modes:
TECHNICAL_DEBT_REPORT.mdIf the user asks for an example of the target output, use ./resources/example-technical-debt-report.md.
Before delivering the report, verify:
Debt is often hiding when you see patterns like:
./resources/debt-taxonomy.md - analysis lenses, categories, and signal guide./resources/prioritization-matrix.md - scoring rubric and decision buckets./resources/technical-debt-report-template.md - standard report structure for debt audits./resources/example-technical-debt-report.md - example filled report./resources/test-debt-catalogue.md - focused anti-pattern catalogue for automated test suitescode-review-advanced - for reviewing a specific change instead of mapping broader debtstatic-code-analysis-typescript - when the main issue is linting, formatting, or TypeScript quality gatesrequirements-test-coverage-mapper - when the problem is coverage traceability rather than debt discoverynpx skills add jaktestowac/tech-debt-analysis下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer