testing SKILL.md skillA

testing from oliver-kriska/claude-elixir-phoenix is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add oliver-kriska/claude-elixir-phoenix/testing@git:20260724.daea640

Pins git:20260724.daea640 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
oliver-kriska/claude-elixir-phoenix
Path
targets/codex/skills/testing/SKILL.md
Versions recorded
3
Latest version
git:20260724.daea640, committed Jul 24, 2026
First version recorded
Jul 21, 2026
Size
2,913 bytes
Repository stars
572
License
MIT

Write or repair Elixir tests with ExUnit, sandbox isolation, async; Use.

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

# Elixir Testing Reference

> **Ash projects**: Use `DataCase` with `Ash.Test` helpers; test actions via domain code interfaces, not direct `Repo` calls. See `ash-framework` skill.

Quick reference for Elixir testing patterns.

## Iron Laws — Never Violate These

1. **ASYNC BY DEFAULT** — Use `async: true` unless tests modify global state
2. **SANDBOX ISOLATION** — All database tests use Ecto.Adapters.SQL.Sandbox
3. **MOCK ONLY AT BOUNDARIES** — Never mock database, internal modules, or stdlib
4. **BEHAVIOURS AS CONTRACTS** — All mocks must implement a defined `@callback` behaviour
5. **BUILD BY DEFAULT** — Use `build/2` in factories; `insert/2` only when DB needed
6. **NO PROCESS.SLEEP** — Use `assert_receive` with timeout for async operations
7. **VERIFY_ON_EXIT!** — Always call in Mox tests setup
8. **FACTORIES MATCH SCHEMA REQUIRED FIELDS** — Factory definitions must include all fields that have `validate_required` in the schema changeset. Missing fields cause cascading test failures

## Quick Decisions

### Which Test Case?

| Testing | Use |
|---------|-----|
| Controller/API | `use MyAppWeb.ConnCase` |
| Context/Schema | `use MyApp.DataCase` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add oliver-kriska/claude-elixir-phoenix/testing@sha256:a36ee8b86b439330

The line at the top of this page pins the label git:20260724.daea640, 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_64fbllkuonfyis5h.svg)](https://markdownregistry.com/a/art_64fbllkuonfyis5h)

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

Versions

The registry has recorded 3 versions of this file, between Jul 21, 2026 and Jul 24, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20260724.daea640 latest2026-07-24 daea640 2,913 BA view · diff
git:20260723.d82e8e52026-07-23 d82e8e5 2,902 BA view · diff
git:20260721.1a431372026-07-21 1a43137 2,955 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 (2913 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

oliver-kriska/claude-elixir-phoenix · 572 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_64fbllkuonfyis5h
GET https://markdownregistry.com/api/v1/resolve?ref=oliver-kriska/claude-elixir-phoenix/testing
GET https://markdownregistry.com/api/v1/blob/a36ee8b86b4393306c1c39f16d9641b56e01ee67ec66fe4363972eb60604c901

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 oliver-kriska/claude-elixir-phoenix

cc-changelog SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/cc-changelog/SKILL.md · CONTRIBUTOR TOOL - Track CC changelog, extract new versions since last check, analyze impact on plugin (breaking…
git:20260611.6992d66 · audit A · 572 stars
codex-ab SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/codex-ab/SKILL.md · Run an A/B codex review experiment — holistic codex review vs 3 focused dimension passes (security, ecto, liveview) on…
git:20260710.9a61290 · audit A · 572 stars
docs-check SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/docs-check/SKILL.md · CONTRIBUTOR TOOL - Validate plugin against latest Claude Code documentation. Catches breaking changes, deprecations…
git:20260217.1cf0144 · audit A · 572 stars
plugin-dev-workflow SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/plugin-dev-workflow/SKILL.md · Guide plugin development workflow — editing skills, agents, hooks, or eval framework in this repo. Use when modifying…
git:20261001.8fc26af · audit A · 572 stars
promote SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/promote/SKILL.md · Generate X/Twitter release promotion posts with ASCII tables and CodeSnap rendering. Use when writing release posts…
git:20260403.784ba36 · audit A · 572 stars
release SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/release/SKILL.md · CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on…
git:20260929.978317b · audit A · 572 stars
session-deep-dive SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/session-deep-dive/SKILL.md · Deep qualitative analysis of high-signal sessions. Spawns subagents with v2 template, synthesizes patterns, compares…
git:20260303.db45ce1 · audit A · 572 stars
session-scan SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/session-scan/SKILL.md · Compute metrics for Claude Code sessions. Discovers via ccrider, filters trivial, computes…
git:20260303.db45ce1 · audit A · 572 stars
session-trends SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/session-trends/SKILL.md · Analyze trends across session metrics. Computes windowed aggregates, deltas, and compares against MEMORY.md findings…
git:20260508.18aaa0f · audit A · 572 stars
skill-monitor SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/skill-monitor/SKILL.md · Analyze skill effectiveness across sessions. Computes per-skill metrics (action rate, friction, outcomes), identifies…
git:20260508.9272353 · audit A · 572 stars
CLAUDE.md CLAUDE.md file
oliver-kriska/claude-elixir-phoenix · CLAUDE.md
git:20261102.4621ae4 · audit A · 572 stars
lab:autoresearch SKILL.md skill
oliver-kriska/claude-elixir-phoenix · lab/autoresearch/SKILL.md · Self-improving loop for plugin skills. Reads program.md, proposes one mutation per iteration, evaluates against…
git:20260325.91f9837 · audit A · 572 stars

Every file in oliver-kriska/claude-elixir-phoenix

Other files named testing

testing SKILL.md skill
garrytan/gbrain · skills/testing/SKILL.md · Skill validation framework PLUS daily test-suite health and regression intelligence. Validates skill conformance…
v1.1.0 · audit A · 31,463 stars
testing SKILL.md skill
davepoon/buildwithclaude · plugins/cc-best/skills/testing/SKILL.md · Testing strategies and methodologies including TDD, E2E testing, and multi-framework support
git:20260307.6b5172a · audit A · 3,704 stars
testing SKILL.md skill
live-codes/livecodes · .agents/skills/livecodes/testing/SKILL.md · Write and run automated tests with Jest and Testing Library in the browser. Import code from script editor, use watch…
git:20260914.daf8be4 · audit A · 1,526 stars
testing SKILL.md skill
team-commonly/commonly · fleet-skills/testing/SKILL.md · Testing and code quality context for Jest, React Testing Library, ESLint, and test patterns. Use when writing tests or…
git:20261031.de1e176 · audit A · 1,375 stars
testing Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/testing.mdc · Rules for writing Jest tests in TypeScript
git:20250301.62fad3c · audit A · 922 stars
testing SKILL.md skill
rsmdt/the-startup · plugins/team/skills/development/testing/SKILL.md · Writing effective tests and running them successfully. Covers layer-specific mocking rules, test design principles…
git:20260225.c94494b · audit A · 577 stars
testing SKILL.md skill
oliver-kriska/claude-elixir-phoenix · plugins/elixir-phoenix/skills/testing/SKILL.md · Write or repair Elixir tests with ExUnit, sandbox isolation, async reliability, Mox, ExMachina, and LiveViewTest. Use…
git:20260724.daea640 · audit A · 572 stars
testing SKILL.md skill
oliver-kriska/claude-elixir-phoenix · targets/amp/skills/testing/SKILL.md · Write or repair Elixir tests with ExUnit, sandbox isolation, async reliability,
git:20260724.daea640 · audit A · 572 stars

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