noodle: Skill for Claude Code

.agents/skills/testing/SKILL.md

testing is a skill for Claude Code, Codex from poteto/noodle. It costs 68 tokens per session (660 once invoked), scanned A, original, MIT.

A test-driven development workflow for Noodle, where a failing test is written before changing code. Test-driven development, or TDD, uses tests to describe the problem and confirm the fix.

In plain words
What is it for?
Use it when fixing bugs, adding tests or fixtures, or running the test suite. It guides reproduction, failing-test creation, fixture setup, code changes, and verification with the project's test commands.
Why use it?
It makes bugs reproducible and helps prevent them from returning later. Separate tests and fixes also make the change easier to verify.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is poteto/noodle's own configuration. It tells Claude Code and Codex how to work on noodle itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything noodle configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/scaffold-fixture.sh <package-dir> <fixture-name> [state-count].

Reuse

Borrowing it

Nothing to install: this file belongs to poteto/noodle. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/poteto/noodle/main/.agents/skills/testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/poteto/noodle

Made for: Claude Code, Codex.

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/poteto/noodle/testing/github.svg)](https://agentmods.dev/skills/poteto/noodle/testing)
Your own site
<a href="https://agentmods.dev/skills/poteto/noodle/testing"><img src="https://agentmods.dev/badge/skills/poteto/noodle/testing/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 testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/poteto/noodle/testing"><img src="https://agentmods.dev/badge/skills/poteto/noodle/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 660 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.
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.00068 $0.00660
Opus 5.5 $0.00027 $0.00264
Sonnet 5.5 $0.00014 $0.00132
Haiku 4.5 $0.00007 $0.00066

Measured 1mo ago against content hash 38ed7bc2db7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

testing 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 1mo 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.

.agents/skills/testing/SKILL.md · 90 lines

How it starts

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

Testing

Test-driven by default. Prove the problem before solving it.

Core Workflow: Bug First

  1. Reproduce — Run the failing scenario and observe the actual behavior
  2. Write a failing test — Minimal reproduction as a test case
  3. Commit the failing test — Use Skill(commit) with message like test: reproduce #issue-description
  4. Fix the code — Only now attempt the fix
  5. Verify — Run pnpm test and confirm the test passes
  6. Commit the fix — Separate commit from the test

This applies to all bug fixes. The failing test proves the bug exists and prevents regressions.

Fixture Tests

Noodle uses directory-based fixtures in testdata/. Read references/fixtures.md for full format, helper API, and code patterns.

Creating a New Fixture

./scripts/scaffold-fixture.sh <package-dir> <fixture-name> [state-count]

Fill in the generated input.json/input.ndjson and expected.md, then:

pnpm fixtures:hash:sync

Bug Fixtures

See references/fixtures.md for full bug fixture format (frontmatter fields, expected error sections, and the fix workflow).

Key Commands

Command Purpose
pnpm test Run all tests
pnpm test:short Skip integration tests
pnpm check Full local CI (test + vet + lint + fixtures)
pnpm bugs List fixtures marked as known bugs
pnpm fixtures:loop Verify loop fixtures match expected
pnpm fixtures:loop:record Regenerate loop fixture expected output
pnpm fixtures:hash Verify fixture input hashes
pnpm fixtures:hash:sync Update fixture input hashes
pnpm vet Run go vet
pnpm lint:arch Architecture lint (file sizes, legacy patterns)

Running Specific Tests

# Single package
go test ./loop

# Single test
go test ./loop -run TestLoopDirectoryFixtures

# Bypass cache
go test -count=1 ./parse

# With race detector
go test -race ./...

# Verbose
go test -v ./tui

Read the full file on GitHub · 90 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 90 lines · 68 tokens per session scan A 38ed7bc2db7b

Subscribe to this mod's changes

testing is a skill published in the GitHub repository poteto/noodle (529 stars, last pushed 7mo ago), licensed MIT. It adds 68 tokens to every session and 660 once invoked, about $0.0003 per session on Opus 5.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.