e11y-tdd

e11y-tdd is a skill for Claude Code from lessthanseventy/excessibility. It costs 39 tokens per session (1,179 once invoked), scanned A, original, MIT.

A test-driven development guide for Phoenix LiveView, a framework for interactive web pages in Elixir. TDD means writing checks before or alongside the code, while HTML snapshots show what the page renders and accessibility checks find problems for people with disabilities.

In plain words
What is it for?
Use it to inspect LiveView output during interactions, write tests around rendered states, debug changes, and run accessibility validation.
Why use it?
It makes page state and accessibility issues visible while you build and test a feature.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the excessibility plugin — 3 skills shipped together

Good fit Use it to inspect LiveView output during interactions, write tests around rendered states, debug changes, and run accessibility validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lessthanseventy/excessibility/e11y-tdd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lessthanseventy/excessibility --skill e11y-tdd
Clone the repo
git clone --depth 1 https://github.com/lessthanseventy/excessibility

Made for: Claude Code.

Or install excessibility, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for e11y-tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/lessthanseventy/excessibility/e11y-tdd/github.svg)](https://agentmods.dev/skills/lessthanseventy/excessibility/e11y-tdd)
Your own site
<a href="https://agentmods.dev/skills/lessthanseventy/excessibility/e11y-tdd"><img src="https://agentmods.dev/badge/skills/lessthanseventy/excessibility/e11y-tdd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for e11y-tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/lessthanseventy/excessibility/e11y-tdd"><img src="https://agentmods.dev/badge/skills/lessthanseventy/excessibility/e11y-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01179
Opus 5 $0.00019 $0.00589
Sonnet 5 $0.00008 $0.00236
Haiku 4.5 $0.00004 $0.00118

Measured 10d ago against content hash ccc8fdc112e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

e11y-tdd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

priv/claude-plugin/skills/e11y-tdd/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Excessibility TDD - Build with Inspection

Build Phoenix LiveView features with full visibility into rendered HTML and state.

Core Powers

  • html_snapshot(view) - Capture HTML at any point (sprinkle liberally while building)
  • axe-core checks - Ensure accessibility (WCAG compliance)
  • Timeline analysis - See state evolution across events

The e11y-TDD Cycle

1. EXPLORE   - Add html_snapshot(view) calls to see what's rendered
2. RED       - Write test with snapshot at key moment
3. GREEN     - Implement feature, use snapshots to debug
4. CHECK     - Run `mix excessibility` for axe-core/a11y validation
5. CLEAN     - Remove temporary snapshots, keep essential ones

Snapshot Strategies

Temporary Snapshots (for building/debugging)

Sprinkle these while building. Delete when feature works.

test "building new feature" do
  {:ok, view, _html} = live(conn, "/page")

  # Sprinkle these to see what's happening
  html_snapshot(view)  # <- see initial state

  view |> element("button") |> render_click()
  html_snapshot(view)  # <- see after click

  view |> form("#my-form") |> render_submit(%{name: "test"})
  html_snapshot(view)  # <- see after submit

  # Delete these when feature works
end

Permanent Snapshots (for regression testing)

Keep these - axe-core will check them on every run.

test "feature works and is accessible" do
  {:ok, view, _html} = live(conn, "/page")
  view |> element("button") |> render_click()

  # Keep this - axe-core will check it on every run
  html_snapshot(view)
end

When to Use

  • Building any LiveView feature - snapshots show you what's rendered
  • Debugging state issues - sprinkle snapshots, inspect, delete
  • Accessibility compliance - axe-core catches WCAG violations
  • Form implementations - see validation errors, field states
  • Modals/dialogs - verify focus management, aria attributes
  • Dynamic content - check aria-live regions render correctly

Read the full file on GitHub · 183 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 183 lines · 39 tokens per session scan A ccc8fdc112e5

Subscribe to this mod's changes

e11y-tdd is a skill published in the GitHub repository lessthanseventy/excessibility (42 stars, last pushed 7d ago), licensed MIT. It adds 39 tokens to every session and 1,179 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.