maintainable-code SKILL.md skillA

maintainable-code 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-code@v2.0.0

Pins v2.0.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/engineering/maintainable-code/SKILL.md
Versions recorded
3
Latest version
v2.0.0, committed Sep 25, 2026
First version recorded
Sep 12, 2026
Size
27,083 bytes
Repository stars
56
License
none declared

Guide maintainable, resilient, test-double-friendly code: clear names, decomposition, safe defaults, idempotency, bounded retries, observability, and quality gates. Use for production code, jobs, queues, webhooks, APIs, refactors, reviews, plans, CI, config, or dependency-heavy code and tests. 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-code

Write, edit, and review code so a human maintainer can understand it, test it, and change it later without decoding cleverness, debug production failures without attaching a debugger, and replace dependencies in tests without distorting the production design.

This skill unifies three concerns that used to be separate skills: general maintainability, production-app resilience (jobs, queues, retries, observability), and mockability (dependency boundaries and test doubles).

## Passive Trigger

Load this skill in the background whenever the task involves source code, even if the user does not mention maintainability. This includes production-facing runtime behavior such as background workers, scheduled tasks, webhooks, payment flows, imports/exports, notifications, API integrations, database state transitions, caches, file uploads, queues, cron, auth/session flows, logging, tracing, alerting, or reliability behavior. It also includes any behavior that depends on collaborators, I/O, time, randomness, persistence, configuration, network calls, SDKs, process state, or framework context.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jpcaparas/skills/maintainable-code@sha256:5754ec666ea589db

The line at the top of this page pins the label v2.0.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_u4e4nkxyaziv46yj.svg)](https://markdownregistry.com/a/art_u4e4nkxyaziv46yj)

3 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
v2.0.0 latest2026-09-25 692d684 27,083 BA view · diff
v2.0.02026-09-15 12d6015 25,914 BA view · diff
v1.1.02026-09-12 938fe03 12,067 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 (27083 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_u4e4nkxyaziv46yj
GET https://markdownregistry.com/api/v1/resolve?ref=jpcaparas/skills/maintainable-code
GET https://markdownregistry.com/api/v1/blob/5754ec666ea589db54c6e0c52f5a23e8fff53c1bb723701528a6943539edffa3

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.