maintainable-tests SKILL.md skillA

maintainable-tests from jpcaparas/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jpcaparas/skills/maintainable-tests@v1.1.0

Pins v1.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jpcaparas/skills
Path
skills/testing/maintainable-tests/SKILL.md
Versions recorded
3
Latest version
v1.1.0, committed Sep 25, 2026
First version recorded
Sep 12, 2026
Size
14,479 bytes
Repository stars
56
License
none declared

Guide maintainable tests as behavior documentation with isolated side effects, compatibility coverage, and reliable assertions. Use for tests, fixtures, mocks, regressions, reviews, and testability changes. Skip disposable work.

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

# maintainable-tests

Write, edit, refactor, and review tests so a developer returning months later can understand the behavior, the edge cases, and the reason each important test exists.

## Passive Trigger

Load this skill in the background whenever the task involves automated tests, examples used as tests, fixtures, mocks, stubs, fakes, test data builders, regression coverage, characterization tests, flaky tests, or production-code changes made to improve testability. Keep it lightweight for small edits: apply the core rules silently, then mention only the test-design decisions that affect the final implementation.

## Decision Tree

Consult the relevant reference only when a non-obvious test-design decision needs more detail than these rules or local examples provide. A matching topic does not require a reference read.

- Adding tests for new behavior:
  Name each test after the user-visible rule or domain invariant, then use concrete examples that teach the behavior. Consult `references/principles.md` or `references/naming-and-intent.md` if intent is unclear.

- Fixing a bug or adding regression coverage:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jpcaparas/skills/maintainable-tests@sha256:f1b220d8e7234c5b

The line at the top of this page pins the label v1.1.0, 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_zg6fa3dnqlglaftp.svg)](https://markdownregistry.com/a/art_zg6fa3dnqlglaftp)

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

Versions

The registry has recorded 3 versions of this file, between Sep 12, 2026 and Sep 25, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
v1.1.0 latest2026-09-25 692d684 14,479 BA view · diff
v1.1.02026-09-15 12d6015 12,835 BA view · diff
v1.1.02026-09-12 938fe03 12,865 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 (14479 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

jpcaparas/skills · 56 stars · license none declared · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zg6fa3dnqlglaftp
GET https://markdownregistry.com/api/v1/resolve?ref=jpcaparas/skills/maintainable-tests
GET https://markdownregistry.com/api/v1/blob/f1b220d8e7234c5b08ef0a08cf92ac4982351b79a0aafaaf5cbf7ca16096c4b5

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 jpcaparas/skills

AGENTS.md AGENTS.md file
jpcaparas/skills · AGENTS.md
git:20261029.2f2b9a8 · audit A · 56 stars
AGENTS.md@skills/agents/bootstrap-agents-md AGENTS.md file
jpcaparas/skills · skills/agents/bootstrap-agents-md/AGENTS.md
git:20260912.938fe03 · audit A · 56 stars
bootstrap-agents-md SKILL.md skill
jpcaparas/skills · skills/agents/bootstrap-agents-md/SKILL.md · Bootstrap or refresh root AGENTS.md and CLAUDE.md.
git:20260925.692d684 · audit A · 56 stars
AGENTS.md@skills/agents/bootstrap-agents-md/evals/files/ledgerbird AGENTS.md file
jpcaparas/skills · skills/agents/bootstrap-agents-md/evals/files/ledgerbird/AGENTS.md
git:20260912.938fe03 · audit A · 56 stars
CLAUDE.md@skills/agents/bootstrap-agents-md/evals/files/ledgerbird CLAUDE.md file
jpcaparas/skills · skills/agents/bootstrap-agents-md/evals/files/ledgerbird/CLAUDE.md
git:20260912.938fe03 · audit B · 56 stars
AGENTS.md@skills/agents/scaffold-github-cloud-agent-environment AGENTS.md file
jpcaparas/skills · skills/agents/scaffold-github-cloud-agent-environment/AGENTS.md
git:20260912.938fe03 · audit A · 56 stars
scaffold-github-cloud-agent-environment SKILL.md skill
jpcaparas/skills · skills/agents/scaffold-github-cloud-agent-environment/SKILL.md · Audit and scaffold `.github/workflows/copilot-setup-steps.yml` for GitHub Copilot cloud agent environments. Use for…
v1.0.0 · audit A · 56 stars
AGENTS.md@skills/agents/scaffold-hooks AGENTS.md file
jpcaparas/skills · skills/agents/scaffold-hooks/AGENTS.md
git:20260912.938fe03 · audit A · 56 stars
scaffold-hooks SKILL.md skill
jpcaparas/skills · skills/agents/scaffold-hooks/SKILL.md · Run /scaffold-hooks to audit, create, or refresh shared repository hooks for Claude Code, Codex, GitHub Copilot, Devin…
git:20260927.4267727 · audit A · 56 stars
AGENTS.md@skills/agents/secure-ai-agent-coding AGENTS.md file
jpcaparas/skills · skills/agents/secure-ai-agent-coding/AGENTS.md
git:20260912.938fe03 · audit A · 56 stars
secure-ai-agent-coding SKILL.md skill
jpcaparas/skills · skills/agents/secure-ai-agent-coding/SKILL.md · Build, review, or harden AI agents, LLM apps, RAG, tool-calling, coding agents, and agentic workflows with…
v1.0.0 · audit A · 56 stars
AGENTS.md@skills/agents/skill-creator-advanced AGENTS.md file
jpcaparas/skills · skills/agents/skill-creator-advanced/AGENTS.md
git:20260912.938fe03 · audit A · 56 stars

Every file in jpcaparas/skills

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