don-cheli-sdd: Skill for Claude Code

.agent/skills/doncheli-tech-debt/SKILL.md

doncheli-tech-debt is a skill for Claude Code from doncheli/don-cheli-sdd. It costs 51 tokens per session (478 once invoked), scanned A, original, Apache-2.0.

A technical-debt scanner for finding maintainability problems in a codebase. Technical debt is code that makes future changes harder, such as duplication, oversized functions, or missing error handling.

In plain words
What is it for?
It searches for warning comments, complex or large files, duplicate code, deprecated APIs, weak error handling, and empty tests, then produces a remediation plan without changing the code.
Why use it?
It turns scattered code-quality problems into a prioritized list with likely impact and effort instead of leaving cleanup decisions to guesswork.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

This is doncheli/don-cheli-sdd's own configuration. It tells Claude Code how to work on don-cheli-sdd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything don-cheli-sdd configures →

Part of the don-cheli-sdd plugin — 28 skills, 115 commands, 1 agent shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to doncheli/don-cheli-sdd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/doncheli/don-cheli-sdd/main/.agent/skills/doncheli-tech-debt/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/doncheli/don-cheli-sdd

Made for: Claude Code.

Or install don-cheli-sdd, the plugin that ships this one along with the rest of its 28 skills, 115 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doncheli-tech-debt

README.md
[![agentmods](https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-tech-debt/github.svg)](https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-tech-debt)
Your own site
<a href="https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-tech-debt"><img src="https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-tech-debt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doncheli-tech-debt

Your own site · 80×15
<a href="https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-tech-debt"><img src="https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-tech-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00478
Opus 5 $0.00026 $0.00239
Sonnet 5 $0.00010 $0.00096
Haiku 4.5 $0.00005 $0.00048

Measured 13d ago against content hash 66db1b987068, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

doncheli-tech-debt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent/skills/doncheli-tech-debt/SKILL.md · 50 lines

What it actually says

Don Cheli: Tech Debt Scanner

Instructions

  1. Scan the codebase for tech debt signals:
    • TODO/FIXME/HACK/XXX comments with file and line
    • Functions exceeding cyclomatic complexity of 10
    • Files exceeding 300 lines (configurable)
    • Duplicated code blocks (> 10 lines repeated 3+ times)
    • Deprecated dependencies or APIs in use
    • Missing error handling (uncaught exceptions, empty catch blocks)
    • Test files that exist but have 0 assertions
  2. Score each item by impact (high/medium/low) and effort (hours estimate)
  3. Compute a Tech Debt Ratio: debt items / total files
  4. Prioritize using the impact/effort matrix: Quick Wins first, then High Impact
  5. Recommend a remediation plan with a suggested order
  6. Never auto-refactor — produce the plan and wait for approval
  7. Save the report to .dc/tech-debt-<date>.md

Output Format

## Tech Debt Report — 2026-03-28

### Summary
- Total debt items: 18
- Tech Debt Ratio: 18/94 files = 19% (target: <10%)
- Estimated remediation effort: ~14h

### Quick Wins (high impact, low effort)
1. src/utils/format.ts — 3 duplicate date-format blocks — 1h — extract to shared util
2. src/auth/token.ts:88 — empty catch block silently swallows JWT errors — 30m fix

### High Impact (high impact, higher effort)
1. src/payments/processor.ts — cyclomatic complexity 18 — 4h refactor

### Low Priority
1. 7 TODO comments in src/legacy/ — document or schedule removal

### Remediation Plan
Sprint 1 (8h): Quick wins + empty catch blocks
Sprint 2 (6h): payments/processor.ts refactor
Backlog: legacy TODOs
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 50 lines · 51 tokens per session scan A 66db1b987068

Subscribe to this mod's changes

doncheli-tech-debt is a skill published in the GitHub repository doncheli/don-cheli-sdd (57 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 478 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.