mutation-testing SKILL.md skillA
mutation-testing from lixiuxiu559/agentforge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add lixiuxiu559/agentforge/mutation-testing@git:20261009.171c8e9Pins git:20261009.171c8e9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- lixiuxiu559/agentforge
- Path
skills/mutation-testing/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261009.171c8e9, committed Oct 9, 2026
- First version recorded
- Sep 23, 2026
- Size
- 3,121 bytes
- Repository stars
- 4
- License
- MIT
通过项目已有突变测试工具审计现有测试能否发现代码逻辑错误。用户要求运行突变测试、分析存活突变体或无覆盖突变体时使用。支持 Java、Python、Go、JavaScript、TypeScript;只报告,不修改代码或测试。业务测试用例设计与场景充分性评估由 test-design 负责。.
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
# 测试有效性审计 ## 目标 通过突变测试回答: > 如果把生产代码中的一小段逻辑改错,现有测试能不能失败? 重点发现: - **存活突变体**:代码被改动后测试仍然通过 - **无覆盖代码**:突变工具无法执行到相关逻辑 - **测试断言不足**:测试执行了代码,但没有验证关键结果 ## 委派 需要独立上下文时,用宿主通用子 agent 工具实际派发。传入目标项目的绝对路径、范围/基线、约束、所需技能资源的绝对路径和交付要求(资源不可读时附必要方法);子 agent 只做分配的任务,回报证据、完成状态与未验证项。仅在任务及文件/工具产物互不冲突时并行;无派发能力时自行执行并说明。 ## 支持范围 本技能至少支持以下语言。支持的含义是:能够识别项目、选择对应的既有工具配置、限定目标范围、执行工具并统一解读报告;**不负责自动安装突变测试工具**。 | 语言 | 首选工具 | 适配文档 | |---|---|---| | Java | PIT | `references/java-pitest.md` | | Python | mutmut | `references/python-mutmut.md` | | Go | go-mutesting | `references/go-mutesting.md` | | JavaScript | Stryker | `references/javascript-stryker.md` | | TypeScript | Stryker | `references/typescript-stryker.md` | 如果项目已经配置了其他工具(如 cosmic-ray、gremlins),优先遵循项目现有配置,并在报告中说明实际使用的工具。 ## 执行 1. 目标按用户指定 > 指定 git 基线 > 最近改动确定;没有目标时询问,不默认全量运行。 2. 识别项目已有的突变工具与配置,按语言读取上表对应 reference。只选择目标源码,排除测试和生成代码;工具无法精确过滤时说明实际范围与成本。 3. 确认工具的隔离和恢复机制后执行现有配置。不要擅自安装工具或创建新配置;结束后核对并清理本次工具产生的临时源码变更和报告,保留用户已有改动。 4. 重点分析 `survived`(测试未发现错误)与 `no-coverage`(目标逻辑未执行)。构建、测试或工具失败应标为结果不完整,不能当作通过。 ## 输出报告 重点报告: - 目标范围和实际运行范围 - 识别到的语言、构建系统和突变工具 - 实际执行的命令 - 存活突变体:位置、突变类型、原始逻辑、为什么测试没有失败 - 无覆盖代码:模块、方法、建议补充的测试场景 - 工具输出是否完整 - 未解决的环境问题 ## 边界 …
Read the whole file at its exact version.
How to install
mdr add lixiuxiu559/agentforge/mutation-testing@sha256:63d7ce504beb2286The line at the top of this page pins the label git:20261009.171c8e9, 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.
[](https://markdownregistry.com/a/art_gflev5rpqjhsdvr6)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 23, 2026 and Oct 9, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.171c8e9 latest | 2026-10-09 | 171c8e9 | 3,121 B | A | view · diff |
| git:20260928.1f1d004 | 2026-09-28 | 1f1d004 | 3,075 B | A | view · diff |
| git:20260923.a58b418 | 2026-09-23 | a58b418 | 4,296 B | A | view · diff |
| git:20260923.e5d9c6e | 2026-09-23 | e5d9c6e | 2,758 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3121 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
lixiuxiu559/agentforge · 4 stars · license MIT · pushed 2026-10-31 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gflev5rpqjhsdvr6 GET https://markdownregistry.com/api/v1/resolve?ref=lixiuxiu559/agentforge/mutation-testing GET https://markdownregistry.com/api/v1/blob/63d7ce504beb2286fad60e4aba7562f4c857df9998e54d559408d3dea420f806
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 lixiuxiu559/agentforge
Every file in lixiuxiu559/agentforge