dsh-ci-test-reliability

dsh-ci-test-reliability is a skill for Codex from qufei1993/skills-hub. It costs 76 tokens per session (705 once invoked), scanned A, original, MIT.

A testing guide for choosing useful test layers and diagnosing unreliable tests. It covers unit, integration, real-entry, and end-to-end tests, where test doubles hide problems, and failures caused by timing or shared resources.

In plain words
What is it for?
Use it to plan regression coverage, select realistic test entry points, inspect mock boundaries, reproduce asynchronous or parallel failures, and verify resource cleanup in both success and failure cases.
Why use it?
It helps distinguish a product defect from a test or environment problem, rather than masking intermittent failures with retries, longer timeouts, or fewer workers.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to plan regression coverage, select realistic test entry points, inspect mock boundaries, reproduce asynchronous or parallel failures, and verify resource cleanup in both success and failure cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qufei1993/skills-hub/dsh-ci-test-reliability
About the project

Skills Hub is a cross-platform desktop application for installing, organizing, updating, and syncing Agent Skills across AI coding tools. Developers use it to maintain one central skill library and distribute selected skills to tools such as Claude Code, Codex, Cursor, OpenCode, and Antigravity. Its catalogue instructions describe how to work with the managed skills.

qufei1993/skills-hub · 1,897 stars · on GitHub · aiskillshub.link

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 qufei1993/skills-hub --skill dsh-ci-test-reliability
Clone the repo
git clone --depth 1 https://github.com/qufei1993/skills-hub

Made for: Codex.

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 dsh-ci-test-reliability

README.md
[![agentmods](https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-ci-test-reliability/github.svg)](https://agentmods.dev/skills/qufei1993/skills-hub/dsh-ci-test-reliability)
Your own site
<a href="https://agentmods.dev/skills/qufei1993/skills-hub/dsh-ci-test-reliability"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-ci-test-reliability/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 dsh-ci-test-reliability

Your own site · 80×15
<a href="https://agentmods.dev/skills/qufei1993/skills-hub/dsh-ci-test-reliability"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-ci-test-reliability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 705 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.
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.00076 $0.00705
Opus 5.5 $0.00030 $0.00282
Sonnet 5.5 $0.00015 $0.00141
Haiku 4.5 $0.00008 $0.00071

Measured 1mo ago against content hash 3910f2c36b74, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dsh-ci-test-reliability 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 1mo 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/dsh-ci-test-reliability/SKILL.md · 28 lines

What it actually says

设计有效测试,修复不可靠的验证

阅读项目上下文和验证证据。新增覆盖或审查覆盖情况时选择测试设计;已经观察到间歇性失败时选择偶发失败诊断。任务需要时才组合两者。诊断或测试计划请求保持只读,除非用户要求实现。

设计或审查测试覆盖

  1. 阅读测试选择。将变化的行为对应到真实调用方和失败风险,再检查已有覆盖与必需检查。
  2. 对每个重要缺口,选择测试层级、真实入口、测试替身和独立断言。说明 mock 会绕过什么。手工组装的单元样例无法检出缺陷时,使用真实入口验证组件组装。
  3. 复用已经能够发现风险的测试。只有用户要求实现覆盖时才添加测试;计划任务给出具体用例和期望结果。
  4. 已实现的回归测试或防护检查,应有会失败的错误对照和会通过的合法样例。执行相关检查和项目必需检查,分清实际执行、建议执行与受阻的检查。

诊断偶发失败

阅读测试可靠性。

  1. 保留原始失败、随机种子、工作进程数量、进程和 CI 任务的组织方式及相关日志。区分产品断言失败与环境准备、网络或工具失败。
  2. 从分配到清理,追踪资源归属。检查固定临时名称、端口、数据库键、缓存、环境变量、工作目录、计时器和子孙进程。
  3. 用同步屏障或可观察状态重现导致失败的执行交错。检查启动、等待期间取消、部分初始化,以及工作仍在运行时开始清理的情况。建立能通过真实测试入口检出原始缺陷的错误对照。
  4. 修复资源负责方:原子分配资源、限定可变状态范围、等待真实就绪,并确保释放后没有使用者继续运行。依赖可能在调用方仍运行时被释放,就读生命周期。失败时也要继续完成相互独立的清理。
  5. 按原有进程与任务组织方式运行,并执行针对性回归。重复执行可用于观察偶发故障,但不能代替确定性的回归断言。确认初始化失败和正常完成后,资源都已释放。

报告竞争或隔离缺陷、新测试为何能检出它、实际验证的并发方式及剩余不确定性。没有相应证据时,不得将延长超时、跳过、重试或单工作进程运行称为根因修复。

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 28 lines · 76 tokens per session scan A 3910f2c36b74

Subscribe to this mod's changes

dsh-ci-test-reliability is a skill published in the GitHub repository qufei1993/skills-hub (1,897 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 705 once invoked, about $0.0003 per session on Opus 5.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-10-31.

Related

dsh-ci-test-reliability compared with skills from other repositories

dsh-ci-test-reliability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-ci-test-reliabilityqufei1993/skills-hubSkill1.9kyesterdayMITA76Codex
backend/testing-guideechoVic/boss-skillSkill630todayMITA30Claude Code
qa/test-strategyechoVic/boss-skillSkill630todayMITA34Claude Code
test-runnerPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA59Claude Code
testingevanca/flutter-ai-rulesSkill67618d agoMITA33Claude Code
designing-testsCloudAI-X/claude-workflow-v2Skill1.4k1mo agoMITA48Claude Code
Codeception TestingPramodDutta/qaskillsSkill25227d agoMITA42Claude Code, Codex