Skip to main content
skill CX Codex

improving-test-suites — Claude Code skill: tests and setup

improving-test-suites is a Claude Code skill that reviews test suites and focuses them on important behavior. It activates for requests to trim, rewrite, review, or strengthen tests.

no license 119 installs ★ 3 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add b-mendoza/agent-skills --skill improving-test-suites -a claude-code
Open on GitHub

What improving-test-suites does

The skill examines the specified test files and proposes a compact set of behavior checks. Subagents handle scoped review tasks and return short reports; the orchestrator turns them into an itemized change plan. Test changes require approval unless AUTO_APPROVE=true bypasses the plan-approval request.

After approved edits, it checks that each retained high-value behavior still has a named test, then runs validation. Repair is capped at three attempts. Set TARGET_TEST_FILES to identify the suite; TEST_COMMAND can provide the command used to run it.

What it helps with

  • trim tests that duplicate low-value implementation details
  • spot brittle checks tied to internal code structure
  • review coverage for contracts, schemas, or security behavior
  • verify important cases remain covered after test edits

Example prompts for the agent

  • Review tests/test_billing.py and keep tests for important behavior.
  • Trim brittle tests under tests/api/ without editing application files.
  • Review the schema and authorization tests, then propose a change plan.

How to install improving-test-suites

1Skills CLI (Vercel)

npx skills add b-mendoza/agent-skills --skill improving-test-suites -a claude-code

2Manually: put the files in place

~/.claude/skills/improving-test-suites/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/improving-test-suites/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about improving-test-suites

How do I install improving-test-suites in Claude Code?

Run npx skills add b-mendoza/agent-skills --skill improving-test-suites -a claude-code. The skill file is at ~/.claude/skills/improving-test-suites/SKILL.md.

What does improving-test-suites do?

It reviews a named test suite, proposes scoped changes, and checks that important behaviors remain covered after approved edits. It then validates the result and returns a handoff status.

Can improving-test-suites approve its plan automatically?

Set AUTO_APPROVE=true to bypass the plan-approval request. Other safeguards and validation still apply.

Similar skills

All skills for Testing and QA →

From the same set12

The whole set →
review-pull-request review-pull-request audits a single GitHub pull request across isolated stages, drafts a local Markdown report, and posts comments only when confirmed. CX Codex +1 161installs committing-scoped-changes committing-scoped-changes splits an explicit list of files or folders into separate git commits and leaves the rest of the working tree alone. CX Codex +1 153installs responding-to-pr-review-comments The responding-to-pr-review-comments skill gathers pull request comments, assesses the feedback, and drafts replies. With confirmation, it can post approved text to supported GitHub comment threads. CX Codex +1 144installs clarifying-assumptions clarifying-assumptions — a skill that runs the conversational layer for plan verification. Asks critical questions upfront or before individual tasks, delegates artifact analysis to subagents. CX Codex +1 129installs refactoring-code refactoring-code is a Claude Code skill that stages simplification refactors: approve the plan before edits, then check that behaviour stays the same. CX Codex +1 124installs diagnosing-root-causes The diagnosing-root-causes skill traces bugs, regressions, and CI/CD failures from supplied evidence, then produces a reviewed root-cause report. Use it when a problem report needs investigation rather than guesswork. CX Codex +1 122installs rewriting-code-strictly rewriting-code-strictly is a Claude Code skill that rewrites Python, TypeScript/JavaScript, or Go with stricter typing and boundary checks. It runs on requests to harden code or align it with static analysis tools. CX Codex +1 122installs planning-codebase-restructuring planning-codebase-restructuring is a Claude Code skill that maps a codebase and prepares a restructuring plan without changing files. It produces an evidence-backed report for a later implementation pass. CX Codex +1 100installs

Project sponsors

Companies that keep this analytics open