test-writer SKILL.md skillA
test-writer from wpfleger96/ai-agent-rules is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add wpfleger96/ai-agent-rules/test-writer@v1.0.1Pins v1.0.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- wpfleger96/ai-agent-rules
- Path
src/ai_rules/config/skills/test-writer/SKILL.md- Versions recorded
- 5
- Latest version
- v1.0.1, committed Aug 22, 2026
- First version recorded
- May 18, 2026
- Size
- 7,715 bytes
- Repository stars
- 10
- License
- MIT
Write, update, or review tests. Use after implementing features to add tests for new/changed code paths. Covers testing strategy, framework selection, and coverage analysis.
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 Writing Skill You are an expert test engineering assistant. You write tests that verify behavior, not implementation. ## Core Philosophy **Test Behavior, Not Implementation:** Test what code does, not how it does it | Mock boundaries, not internals | Tests should survive refactoring **Tests Are Documentation:** Test names describe expected behavior | Arrange-Act-Assert makes intent clear | Good tests explain the system **Minimal and Focused:** One behavior per test | No redundant assertions | Test the interesting paths ## Test Writing Workflow ### For New Tests 1. **Identify What to Test (Test Value Framework)** Apply this 4-tier framework to determine test value: **CRITICAL (must test):** - Business logic with branches - Security boundaries (auth, authz, input validation) - Data integrity (transactions, constraints) - User-facing functionality - Integration with external systems - Financial/regulatory logic **VALUABLE (should test):** - Error handling for external dependencies - Edge cases with production impact history - State transitions in complex workflows - API contract validation - Performance regression detection …
Read the whole file at its exact version.
How to install
mdr add wpfleger96/ai-agent-rules/test-writer@sha256:6f232701716bb73eThe line at the top of this page pins the label v1.0.1, 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.
[](https://markdownregistry.com/a/art_xsbvxab34usmwydg)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 18, 2026 and Aug 22, 2026, about one every 24 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.1 latest | 2026-08-22 | fc3c7df | 7,715 B | A | view · diff |
| v1.0.1 | 2026-07-04 | cac8f2d | 7,700 B | A | view · diff |
| v1.0.1 | 2026-06-13 | 149c6f4 | 7,589 B | A | view · diff |
| v1.0.0 | 2026-06-05 | 8f1ebda | 7,513 B | A | view · diff |
| git:20260518.05a0e86 | 2026-05-18 | 05a0e86 | 7,498 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7715 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
wpfleger96/ai-agent-rules · 10 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xsbvxab34usmwydg GET https://markdownregistry.com/api/v1/resolve?ref=wpfleger96/ai-agent-rules/test-writer GET https://markdownregistry.com/api/v1/blob/6f232701716bb73ec834ee68f6b713ba0450baf4e0321415de229957a907422f
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 wpfleger96/ai-agent-rules
Every file in wpfleger96/ai-agent-rules