AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Qa Tech Debt

skill-christopherlouet-claude-base-qa-tech-debt · by christopherlouet

Technical debt management and prioritization, including test-coverage analysis and Kaizen continuous improvement. Trigger when the user wants to identify, prioritize or plan the repayment of technical debt, analyse/improve test coverage, or run a PDCA continuous-improvement cycle.

— No reviews yet
0 installs
38 views
0.0% view→install

Install

$ agentstack add skill-christopherlouet-claude-base-qa-tech-debt

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-christopherlouet-claude-base-qa-tech-debt)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Qa Tech Debt? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Tech Debt Management

Triggers

  • "technical debt"
  • "tech debt"
  • "refactoring priority"
  • "legacy code"
  • "code quality"

Identification

Code Smells to Detect

# TODOs and FIXMEs
grep -r "TODO\|FIXME\|HACK\|XXX" --include="*.ts" --include="*.tsx" src/

# Large files
find src -name "*.ts" -o -name "*.tsx" | xargs wc -l | sort -n | tail -20

# Complexity (nesting)
grep -r "if.*if.*if" --include="*.ts" src/

# any in TypeScript
grep -r ": any" --include="*.ts" --include="*.tsx" src/

Metrics

| Metric | Threshold | Command | |----------|-------|----------| | LOC/file | 70% | npm test -- --coverage |

Categorization

Impact

| Level | Description | Examples | |--------|-------------|----------| | Critical | Blocks development | Circular coupling | | High | Significantly slows down | Massive duplication | | Medium | Hinders maintenance | Confusing naming | | Low | Cosmetic | Inconsistent style |

Effort

| Level | Time | Examples | |--------|-------|----------| | Trivial | 1 week | Rewrite component |

Prioritization

Impact/Effort Matrix

Impact
  ^
  |  Quick Wins  |  Strategic
  |     (P1)     |    (P2)
  +--------------+-------------
  |   Fill-in    |   Avoid
  |     (P3)     |    (P4)
  +-------------------------> Effort

Remediation Plan

Template

## Item: [Name]

**Priority**: P[1-4]
**Impact**: [Critical/High/Medium/Low]
**Effort**: [Trivial/Low/Medium/High]

### Description
[Description of the problem]

### Files concerned
- path/to/file.ts:L42

### Proposed solution
[Refactoring approach]

### Success criteria
- [ ] Tests pass
- [ ] No regression
- [ ] Improved metrics

Test coverage analysis

Test debt is a first-class category of technical debt. Measure and close the gaps.

# Current coverage (statements / branches / functions / lines)
npm test -- --coverage          # Jest / Vitest

| Metric | Threshold | Notes | |--------|-----------|-------| | Statements | > 80% | | | Branches | > 75% | Hardest and highest-value gap | | Functions | > 80% | |

  • Categorise gaps by criticality (business code and edge cases first), not by raw %.
  • Prioritise critical business code; 100% coverage != 100% quality — never sacrifice test

quality to hit a number.

  • Add missing tests for branches, boundary conditions and error paths; wire a coverage

gate into CI (/ops:ops-ci). Generate the tests via /dev:dev-tdd or /dev:dev-tdd.

Continuous improvement (Kaizen)

For incremental, durable improvement of code and process, run the PDCA cycle instead of a big-bang rewrite.

  • PLAN: identify the problem and root cause (5 Whys), set a SMART objective.
  • DO: implement one change at a time, atomic commits.
  • CHECK: measure before/after, compare to the objective.
  • ACT: standardise on success, adjust on failure; plan the next iteration.
  • Eliminate the 7 Muda (overproduction, waiting, transport, over-processing, inventory,

motion, defects). Always measure before and after; one change at a time, no revolutions.

Workflow

  1. Identify - Scan the codebase (smells, coverage gaps, Muda)
  2. Categorize - Impact and effort
  3. Prioritize - Decision matrix
  4. Plan - Integrate into the backlog
  5. Execute - Incremental refactoring (one change at a time, PDCA)
  6. Validate - Tests, coverage and metrics (before/after)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.