testing-patterns SKILL.md skillA

testing-patterns from svngoku/coding-agents-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add svngoku/coding-agents-skills/testing-patterns@git:20260813.4b33420

Pins git:20260813.4b33420 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
svngoku/coding-agents-skills
Path
skills/testing-patterns/SKILL.md
Versions recorded
1
Latest version
git:20260813.4b33420, committed Aug 13, 2026
Size
12,105 bytes
Repository stars
12
License
MIT

Plan, write, and maintain automated tests in any language, with worked examples in Python and JavaScript/TypeScript. Use this skill whenever the user wants to write or plan tests, apply TDD (red-green-refactor), structure unit tests with arrange-act-assert and given-when-then naming, choose between fakes, stubs, and mocks, set up dependency injection for testability, build integration tests with testcontainers, database seeding, or transaction rollback, write Playwright or Cypress end-to-end…

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

# Testing Patterns

Automated tests are how a codebase stays safe to change. This language-agnostic skill tells you what to test, where each test belongs, and how to keep the suite fast and reliable — with worked examples in Python (pytest, Hypothesis, factory_boy, testcontainers) and JavaScript/TypeScript (Vitest, Jest, fast-check, Playwright).

## Quick Reference

| Task | Reference |
|------|-----------|
| pytest fixtures & parametrization, factory_boy, Hypothesis, coverage.py, mutmut | [python-testing.md](references/python-testing.md) |
| Vitest/Jest mocking, fast-check, Playwright config & selectors, testcontainers-node | [js-ts-testing.md](references/js-ts-testing.md) |
| CI parallelization, flaky-test triage, rerun policies, quarantine | [flaky-tests-ci.md](references/flaky-tests-ci.md) |

## Test Pyramid

Many fast, isolated unit tests at the bottom; fewer slower integration tests in the middle; a handful of slow, brittle end-to-end tests at the top.

| Layer | Scope | Speed | Typical count | Catches |
|-------|-------|-------|---------------|---------|
| Unit | one function/class | ms | hundreds+ | logic errors, edge cases |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add svngoku/coding-agents-skills/testing-patterns@sha256:0bba2c368e822df4

The line at the top of this page pins the label git:20260813.4b33420, 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_c7qppbeaijiaidgw.svg)](https://markdownregistry.com/a/art_c7qppbeaijiaidgw)

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

Versions

The registry has recorded 1 version of this file, committed on Aug 13, 2026.

versioncommittedcommitsizeaudit
git:20260813.4b33420 latest2026-08-13 4b33420 12,105 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 (12105 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

svngoku/coding-agents-skills · 12 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_c7qppbeaijiaidgw
GET https://markdownregistry.com/api/v1/resolve?ref=svngoku/coding-agents-skills/testing-patterns
GET https://markdownregistry.com/api/v1/blob/0bba2c368e822df401f9b218c0f38caaa34afd36966ed7a98caf9c9ae885f0a3

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 svngoku/coding-agents-skills

AGENTS.md AGENTS.md file
svngoku/coding-agents-skills · AGENTS.md
git:20261019.1a0654c · audit A · 12 stars
adaption-ai SKILL.md skill
svngoku/coding-agents-skills · skills/adaption-ai/SKILL.md · Adaption AI SDK for synthetic data augmentation and dataset adaptation. Use when building data pipelines with the…
git:20261013.980e7e1 · audit A · 12 stars
api-design SKILL.md skill
svngoku/coding-agents-skills · skills/api-design/SKILL.md · Design and review intuitive, scalable, maintainable HTTP APIs. Use this skill whenever the user wants to design a new…
git:20260813.4b33420 · audit A · 12 stars
database-design SKILL.md skill
svngoku/coding-agents-skills · skills/database-design/SKILL.md · Design relational database schemas (and choose when to go NoSQL) that stay maintainable and fast. Use this skill…
git:20260813.4b33420 · audit A · 12 stars
ddd SKILL.md skill
svngoku/coding-agents-skills · skills/ddd/SKILL.md · Domain-Driven Design system for software development. Use when designing new systems with DDD principles, refactoring…
git:20261013.980e7e1 · audit A · 12 stars
genai-tk SKILL.md skill
svngoku/coding-agents-skills · skills/genai-tk/SKILL.md · Build GenAI and agentic apps with genai-tk (tclatos/genai-tk), a YAML-driven IoC toolkit over LangChain, DeepAgents…
git:20261013.09dd77b · audit A · 12 stars
langchain SKILL.md skill
svngoku/coding-agents-skills · skills/langchain/SKILL.md · Build AI agents with LangChain v1 and LangGraph in Python. Use this skill whenever the user mentions LangChain…
git:20261018.63db2d6 · audit A · 12 stars
microservices-patterns SKILL.md skill
svngoku/coding-agents-skills · skills/microservices-patterns/SKILL.md · Decompose systems into microservices and apply canonical distributed-systems patterns. Use this skill whenever the user…
git:20260813.4b33420 · audit A · 12 stars
performance-optimization SKILL.md skill
svngoku/coding-agents-skills · skills/performance-optimization/SKILL.md · Systematically find and fix performance problems in applications, frontend and backend, by measuring first. Use this…
git:20260813.4b33420 · audit A · 12 stars
prime-rl SKILL.md skill
svngoku/coding-agents-skills · skills/prime-rl/SKILL.md · Post-train LLMs with PrimeIntellect's prime-rl (async RL, SFT, distillation, evals). Use this skill whenever the user…
git:20261013.5def5e6 · audit B · 12 stars
scalingo SKILL.md skill
svngoku/coding-agents-skills · skills/scalingo/SKILL.md · Scalingo is a European (French) Platform-as-a-Service for deploying and operating web applications, background workers…
git:20261014.c555fef · audit A · 12 stars
security-best-practices SKILL.md skill
svngoku/coding-agents-skills · skills/security-best-practices/SKILL.md · Practical security review and hardening guidance for application code in Python, JavaScript/TypeScript, and Go. Use…
git:20260813.4b33420 · audit A · 12 stars

Every file in svngoku/coding-agents-skills

Other files named testing-patterns

testing-patterns SKILL.md skill
aiskillstore/marketplace · skills/0xdarkmatter/testing-patterns/SKILL.md · Cross-language testing strategies and patterns. Triggers on: test pyramid, unit test, integration test, e2e test, TDD…
git:20260113.222b7de · audit A · 439 stars
testing-patterns SKILL.md skill
yonatangross/orchestkit · plugins/ork/skills/testing-patterns/SKILL.md · Redirect — testing-patterns was split into 5 focused sub-skills. Use when looking for testing-patterns, writing tests…
v2.0.0 · audit A · 296 stars
testing-patterns SKILL.md skill
vodailocz/kilo-kit-mcp · skills/engineering/testing-patterns/SKILL.md · Testing patterns and principles. Unit, integration, mocking strategies.
git:20260502.38d5305 · audit A · 28 stars

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