dsh-ci-test-reliability SKILL.md skillA

dsh-ci-test-reliability from qufei1993/skills-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qufei1993/skills-hub/dsh-ci-test-reliability@git:20261030.1b17503

Pins git:20261030.1b17503 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qufei1993/skills-hub
Path
skills/dsh-ci-test-reliability/SKILL.md
Versions recorded
1
Latest version
git:20261030.1b17503, committed Oct 30, 2026
Size
2,829 bytes
Repository stars
1,863
License
MIT

设计或审查测试覆盖、选择单元/集成/真实入口/端到端测试及 mock 边界时使用;也用于诊断偶发失败、异步、并行及持有资源的测试。适用于测试计划、回归覆盖缺口和不可靠的 CI 证据。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

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

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

## 设计或审查测试覆盖

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

## 诊断偶发失败

阅读[测试可靠性](references/test-reliability.md)。

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

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

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qufei1993/skills-hub/dsh-ci-test-reliability@sha256:3910f2c36b7463a7

The line at the top of this page pins the label git:20261030.1b17503, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qlhxssaxezofgbb6.svg)](https://markdownregistry.com/a/art_qlhxssaxezofgbb6)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 30, 2026.

versioncommittedcommitsizeaudit
git:20261030.1b17503 latest2026-10-30 1b17503 2,829 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2829 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

qufei1993/skills-hub · 1,863 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qlhxssaxezofgbb6
GET https://markdownregistry.com/api/v1/resolve?ref=qufei1993/skills-hub/dsh-ci-test-reliability
GET https://markdownregistry.com/api/v1/blob/3910f2c36b7463a72cf03aff2b41860d4a6bfe53d7b420cc89c9069fed745f63

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from qufei1993/skills-hub

AGENTS.md AGENTS.md file
qufei1993/skills-hub · AGENTS.md
git:20261031.fd923cf · audit A · 1,863 stars
CLAUDE.md CLAUDE.md file
qufei1993/skills-hub · CLAUDE.md
git:20260411.fabf493 · audit B · 1,863 stars
dsh-client-ui-ux SKILL.md skill
qufei1993/skills-hub · skills/dsh-client-ui-ux/SKILL.md · 设计、实现或审查客户端 UI、响应式布局、交互状态、焦点或失败反馈时使用,结合真实运行界面验证用户体验。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-code-review SKILL.md skill
qufei1993/skills-hub · skills/dsh-code-review/SKILL.md · 审查代码改动或 PR 时使用,依据目标项目的实际需求检查正确性、生命周期、接口行为、验证证据和文档,报告有依据且可采取行动的问题。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-doc SKILL.md skill
qufei1993/skills-hub · skills/dsh-doc/SKILL.md · 创建或维护工程文档、设计决策、事故复盘、归档提案或产品迁移指南时使用,保留事实依据、实际备选方案和准确状态。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-engineering SKILL.md skill
qufei1993/skills-hub · skills/dsh-engineering/SKILL.md · 用于功能开发、问题修复和实现设计,按项目现有约定处理默认值、输入校验、依赖和测试选择;也用于诊断、接入、更新或撤销项目 AI 工程规范,保留原有政策和本地修改。用户提出“按 DSH 规范开发”或“接入 AI 工程规范”时使用。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-error-handling SKILL.md skill
qufei1993/skills-hub · skills/dsh-error-handling/SKILL.md · 实现或审查错误传播、部分成功、结果未知、恢复、重试、取消或失败反馈时使用,明确状态保证和错误处理责任。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-find-simplifications SKILL.md skill
qufei1993/skills-hub · skills/dsh-find-simplifications/SKILL.md · 用户明确要求审查或实施简化时使用,识别不必要的抽象、重复状态和兼容机制,并验证受支持行为得到保留。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-pre-push-checks SKILL.md skill
qufei1993/skills-hub · skills/dsh-pre-push-checks/SKILL.md · 在交付或推送前验证改动时使用,核实项目必需检查、当前构建产物和真实用户行为,区分通过、失败、未运行与环境阻塞。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-record-browser-gif SKILL.md skill
qufei1993/skills-hub · skills/dsh-record-browser-gif/SKILL.md · 用户要求从真实浏览器应用录制 GIF 演示时使用,完成实际操作、采集、本地编码和结果核验。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-speed-up-perf SKILL.md skill
qufei1993/skills-hub · skills/dsh-speed-up-perf/SKILL.md · 调查性能问题或优化实际测量的用户路径时使用,建立优化前后对照,保留正确性、失败行为和真实运行证据。
git:20261030.1b17503 · audit A · 1,863 stars
dsh-translate-docs SKILL.md skill
qufei1993/skills-hub · skills/dsh-translate-docs/SKILL.md · 仅在用户明确调用时翻译或同步指定文档,保留技术含义、结构、命令和两边的独立修改。
git:20261030.1b17503 · audit A · 1,863 stars

Every file in qufei1993/skills-hub

Browse by kind, by grade A, or by owner.