Borrowing it
Nothing to install: this file belongs to radix-ng/primitives. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/radix-ng/primitives/main/.claude/skills/testing/SKILL.mdgit clone --depth 1 https://github.com/radix-ng/primitivesWrote 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.
[](https://agentmods.dev/skills/radix-ng/primitives/testing)<a href="https://agentmods.dev/skills/radix-ng/primitives/testing"><img src="https://agentmods.dev/badge/skills/radix-ng/primitives/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.
<a href="https://agentmods.dev/skills/radix-ng/primitives/testing"><img src="https://agentmods.dev/badge/skills/radix-ng/primitives/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 175 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00184 | $0.03098 |
| Opus 5.5 | $0.00074 | $0.01239 |
| Sonnet 5.5 | $0.00037 | $0.00620 |
| Haiku 4.5 | $0.00018 | $0.00310 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Radix NG Primitives
First pick the layer, then write the test. Most bugs in this library are caught by Vitest unit
tests — but the suite runs in jsdom, which has no real layout (no box sizes, offsetHeight /
scroll metrics, flexbox resolution, getComputedStyle geometry, or floating-ui positioning), and
never opens an overlay the way a user does. Those gaps have their own layers. Match the change to the
layer below before writing anything.
Decision matrix — what changed → which layer
| The change you made / bug you fixed | Add / run the test here |
|---|---|
| Directive logic, state, signals, inputs/outputs, keyboard handlers, value/selection model | Unit — packages/primitives/<name>/__tests__/*.spec.ts |
ARIA roles / aria-* / label associations |
Unit + jest-axe in the same spec |
Layout / flex / overflow / scroll, part visibility ([hidden]), sizing, z-index |
Browser — apps/visual-regression/tests/<name>.behavior.spec.ts (jsdom is blind) |
Overlay positioning (side/align/collision), *rdxXxxPortal teleport target, anatomy nesting |
Browser — behavior.spec.ts (+ overlays.visual.spec.ts for the open-state look) |
A bug that throws only on open/interaction — NG0201 (missing provider), NG0951 (required query) |
Browser — behavior.spec.ts with pageerror/console listeners |
| Pixel-level visual / styling regression | Browser — *.visual.spec.ts screenshot baseline |
SSR render, hydration (ngh), SSR-stable ids, platform guards |
SSR — apps/radix-ssr-testing/src/ssr-rendering.spec.ts (+ keep the page current) |
| Render/update performance of a primitive | Perf — apps/radix-perf-testing/src/tests/<name>.bench.ts |
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.
- 2mo ago First seen · 200 lines · 184 tokens per session scan A 6af8796d8de2
testing is a skill published in the GitHub repository radix-ng/primitives (277 stars, last pushed 2d ago), licensed MIT. It adds 184 tokens to every session and 3,098 once invoked, about $0.0007 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.
testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| testingradix-ng/primitives | Skill | 277 | 2d ago | MIT | A | 184 | Claude Code |
| test-componentdb-ux-design-system/core-web | Skill | 137 | yesterday | none | A | 34 | Claude Code, Codex |
| testing-strategiesancoleman/ai-design-components | Skill | 527 | 11mo ago | MIT | A | 76 | Claude Code |
| fullstack-testing-and-quality-gatesvaquarkhan/Fullstack-development-agent-skills | Skill | 3 | 2mo ago | MIT | A | 37 | Claude Code |
| testing-strategyaneja5/forge-skills | Skill | 3 | 5mo ago | MIT | A | 53 | Claude Code |
| next-cache-components-optimizervercel/next.js | Skill | 143k | today | MIT | A | 123 | Claude Code |
| next-partial-prefetching-optimizervercel/next.js | Skill | 143k | today | MIT | A | 82 | Claude Code |