Claude Code testing automation
Commands, hooks, and skills for generating tests, running checks, enforcing TDD loops, and keeping Claude Code changes verifiable.
Commands, hooks, and skills for generating tests, running checks, enforcing TDD loops, and keeping Claude Code changes verifiable.
Compared at a glance
The top 5 picks side by side on trust, install, platform support, and disclosed notes — full rationale for each below.
3 trust signals differ across this comparison (Package trust, Source provenance, Submitter).
Next steps differ across picks — use the actions in the table below to copy install commands and source links per resource.
| Field | A user-created custom slash command that runs a red-green-refactor TDD loop in Claude Code: write failing tests first, implement until they pass, then refactor. Built with the documented custom-command frontmatter and $ARGUMENTS substitution, not a built-in feature. Open dossier | Community slash command runbook for adding minimal automated tests around a changed module: inspect the git diff, mirror repository test conventions, and draft focused unit or integration tests using Anthropic develop-tests guidance. Open dossier | Write and maintain reliable end-to-end tests with Playwright — Microsoft's browser automation library that auto-waits for actionable elements and runs the same suite against Chromium, Firefox, and WebKit. Open dossier | A user-created custom slash command for Claude Code that turns a file or function into a test suite. You create .claude/commands/generate-tests.md and invoke it with /generate-tests; it is a prompt recipe, not a built-in command, and uses no CLI flags. Open dossier | Build intelligent CI/CD pipelines with GitHub Actions, AI-assisted workflow generation, automated testing, and deployment orchestration. Open dossier |
|---|---|---|---|---|---|
| Next stepsDiffers | |||||
| Trust | |||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trustDiffers | Package not verified | Package not verified | Package verified2025-10-16 | Package not verified | Package verified2025-10-16 |
| Source provenanceDiffers | Source-backed | Submission linkedSource submission | No submission link | Source-backed | No submission link |
| SubmitterDiffers | — | kiannidev | — | — | — |
| Install risk | Review first | Review first | Low risk | Review first | Low risk |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Brand | — | — | — | — | |
| Category | commands | commands | skills | commands | skills |
| Source | Source-backed | Source-backed | First-party | Source-backed | First-party |
| Author | JSONbored | kiannidev | JSONbored | JSONbored | JSONbored |
| Added | 2025-10-25 | 2026-06-16 | 2025-10-16 | 2025-09-16 | 2025-10-16 |
| Platforms | |||||
| Harness | |||||
| Source repo | — | — | — | — | — |
| Safety notes | ✓The base recipe does not pre-approve Bash commands. Review the project's test scripts first, then approve the exact test command when Claude Code prompts or add a narrowly scoped command only after you trust it. Claude may create and edit test and source files as part of the loop (Read/Edit/Write). Run it in version control so changes are reviewable and reversible. If you extend the prompt with auto-commit or deploy steps, add explicit safety review; the base recipe does not commit or push. | ✓Generated tests are drafts; run the project's test command locally before committing. Do not add network calls, production credentials, or destructive setup to proposed tests. | ✓`npx playwright install --with-deps` downloads browser binaries (~500 MB for Chromium, Firefox, and WebKit) from Playwright's CDN and on Linux installs system-level packages. Review your network and environment policies before running in restricted infrastructure. Generated tests have full browser-level access to any URL they target. Review test scripts before running them against authenticated sessions or production environments — Playwright can submit forms, click buttons, and make network requests as a real user. | ✓The recipe asks Claude to run the test suite, which executes project code and test commands locally; review the source and tests before running, especially in an unfamiliar repository. If you add an allowed-tools field (e.g. Bash(npm test:*)), Claude can run those tool calls without a per-use permission prompt while the command is active. Scope it narrowly. Project-level .claude/commands files are shared via git and run for anyone who trusts the workspace; treat a checked-in command as executable content and review it before trusting the repo. | ✓Setup downloads and unzips a package, and generated workflows run build/test/deploy commands in CI with repository permissions; review workflow YAML and least-privilege the GITHUB_TOKEN before merging. |
| Privacy notes | ✓The command body can read project files via @ references and !`command` injection if you add them; only reference files you are comfortable sending to the model as prompt context. The base recipe asks you to inspect project test scripts instead of injecting package.json automatically. | ✓Use synthetic fixtures only; do not copy production logs or customer records into tests. | ✓Playwright runs entirely on your local machine. Traces, screenshots, and HTML test reports are written to local disk only and are not uploaded to Microsoft or any external service. Trace files and failure screenshots may capture sensitive content from the application under test (form data, rendered PII, session tokens visible in URLs). Store and rotate these files appropriately. | ✓Dynamic-injection lines (!`...`) and @file references send the output of shell commands and the contents of referenced files into the model context; avoid pointing them at files containing secrets, credentials, or other sensitive data. | ✓CI workflows read repository code and use secrets (API keys, deploy credentials, model keys); store them in GitHub Actions secrets, never in workflow files or logs, and review what third-party actions can access. |
| Prerequisites | — none listed |
|
| — none listed |
|
| Install | — | | | — | |
| Config | — | — | — | — | — |
| Citations | |||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
- 01
TDD Workflow Custom Command for Claude Code
A custom .claude/commands/tdd-workflow.md recipe that drives a red-green-refactor loop in Claude Code. Not a built-in command.
Invocation:Create .claude/commands/tdd-workflow.md, then run: /tdd-workflow add a slugify() helperAdded 8mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutTDD Workflow Custom Command for Claude Code is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 02
/targeted-test-generation - Targeted Test Generation Runbook
Draft minimal tests for a changed file using git diff and repo test conventions.
Invocation:/targeted-test-generation <file-or-symbol>Added 1mo agoSafety ✓ Privacy ✓by kiannidevWhy it made the cut/targeted-test-generation - Targeted Test Generation Runbook is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 03
Playwright E2E Testing Automation Skill
Playwright auto-waits for elements before acting, isolates every test context, and targets Chromium, Firefox, and WebKit from a single cross-platform API...
Level:advancedType:generalVerified:draftAdded 9mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutPlaywright E2E Testing Automation Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 04
Generate Tests Custom Command
Custom .claude/commands/generate-tests.md recipe that asks Claude Code to write unit and edge-case tests for the file you pass in. Not built-in; steered by prompt text, not flags.
Invocation:Create .claude/commands/generate-tests.md, then run: /generate-tests src/utils/discount.jsAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutGenerate Tests Custom Command is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 05
GitHub Actions AI-Powered CI/CD Automation Skill
Build intelligent CI/CD pipelines with GitHub Actions, AI-assisted workflow generation, automated testing, and deployment orchestration.
Level:advancedType:generalVerified:draftAdded 9mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutGitHub Actions AI-Powered CI/CD Automation Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 06
Playwright MCP Browser Automation Engineer Skill
Cross-platform browser task automation for AI agents using Playwright MCP with stability and observability built in.
Level:advancedType:generalVerified:draftAdded 3mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutPlaywright MCP Browser Automation Engineer Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 07
Google Workspace Gemini Automation Skill
Build practical Gemini + Workspace automations with safeguards, auditability, and business-ready output quality.
Level:advancedType:generalVerified:draftAdded 3mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutGoogle Workspace Gemini Automation Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 08
Code Test Runner Hook - Hooks
After an edit, runs the right test runner for that file — Jest/Vitest, pytest, go test, or Maven/Gradle — against the related tests.
Trigger:PostToolUseAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutCode Test Runner Hook - Hooks is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 09
Git Pre Commit Validator - Hooks
Comprehensive pre-commit hook that validates code quality, runs tests, and enforces standards.
Trigger:PreToolUseAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutGit Pre Commit Validator - Hooks is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 10
Test Coverage Final Report - Hooks
Generates a comprehensive test coverage report when the coding session ends.
Trigger:StopAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutTest Coverage Final Report - Hooks is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 11
Codex Automations Orchestrator Capability Pack Skill
Plan and operate recurring agent automations with deterministic prompts, guardrails, and output contracts.
Level:expertType:capability-packVerified:validatedAdded 3mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutCodex Automations Orchestrator Capability Pack Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 12
MCP Tool Contract Testing Skill
Test-first MCP tool validation for safer integrations, stronger reliability, and lower breakage risk.
Level:advancedType:generalVerified:draftAdded 3mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutMCP Tool Contract Testing Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 13
n8n Production Security Capability Pack Skill
Deep n8n production security skill for safe AI workflows, credential protection, and incident-ready operations.
Level:expertType:capability-packVerified:validatedAdded 3mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutn8n Production Security Capability Pack Skill is included because it has maintainer-built package, safety notes present, privacy notes present, first-party source posture.
- 14
/test-advanced - Advanced Test Planning Custom Command
Custom .claude/commands/test-advanced.md recipe for planning deeper, source-grounded test coverage without claiming a built-in Claude Code command.
Invocation:Create .claude/commands/test-advanced.md, then run: /test-advanced <file-or-function>Added 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cut/test-advanced - Advanced Test Planning Custom Command is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 15
Jest Snapshot Auto Updater - Hooks
Automatically updates Jest snapshots when component files are modified significantly.
Trigger:PostToolUseAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutJest Snapshot Auto Updater - Hooks is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 16
Playwright Test Runner - Hooks
Automatically runs Playwright E2E tests when test files or page components are modified.
Trigger:PostToolUseAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutPlaywright Test Runner - Hooks is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 17
React Test Generator
Automatically creates or updates test files when React components are modified.
Trigger:PostToolUseAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutReact Test Generator is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
- 18
Test Runner Hook - Hooks
Automatically run relevant tests when code changes are detected, with intelligent test selection and parallel execution.
Trigger:PostToolUseAdded 10mo agoSafety ✓ Privacy ✓by JSONboredWhy it made the cutTest Runner Hook - Hooks is included because it has safety notes present, privacy notes present, source-backed source posture.
Reach for insteadIf this will touch credentials, local files, or production systems, inspect the upstream source first.
Missing a pick? Propose an edit to this list — every change goes through the same review queue as new entries.
Suggest a pickGet the weekly brief
One calm read on Claude workflows. Sundays. No tracking pixels.
Unsubscribe any time. No tracking pixels. No partner blasts.