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.
npx skills add TheBeardedBearSAS/claude-craft --skill testinggit clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craftWrote 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/thebeardedbearsas/claude-craft/testing)<a href="https://agentmods.dev/skills/thebeardedbearsas/claude-craft/testing"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/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/thebeardedbearsas/claude-craft/testing"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/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 MCP Rug Pull · line 59 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00000 | $0.01184 |
| Opus 5.5 | $0.00000 | $0.00474 |
| Sonnet 5.5 | $0.00000 | $0.00237 |
| Haiku 4.5 | $0.00000 | $0.00118 |
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 5d 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing - Principes TDD/BDD (2026)
Principes universels de testing pour toutes les technologies du framework Claude-Craft.
Principes fondamentaux
- TDD Cycle: RED → GREEN → REFACTOR
- Couverture cible: >= 80%
- Pyramide: Unit (70%) > Integration (20%) > E2E (10%)
- Pattern: Arrange-Act-Assert (AAA)
- Nommage: Tests descriptifs expliquant le comportement
Outils recommandés 2026
| Stack | Unit/Composants | E2E/Browser | Mutation Testing |
|---|---|---|---|
| JS/TS/React | Vitest 5 (Browser Mode stable) | Playwright | Stryker |
| PHP/Laravel/Symfony | Pest 5 (PHPUnit 13, PHP 8.4+, Browser Testing) | Playwright via Pest | Infection |
| Python | pytest 9.x + Ruff 0.17+ | Playwright | Mutmut |
| Flutter | flutter_test + bloc_test 10+ | Patrol 4 | built-in |
| React Native | RNTL 14 + Jest | Maestro (ou Detox) | Stryker |
Sources : Vitest Browser Mode, Pest 5 Upgrade Guide, Stryker Mutator
Stratégies 2026
Vitest 5 — Browser Mode stable
Abandonner JSDOM lourd. Chromium/Firefox/WebKit natifs.
// vitest.config.ts
import { defineConfig } from 'vitest/config';
import { playwright } from '@vitest/browser-playwright';
export default defineConfig({
test: {
browser: {
enabled: true,
provider: playwright(),
instances: [{ browser: 'chromium' }], // ou 'firefox', 'webkit'
},
},
});
Source : Vitest Browser Mode
Mutation Testing — "Coverage ment, mutation scores disent la vérité"
Tester la qualité des tests. Mutation score >= 80%.
# Stryker (JS/TS/C#)
npx stryker run
# Infection (PHP)
vendor/bin/infection --min-msi=80
# Mutmut (Python)
mutmut run
Source : Stryker Mutator
What ships with it
2 files 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.
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.
- 5d ago Changed · +21 lines bd4f524322c4
- 1mo ago First seen · 127 lines · 0 tokens per session scan A b680d21d6c1b
testing is a skill published in the GitHub repository TheBeardedBearSAS/claude-craft (107 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,184 tokens. 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-09-03.
Other skills, from other repositories
outside-in-tdd
Use when writing tests from the outside-in, defining behavior before code, or any feature where tests should start from observable business behavior and let internal design emerge.
agent-e2e-test-specialist
Specialist subagent: Playwright, Cypress, and visual regression testing specialist. Use only when the user explicitly asks for E2E tests, browser test automation, or visual regression testing. Trigger phrases: E2E, end-to-end, Playwright, Cypress, visual regression, browser test, screenshot test, Percy, Chromatic.
agent-test-generator
Specialist subagent: Generates comprehensive test suites using TDD patterns. Use only when the user explicitly asks for tests, improved coverage, or test-first development.
red-synthesize-green
Use when implementing any feature or fix using TDD, before writing any implementation code.
founder-mode
End-to-end product builder with founder mindset. Orchestrates 9 phases: idea evaluation → architecture → TDD → implementation → E2E → verification → analysis → GTM. Produces a launched product with README, pitch, tweet thread, and Product Hunt draft. Use when: build product, founder mode, full lifecycle, idea to…
test-execution
Run unit and integration tests, generate coverage reports, and view results. Use to validate code changes before committing or merging.