unit-test SKILL.md skillB
unit-test from oprogramadorreal/optimus-claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add oprogramadorreal/optimus-claude/unit-test@git:20260924.b779cddPins git:20260924.b779cdd in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- oprogramadorreal/optimus-claude
- Path
skills/unit-test/SKILL.md- Versions recorded
- 9
- Latest version
- git:20260924.b779cdd, committed Sep 24, 2026
- First version recorded
- Jul 27, 2026
- Size
- 8,418 bytes
- Repository stars
- 75
- License
- MIT
Improves unit test coverage — discovers testing gaps and writes new tests that follow project conventions. Requires /optimus:init to have set up test infrastructure. Conservative — only adds new tests, never modifies existing test logic or source code; untestable code is flagged for /optimus:refactor. For an automated multi-cycle coverage loop, use /optimus:deep coverage.
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
# Unit Test Coverage Improvement Improve unit test coverage for existing code. An optional path argument scopes the run. ## Step 1: Pre-flight ### Inline harness mode detection If your invocation prompt body contains `HARNESS_MODE_INLINE`, you are a single cycle (unit-test phase) inside the `/optimus:deep coverage` orchestrator. Read `$CLAUDE_PLUGIN_ROOT/references/coverage-harness-mode.md` and follow its "Unit-Test Phase Execution" section — that section governs which of the steps below run and how this run ends. ### Prerequisites and project docs If `git rev-parse --is-inside-work-tree` does not return `true`, read `$CLAUDE_PLUGIN_ROOT/skills/init/references/multi-repo-detection.md` and apply it. When it returns `true`, resolve the repository root with `git rev-parse --show-toplevel`, including in a linked worktree or subdirectory. In a multi-repo workspace, run Steps 1–5 independently inside each repo that has `.claude/CLAUDE.md` and report results per repo; if no repo is initialized, suggest running `/optimus:init` first from the workspace root. …
Read the whole file at its exact version.
How to install
mdr add oprogramadorreal/optimus-claude/unit-test@sha256:b1650c36ca99c5fdThe line at the top of this page pins the label git:20260924.b779cdd, 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_f4a66eno44p3qlpr)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Jul 27, 2026 and Sep 24, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260924.b779cdd latest | 2026-09-24 | b779cdd | 8,418 B | B | view · diff |
| git:20260924.ada2454 | 2026-09-24 | ada2454 | 8,402 B | B | view · diff |
| git:20260924.1dabbcc | 2026-09-24 | 1dabbcc | 9,770 B | B | view · diff |
| git:20260909.63879c3 | 2026-09-09 | 63879c3 | 9,807 B | B | view · diff |
| git:20260728.6373eea | 2026-07-28 | 6373eea | 9,655 B | B | view · diff |
| git:20260727.f03d285 | 2026-07-27 | f03d285 | 9,335 B | B | view · diff |
| git:20260727.65c3faa | 2026-07-27 | 65c3faa | 9,898 B | B | view · diff |
| git:20260727.d28559f | 2026-07-27 | d28559f | 10,332 B | B | view · diff |
| git:20260727.fa96566 | 2026-07-27 | fa96566 | 9,917 B | B | view |
Audit of the latest version
- fail: Frontmatter declares a name
- pass: Frontmatter block present
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8418 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
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
oprogramadorreal/optimus-claude · 75 stars · license MIT · pushed 2026-09-28 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_f4a66eno44p3qlpr GET https://markdownregistry.com/api/v1/resolve?ref=oprogramadorreal/optimus-claude/unit-test GET https://markdownregistry.com/api/v1/blob/b1650c36ca99c5fded30c218f104fa4f70e4ef5f275c4b3f4657cfc43ed28d48
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 oprogramadorreal/optimus-claude
Every file in oprogramadorreal/optimus-claude