test-writer SKILL.md skillA

test-writer from hex/claude-council is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add hex/claude-council/test-writer@git:20260925.093f32a

Pins git:20260925.093f32a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
hex/claude-council
Path
mods/council-pane/specialists/test-writer/SKILL.md
Versions recorded
1
Latest version
git:20260925.093f32a, committed Sep 25, 2026
Size
4,532 bytes
Repository stars
892
License
MIT

The task is to add or extend tests for existing behaviour that has a spec, a documented contract, or a confirmed expected output.

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 Writer

Add tests that protect behaviour a user or caller relies on. Every test must
be able to fail for a real regression, and every expected value must come
from somewhere other than the code under test.

## Authoring gate

Before writing any test, answer these four questions in your notes. If one
has no answer, do not write that test; list it in the report instead.

1. What observable behaviour, invariant or contract does it protect?
   Observable means a caller can see it: a return value, output, file, HTTP
   response, error message, state change.
2. What credible regression would make it fail? Name the plausible bug.
3. Why does existing coverage not catch that already? Each contract should
   have one primary test at the strongest boundary that owns it. Another
   layer needs a distinct risk that the owner cannot reach. Prefer adding a
   case to an existing table or fixture over a near-duplicate test.
4. Does it need a production seam that no production caller needs, such as an
   extra export, a flag or an injection hook? If yes, test at the real
   boundary instead.

## Where expected values come from

In order of preference:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hex/claude-council/test-writer@sha256:1c7bfef9bb493eb2

The line at the top of this page pins the label git:20260925.093f32a, 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_qlosrc4ghdgq7zrh.svg)](https://markdownregistry.com/a/art_qlosrc4ghdgq7zrh)

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

Versions

The registry has recorded 1 version of this file, committed on Sep 25, 2026.

versioncommittedcommitsizeaudit
git:20260925.093f32a latest2026-09-25 093f32a 4,532 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 (4532 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

hex/claude-council · 892 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qlosrc4ghdgq7zrh
GET https://markdownregistry.com/api/v1/resolve?ref=hex/claude-council/test-writer
GET https://markdownregistry.com/api/v1/blob/1c7bfef9bb493eb27b5157aaf26f2465ed80cdabfc0d490cce1775cc4994b468

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 hex/claude-council

DESIGN.md@mods/council-pane DESIGN.md file
hex/claude-council · mods/council-pane/DESIGN.md
git:20261009.562fe4c · audit A · 892 stars
bug-fixer SKILL.md skill
hex/claude-council · mods/council-pane/specialists/bug-fixer/SKILL.md · A bug reproduces, the expected behaviour is clear, and the fix stands apart from the current work.
git:20260925.093f32a · audit A · 892 stars
ci-fixer SKILL.md skill
hex/claude-council · mods/council-pane/specialists/ci-fixer/SKILL.md · A CI job fails on a named revision and the fix belongs in code, config or tests, not in the CI provider.
git:20260925.093f32a · audit A · 892 stars
docs-updater SKILL.md skill
hex/claude-council · mods/council-pane/specialists/docs-updater/SKILL.md · Docs must be updated or restructured to match code that already changed: README, reference pages, CLI help or config…
git:20260925.093f32a · audit A · 892 stars
refactorer SKILL.md skill
hex/claude-council · mods/council-pane/specialists/refactorer/SKILL.md · A behaviour-preserving restructure is named: extract, rename, move, split a module, or remove duplication across three…
git:20260925.093f32a · audit A · 892 stars
test-pruner SKILL.md skill
hex/claude-council · mods/council-pane/specialists/test-pruner/SKILL.md · Tests in a named area duplicate stronger tests, re-assert the implementation, or keep test-only seams alive, and need…
git:20260925.093f32a · audit A · 892 stars
council-execution SKILL.md skill
hex/claude-council · skills/council-execution/SKILL.md · Executes council queries by running the query pipeline across selected AI providers (Gemini, OpenAI, Grok, Perplexity)…
git:20261001.67edf6d · audit A · 892 stars
deep-execution SKILL.md skill
hex/claude-council · skills/deep-execution/SKILL.md · Executes agent-enhanced council queries as one Workflow of parallel Claude analyst agents that each query a provider…
git:20260901.5014067 · audit A · 892 stars
local-council-execution SKILL.md skill
hex/claude-council · skills/local-council-execution/SKILL.md · Runs a local council when no external AI providers are configured. Spawns N independent Claude subagents (one per role…
git:20260616.e613527 · audit A · 892 stars
provider-integration SKILL.md skill
hex/claude-council · skills/provider-integration/SKILL.md · Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and…
git:20261018.9aa258b · audit A · 892 stars

Every file in hex/claude-council

Other files named test-writer

test-writer SKILL.md skill
nguyenthienthanh/aura-frog · aura-frog/skills/test-writer/SKILL.md · Write tests with TDD following structured patterns. Ensures consistent AAA structure, proper coverage targets, and…
git:20260515.6be9f59 · audit A · 25 stars
test-writer SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/test-writer/SKILL.md · Write, update, or review tests. Use after implementing features to add tests for new/changed code paths. Covers testing…
v1.0.1 · audit A · 10 stars
test-writer SKILL.md skill
wst2002/claude-code-skills · skills/test-writer/SKILL.md · Use when asked to write tests, add unit or integration tests, increase test coverage, test existing untested code, or…
git:20261016.55bd98a · audit A · 3 stars

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