qa-tech-debt-management

qa-tech-debt-management is a skill for Claude Code from Kokxi/qa-test-skills. It costs 107 tokens per session (2,943 once invoked), scanned A, original, MIT.

A testing debt assessment and repayment planning guide for automation suites, test cases, frameworks, and test infrastructure. It treats recurring maintenance as a system problem, not just a collection of flaky tests.

In plain words
What is it for?
Use it to catalogue testing problems, estimate maintenance and rewrite costs, and create a staged plan for fixing them. It can also assess how testing issues affect delivery, quality, and team efficiency.
Why use it?
It helps explain why tests keep breaking, running slowly, or costing too much to maintain. It also helps rank the work by impact, urgency, cost, and expected benefit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the qa-test-skills plugin — 49 skills shipped together

Good fit Use it to catalogue testing problems, estimate maintenance and rewrite costs, and create a staged plan for fixing them. It can also assess how testing issues affect delivery, quality, and team efficiency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kokxi/qa-test-skills/qa-tech-debt-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Kokxi/qa-test-skills --skill qa-tech-debt-management
Clone the repo
git clone --depth 1 https://github.com/Kokxi/qa-test-skills

Made for: Claude Code.

Or install qa-test-skills, the plugin that ships this one along with the rest of its 49 skills.

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 qa-tech-debt-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/kokxi/qa-test-skills/qa-tech-debt-management/github.svg)](https://agentmods.dev/skills/kokxi/qa-test-skills/qa-tech-debt-management)
Your own site
<a href="https://agentmods.dev/skills/kokxi/qa-test-skills/qa-tech-debt-management"><img src="https://agentmods.dev/badge/skills/kokxi/qa-test-skills/qa-tech-debt-management/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 qa-tech-debt-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/kokxi/qa-test-skills/qa-tech-debt-management"><img src="https://agentmods.dev/badge/skills/kokxi/qa-test-skills/qa-tech-debt-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,943 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.00107 $0.02943
Opus 5 $0.00053 $0.01471
Sonnet 5 $0.00021 $0.00589
Haiku 4.5 $0.00011 $0.00294

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

Security

Grade A, and why

qa-tech-debt-management 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 7d 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.

skills/qa-tech-debt-management/SKILL.md · 331 lines

How it starts

The opening of the file, as written. The whole thing — 331 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⚠️ 安全警告:本技能的示例可能涉及发布阻塞评估和线上问题影响分析。 实际使用时请勿直接基于评估结论阻塞发布或下线功能,先与开发和产品确认风险。 本技能仅在 workspace/ 输出评估文件,不持久化、不外传、不跨会话复用。

技术债务管理

核心原则

技术债务是不可避免的,关键是要识别、评估、并有计划地偿还。

技术债务类型

自动化债务

债务表现:
├─ 自动化脚本不稳定
│   ├─ 频繁失败(假阳性)
│   ├─ 执行时间过长
│   └─ 维护成本高
│
├─ 自动化覆盖不足
│   ├─ 核心流程未覆盖
│   ├─ 边界场景未覆盖
│   └─ 异常场景未覆盖
│
├─ 框架问题
│   ├─ 框架版本过旧
│   ├─ 框架设计不合理
│   └─ 框架文档缺失
│
└─ 代码质量
    ├─ 代码重复
    ├─ 代码复杂度高
    └─ 代码可读性差

测试债务

债务表现:
├─ 用例问题
│   ├─ 用例过时
│   ├─ 用例冗余
│   ├─ 用例覆盖不足
│   └─ 用例维护困难
│
├─ 流程问题
│   ├─ 测试流程不规范
│   ├─ 测试执行不彻底
│   ├─ 缺陷管理混乱
│   └─ 回归测试不充分
│
└─ 环境问题
    ├─ 测试环境不稳定
    ├─ 测试数据不足
    ├─ 测试工具落后
    └─ 测试基础设施薄弱

架构债务

债务表现:
├─ 可测试性差
│   ├─ 接口不可Mock
│   ├─ 日志不完整
│   ├─ 配置不灵活
│   └─ 数据不可构造
│
├─ 测试架构问题
│   ├─ 分层不清晰
│   ├─ 职责不单一
│   ├─ 扩展性差
│   └─ 可维护性差
│
└─ 集成问题
    ├─ CI/CD集成不完善
    ├─ 报告不规范
    ├─ 监控不完善
    └─ 工具链不统一

债务评估

评估维度

├─ 影响度
│   ├─ 对测试效率的影响
│   ├─ 对测试质量的影响
│   ├─ 对团队士气的影响
│   └─ 对交付速度的影响
│
├─ 紧迫度
│   ├─ 是否阻塞当前工作
│   ├─ 是否影响发布
│   ├─ 是否导致线上问题
│   └─ 是否影响团队效率
│
├─ 解决成本
│   ├─ 人力成本
│   ├─ 时间成本
│   ├─ 风险成本
│   └─ 机会成本
│
└─ 解决收益
    ├─ 效率提升
    ├─ 质量提升
    ├─ 成本降低
    └─ 风险降低

评估矩阵

债务类型 影响度 紧迫度 解决成本 解决收益 优先级
自动化不稳定 P0
用例过时 P1
框架版本旧 P2
文档缺失 P3

债务治理

治理策略

├─ 立即解决(P0)
│   ├─ 阻塞性问题
│   ├─ 线上问题
│   └─ 效率严重下降
│
├─ 计划解决(P1)
│   ├─ 影响当前迭代
│   ├─ 影响团队效率
│   └─ 风险较高
│
├─ 逐步解决(P2)
│   ├─ 不影响当前工作
│   ├─ 可以规划解决
│   └─ 成本较高
│
└─ 持续监控(P3)
    ├─ 影响较小
    ├─ 成本较高
    └─ 可以接受

治理方法

自动化债务治理:
├─ 脚本稳定化
│   ├─ 修复假阳性
│   ├─ 优化等待策略
│   ├─ 增加重试机制
│   └─ 改进错误处理
│
├─ 覆盖提升
│   ├─ 补充核心流程
│   ├─ 补充边界场景
│   ├─ 补充异常场景
│   └─ 优化测试数据
│
└─ 框架升级
    ├─ 版本升级
    ├─ 架构优化
    ├─ 文档完善
    └─ 工具统一

测试债务治理:
├─ 用例优化
│   ├─ 清理过时用例
│   ├─ 合并冗余用例
│   ├─ 补充覆盖不足
│   └─ 改进可维护性
│
├─ 流程改进
│   ├─ 规范测试流程
│   ├─ 完善执行标准
│   ├─ 改进缺陷管理
│   └─ 优化回归策略
│
└─ 环境改善
    ├─ 稳定测试环境
    ├─ 补充测试数据
    ├─ 升级测试工具
    └─ 完善基础设施

架构债务治理:
├─ 可测试性改进
│   ├─ 接口Mock化
│   ├─ 日志完善
│   ├─ 配置动态化
│   └─ 数据构造化
│
├─ 架构优化
│   ├─ 分层清晰化
│   ├─ 职责单一化
│   ├─ 扩展性提升
│   └─ 可维护性提升
│
└─ 集成完善
    ├─ CI/CD完善
    ├─ 报告规范化
    ├─ 监控完善
    └─ 工具链统一

Read the full file on GitHub · 331 lines

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. 7d ago Changed a71a385c5be6
  2. 12d ago First seen · 331 lines · 107 tokens per session scan A cbec59ce9c7e

Subscribe to this mod's changes

qa-tech-debt-management is a skill published in the GitHub repository Kokxi/qa-test-skills (27 stars, last pushed 10d ago), licensed MIT. It adds 107 tokens to every session and 2,943 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

sparc-methodology

SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration.

ruvnet/RuView · 29 tokens

swarm-advanced

Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows.

ruvnet/RuView · 21 tokens

code-review

Reviews Spec Kit code changes for positive and negative test coverage, regression evidence for bug fixes, and consistent repository terminology. Use when reviewing a diff or pull request. Do not use for implementing changes or posting GitHub review actions.

github/spec-kit · 48 tokens

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

octocode-benchmark

Use when planning, running, grading, or reporting the by-hand Octocode research benchmark — pairwise matchups (Octocode anchor vs one baseline: gh+RTK, gh+Headroom, or plain gh) over markdown questions, with a fresh isolated runner agent per (question, arm, pass), one blind judge per question grading two answers X/Y…

bgauryy/octocode · 117 tokens

octocode-graph-eval

Use when you need a measurable keep/discard loop — goal→KPI, baseline vs target, held-out checks, eval suites, or don't-stop-till-done against a runnable sensor. Not for ordinary ship checks where 'tests passed' is enough.

bgauryy/octocode · 59 tokens