Home / jpcaparas / skills · skills/testing/maintainable-tests/SKILL.md · GitHub

maintainable-tests skillA

maintainable-tests is agent-read markdown (skill) from jpcaparas/skills: 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..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns 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

What are you doing?

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

- Fixing a bug or adding regression coverage:
  Read `references/legacy-and-characterization.md`. The test should explain the broken scenario, expected behavior, and why this coverage remains valuable after the fix.

- Covering edge cases:
…

Read the whole file at its exact version.

How to install

Latest version
mdr add jpcaparas/skills/maintainable-tests@v1.1.0
Exact content
mdr add jpcaparas/skills/maintainable-tests@sha256:39382c3e62d03f3a

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zg6fa3dnqlglaftp.svg)](https://markdownregistry.com/a/art_zg6fa3dnqlglaftp)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.1.0 latest2026-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. Deterministic, no model, 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 (12835 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 · 51 stars · license none · pushed 2026-09-20 · 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/39382c3e62d03f3aa1c812078720131b7afa6126c8b1dedae19b97d765151242

Your agent 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.

More from jpcaparas/skills

AGENTS.md agents
jpcaparas/skills · AGENTS.md
git:20260913.3aa4c9a · audit A · 51 stars
AGENTS.md@skills/agents/bootstrap-agents-md agents
jpcaparas/skills · skills/agents/bootstrap-agents-md/AGENTS.md
git:20260912.938fe03 · audit A · 51 stars
bootstrap-agents-md skill
jpcaparas/skills · skills/agents/bootstrap-agents-md/SKILL.md · Bootstrap or refresh root AGENTS.md and CLAUDE.md.
git:20260912.938fe03 · audit A · 51 stars
AGENTS.md@skills/agents/bootstrap-agents-md/evals/files/ledgerbird agents
jpcaparas/skills · skills/agents/bootstrap-agents-md/evals/files/ledgerbird/AGENTS.md
git:20260912.938fe03 · audit A · 51 stars
CLAUDE.md@skills/agents/bootstrap-agents-md/evals/files/ledgerbird claude
jpcaparas/skills · skills/agents/bootstrap-agents-md/evals/files/ledgerbird/CLAUDE.md
git:20260912.938fe03 · audit B · 51 stars
AGENTS.md@skills/agents/scaffold-github-cloud-agent-environment agents
jpcaparas/skills · skills/agents/scaffold-github-cloud-agent-environment/AGENTS.md
git:20260912.938fe03 · audit A · 51 stars
scaffold-github-cloud-agent-environment 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 · 51 stars
AGENTS.md@skills/agents/scaffold-hooks agents
jpcaparas/skills · skills/agents/scaffold-hooks/AGENTS.md
git:20260912.938fe03 · audit A · 51 stars
scaffold-hooks 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:20260912.938fe03 · audit A · 51 stars
AGENTS.md@skills/agents/secure-ai-agent-coding agents
jpcaparas/skills · skills/agents/secure-ai-agent-coding/AGENTS.md
git:20260912.938fe03 · audit A · 51 stars
secure-ai-agent-coding 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 · 51 stars
AGENTS.md@skills/agents/skill-creator-advanced agents
jpcaparas/skills · skills/agents/skill-creator-advanced/AGENTS.md
git:20260912.938fe03 · audit A · 51 stars

Every file in jpcaparas/skills

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