test-software SKILL.md skillA

test-software from phelan164/codex-howto is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add phelan164/codex-howto/test-software@git:20260731.42e092c

Pins git:20260731.42e092c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
phelan164/codex-howto
Path
skills/test-software/SKILL.md
Versions recorded
2
Latest version
git:20260731.42e092c, committed Jul 31, 2026
First version recorded
Jul 24, 2026
Size
2,036 bytes
Repository stars
20
License
MIT

Design, implement, and evaluate risk-based software tests across unit, integration, contract, end-to-end, and regression layers. Use when adding tests, reproducing bugs, improving coverage, diagnosing flaky tests, or defining a test strategy; do not use to change production behavior unless the user also requests implementation.

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

# Test Software

## Test contract

- Define the behavior, invariant, or defect before selecting a test layer.
- Use the lowest layer that observes the risk without hiding the integration
  boundary under test.
- Test behavior rather than private implementation details.
- Avoid snapshots that hide meaningful assertions.
- Do not mock the component whose integration contract is under test.
- Control time, randomness, concurrency, and external dependencies explicitly.
- Keep fixtures minimal and readable.
- Do not “fix” flaky tests by adding blind retries or sleeps.
- Do not claim a regression test without proving it fails against the broken behavior when feasible.
- Treat tests as potentially state-changing: they may write databases, queues,
  files, snapshots, browsers, or external sandboxes.
- Do not run tests against production, shared customer data, or external
  services without explicit authorization and a verified isolation strategy.
- Stop when the configured test target or cleanup behavior is ambiguous.

## Execute and report

Read [references/test-strategy.md](references/test-strategy.md) when choosing
test layers or specialized methods, investigating flakes, or planning
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add phelan164/codex-howto/test-software@sha256:72bc9a51a8acf62a

The line at the top of this page pins the label git:20260731.42e092c, 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_tc7wrhu5cmzsgro2.svg)](https://markdownregistry.com/a/art_tc7wrhu5cmzsgro2)

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

Versions

The registry has recorded 2 versions of this file, between Jul 24, 2026 and Jul 31, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260731.42e092c latest2026-07-31 42e092c 2,036 BA view · diff
git:20260724.a8a71482026-07-24 a8a7148 2,651 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 (2036 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

phelan164/codex-howto · 20 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tc7wrhu5cmzsgro2
GET https://markdownregistry.com/api/v1/resolve?ref=phelan164/codex-howto/test-software
GET https://markdownregistry.com/api/v1/blob/72bc9a51a8acf62a4eac76c86baf54d246cdc8382b695018a3a083d5c378cf31

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 phelan164/codex-howto

AGENTS.md AGENTS.md file
phelan164/codex-howto · AGENTS.md
git:20260915.dd80dad · audit A · 20 stars
AGENTS.md@examples AGENTS.md file
phelan164/codex-howto · examples/AGENTS.md
git:20260724.a8a7148 · audit A · 20 stars
evidence-review SKILL.md skill
phelan164/codex-howto · examples/plugin-marketplace/plugins/engineering-review/skills/evidence-review/SKILL.md · Review a small code or documentation change and return only evidence-backed correctness findings. Use in the Codex How…
git:20260724.a8a7148 · audit A · 20 stars
choose-engineering-flow SKILL.md skill
phelan164/codex-howto · examples/skills/choose-engineering-flow/SKILL.md · Select the smallest useful Codex engineering workflow from this repository's existing skills. Use when a task spans…
git:20260731.42e092c · audit A · 20 stars
AGENTS.md@labs/2048-game-benchmark AGENTS.md file
phelan164/codex-howto · labs/2048-game-benchmark/AGENTS.md
git:20260801.7da7a8e · audit A · 20 stars
AGENTS.md@labs/engineering-playground AGENTS.md file
phelan164/codex-howto · labs/engineering-playground/AGENTS.md
git:20260724.a8a7148 · audit A · 20 stars
AGENTS.md@labs/incident-response-benchmark AGENTS.md file
phelan164/codex-howto · labs/incident-response-benchmark/AGENTS.md
git:20260811.78209a9 · audit A · 20 stars
build-backend SKILL.md skill
phelan164/codex-howto · skills/build-backend/SKILL.md · Build or modify backend APIs, services, jobs, persistence, and integrations while preserving contracts, authorization…
git:20260731.42e092c · audit A · 20 stars
build-frontend SKILL.md skill
phelan164/codex-howto · skills/build-frontend/SKILL.md · Build or modify frontend interfaces using repository-native components while preserving accessibility, responsive…
git:20260731.42e092c · audit A · 20 stars
engineering-loop SKILL.md skill
phelan164/codex-howto · skills/engineering-loop/SKILL.md · Implement a repository code or configuration change through reproduction, focused checks, review, and evidence. Use for…
git:20260929.8a9da83 · audit A · 20 stars
maintain-codex-wiki SKILL.md skill
phelan164/codex-howto · skills/maintain-codex-wiki/SKILL.md · Maintain a review-first Markdown knowledge base for Codex practices with source provenance, engineering capture…
git:20260731.47f36fd · audit A · 20 stars
operate-devops SKILL.md skill
phelan164/codex-howto · skills/operate-devops/SKILL.md · Plan and implement infrastructure, CI/CD, container, deployment, observability, and operational configuration changes…
git:20260724.a8a7148 · audit A · 20 stars

Every file in phelan164/codex-howto

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