write-tests SKILL.md skillA

write-tests from justxor/claude-code-pro-course is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add justxor/claude-code-pro-course/write-tests@git:20260930.92d4796

Pins git:20260930.92d4796 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
justxor/claude-code-pro-course
Path
starter-kit/.claude/skills/write-tests/SKILL.md
Versions recorded
1
Latest version
git:20260930.92d4796, committed Sep 30, 2026
Size
1,493 bytes
Repository stars
311
License
MIT

Пишет unit-тесты для указанного файла или функции в стиле существующих тестов проекта. Используй, когда просят добавить тесты, покрыть код тестами или проверить граничные случаи.

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

# Write tests

Цель: $ARGUMENTS

1. Найди тестовый фреймворк и 1–2 существующих теста рядом — повторяй их стиль, структуру и расположение.
2. Прочитай тестируемый код. Составь список сценариев:
   - основной (happy path)
   - граничные значения (пусто, 0, отрицательные, очень большие, unicode)
   - ошибки и исключения
   - взаимодействие с зависимостями (моки — только для внешних систем)
3. Покажи список сценариев одной строкой каждый, затем напиши тесты.
4. Запусти только новые тесты. Если тест падает из-за бага в коде — НЕ подгоняй тест, а сообщи о баге.
5. Итог: сколько тестов, что покрыто, какие баги найдены.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add justxor/claude-code-pro-course/write-tests@sha256:3c471736029d6547

The line at the top of this page pins the label git:20260930.92d4796, 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_ui2hds35ooodq2k6.svg)](https://markdownregistry.com/a/art_ui2hds35ooodq2k6)

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

Versions

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

versioncommittedcommitsizeaudit
git:20260930.92d4796 latest2026-09-30 92d4796 1,493 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 (1493 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

justxor/claude-code-pro-course · 311 stars · license MIT · pushed 2026-10-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ui2hds35ooodq2k6
GET https://markdownregistry.com/api/v1/resolve?ref=justxor/claude-code-pro-course/write-tests
GET https://markdownregistry.com/api/v1/blob/3c471736029d6547b902426f8e7b888d293da39a5997873a289c12fb50f2f6cf

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 justxor/claude-code-pro-course

CLAUDE.md CLAUDE.md file
justxor/claude-code-pro-course · CLAUDE.md
git:20260930.76c4189 · audit A · 311 stars
review SKILL.md skill
justxor/claude-code-pro-course · plugin-example/skills/review/SKILL.md · Ревью изменений с фокусом на безопасность по стандартам команды. Используй перед мерджем или по просьбе проверить…
git:20260930.92d4796 · audit A · 311 stars
code-review SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/code-review/SKILL.md · Ревью изменений в текущей ветке относительно main. Используй, когда просят проверить код, сделать ревью, найти проблемы…
git:20260930.92d4796 · audit A · 311 stars
commit SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/commit/SKILL.md · Создаёт git-коммит в формате Conventional Commits по текущим изменениям. Используй, когда просят закоммитить или…
git:20260930.92d4796 · audit A · 311 stars
fix-issue SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/fix-issue/SKILL.md · Полный цикл исправления GitHub issue по номеру - анализ, тест, исправление, коммит.
git:20260930.92d4796 · audit A · 311 stars
onboard SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/onboard/SKILL.md · Проводит онбординг нового разработчика в проект - обзор архитектуры, запуск, ключевые потоки и первая задача…
git:20260930.76c4189 · audit A · 311 stars
pr-description SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/pr-description/SKILL.md · Готовит заголовок и описание pull request по изменениям в ветке. Используй, когда просят описать PR, подготовить pull…
git:20260930.76c4189 · audit A · 311 stars
refactor SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/refactor/SKILL.md · Безопасный рефакторинг маленькими шагами без изменения поведения. Используй, когда просят отрефакторить, упростить…
git:20260930.76c4189 · audit A · 311 stars
release-notes SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/release-notes/SKILL.md · Генерирует release notes / CHANGELOG между двумя тегами или от последнего тега. Используй, когда просят release notes…
git:20260930.76c4189 · audit A · 311 stars
CLAUDE.md@starter-kit CLAUDE.md file
justxor/claude-code-pro-course · starter-kit/CLAUDE.md
git:20260930.92d4796 · audit A · 311 stars

Every file in justxor/claude-code-pro-course

Other files named write-tests

write-tests SKILL.md skill
dzhng/skills · skills/engineering/write-tests/SKILL.md · Write tests that pin real behavior instead of implementation details, config values, or lucky samples. Use when adding…
git:20261021.8e74252 · audit A · 1,377 stars
write-tests SKILL.md skill
cowork-os/cowork-os · resources/skills/write-tests/SKILL.md · Generate unit tests for existing code
v1.0.0 · audit A · 496 stars
write-tests SKILL.md skill
dzhng/duet-agent · .agents/skills/write-tests/SKILL.md · Write tests that pin real behavior instead of implementation details, config values, or lucky samples. Use when adding…
git:20261021.e955131 · audit A · 50 stars
write-tests SKILL.md skill
henrigrimm/minnow · src/skills/write-tests/SKILL.md · Generate deterministic tests matching project style. Use when adding or fixing test coverage.
git:20261007.306e7f0 · audit A · 25 stars
write-tests SKILL.md skill
qa-aman/claude-skills · skills/by-role/engineer/write-tests/SKILL.md · Write unit and integration tests. Use when the user says "write tests for this", "add test coverage", "how do I test…
git:20260303.09b1726 · audit A · 21 stars
write-tests SKILL.md skill
greglas75/zuvo · skills/write-tests/SKILL.md · Write tests for existing production code. Processes ONE file at a time through a full pipeline: analyze, inventory…
git:20261016.4de0a83 · audit A · 7 stars

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