unit-test-wizard SKILL.md skillA

unit-test-wizard from mpagot/os-autoinst-distri-opensuse-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mpagot/os-autoinst-distri-opensuse-skills/unit-test-wizard@git:20260528.5134fab

Pins git:20260528.5134fab in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mpagot/os-autoinst-distri-opensuse-skills
Path
skills/unit-test-wizard/SKILL.md
Versions recorded
1
Latest version
git:20260528.5134fab, committed May 28, 2026
Size
4,414 bytes
Repository stars
4
License
none declared

Writes and reviews OSADO Perl unit tests for library modules in lib/. Activate when the user asks to "write a test", "add unit tests", "scaffold a test file", "review this test", "check test quality", or needs help with Test::MockModule, dies_ok assertions, or subtest structure.

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

<instructions>
You help an OSADO developer write and review unit tests for Perl library
modules. Tests follow established patterns documented in
`references/ut_rules.md` -- read it when you need the full pattern catalog.

## Tools

Script paths are relative to this skill's installed directory.

* `scripts/scaffold_test.pl` -- Analyzes a `.pm` module and generates a
  complete `.t` test file skeleton with proper imports, mocking, and subtests.
* `scripts/review_test.pl` -- Audits an existing `.t` file against the
  best practices checklist and reports pass/fail per item.

Both scripts accept `--repo`, `--json`, `--verbose`, and `--help`.

## Generate Mode

Use when the user asks to write tests for a library module.

1. **Identify the module path.** Ask if unclear. Must be relative to the
   OSADO repo root (e.g., `lib/mypackage/module.pm`).
2. **Run the scaffold script:**
   ```bash
   perl scripts/scaffold_test.pl --repo /path/to/osado lib/mypackage/module.pm
   ```
   This outputs a complete `.t` file to stdout. Use `--output` to write
   directly to a file, or `--json` to get structured module info.
3. **Review and customize the output.** The skeleton is a starting point:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mpagot/os-autoinst-distri-opensuse-skills/unit-test-wizard@sha256:420d45dc349c960c

The line at the top of this page pins the label git:20260528.5134fab, 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_toboilesbjmlyr2i.svg)](https://markdownregistry.com/a/art_toboilesbjmlyr2i)

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

Versions

The registry has recorded 1 version of this file, committed on May 28, 2026.

versioncommittedcommitsizeaudit
git:20260528.5134fab latest2026-05-28 5134fab 4,414 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 (4414 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

mpagot/os-autoinst-distri-opensuse-skills · 4 stars · license none declared · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_toboilesbjmlyr2i
GET https://markdownregistry.com/api/v1/resolve?ref=mpagot/os-autoinst-distri-opensuse-skills/unit-test-wizard
GET https://markdownregistry.com/api/v1/blob/420d45dc349c960cb12a383e684dc5639a56dfe277149953bf06e3536bdbe55c

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 mpagot/os-autoinst-distri-opensuse-skills

AGENTS.md AGENTS.md file
mpagot/os-autoinst-distri-opensuse-skills · AGENTS.md
git:20261006.16d109e · audit B · 4 stars
git-commit SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/git-commit/SKILL.md · Helps write OSADO-compliant git commit messages for staged changes. Activate when the user asks to "commit", "write…
git:20260526.9ed4a07 · audit A · 4 stars
github-pr-create SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/github-pr-create/SKILL.md · Creates a GitHub pull request from staged git changes, handling commit, push, and PR creation in one workflow. Activate…
git:20260526.9ed4a07 · audit A · 4 stars
local-lint-test SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/local-lint-test/SKILL.md · Recommends the fastest local commands to validate edited OSADO code before pushing. Activate when the user asks "how do…
git:20260519.bf31c37 · audit A · 4 stars
openqa-log-analyzer SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/openqa-log-analyzer/SKILL.md · A specialized skill for analyzing openQA logs — triage failures, measure command timing, detect infrastructure lag…
git:20260925.608003e · audit A · 4 stars
openqa-log-fetcher SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/openqa-log-fetcher/SKILL.md · Fetches, caches, and inspects logs, test artifacts, and job metadata from openQA instances. Activate when the user asks…
git:20260925.608003e · audit A · 4 stars
test-catalog SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/test-catalog/SKILL.md · Add or audit a Perldoc documentation header on an OSADO test module following the test catalog standard. Use when a…
git:20260514.1fada60 · audit A · 4 stars
vr-planner SKILL.md skill
mpagot/os-autoinst-distri-opensuse-skills · skills/vr-planner/SKILL.md · Plans how to verify the changes committed on an os-autoinst-distri-opensuse (OSADO) branch. Use this skill when the…
git:20260925.ed5d5fb · audit A · 4 stars

Every file in mpagot/os-autoinst-distri-opensuse-skills

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