improving-tests

Review Go, Python, and TypeScript test suites and refactor tests into table-driven or parametrized forms.

35|5|Updated Jul 5, 2025
One-click install
npx skills add https://github.com/alexei-led/cc-thingz --skill improving-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: improving-tests
Source: https://github.com/alexei-led/cc-thingz/tree/main/plugins/dev-workflow/skills-codex/improving-tests
Command: npx skills add https://github.com/alexei-led/cc-thingz --skill improving-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improve test quality by reviewing test structure, identifying gaps (missing edge cases, non-table-driven tests), refactoring to table-driven or parametrized form, adding missing coverage, and verifying tests pass after changes.

Core Features & Use Cases

  • Step-by-step workflow to audit test suites across Go, Python, and TypeScript, detect anti-patterns, and propose concrete refactoring strategies.
  • Supports multi-phase modes: review, refactor, coverage, and full, with sequential guidance and guardrails to ensure tests remain green.
  • Integrates coverage analysis by outlining how to run language-specific tests and measure coverage improvements, plus actionable next steps.

Quick Start

Follow the on-screen prompts to choose a mode (review, refactor, coverage, or full) and begin by scanning your repository's test layout.

Frequently Asked Questions about improving-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor existing tests into table-driven or parametrized forms?

Refactor tests into table-driven forms by auditing your test suite structure, identifying duplicate logic and anti-patterns, and consolidating them into parametrized cases. This applies to Go, Python, and TypeScript test suites to increase coverage and remove redundancy.

What is the best way to identify missing edge cases in my test suite?

Identify missing edge cases by running a structured review mode that scans your repository's test layout, detects structural gaps, and outlines actionable refactoring strategies to ensure comprehensive coverage across your codebase.

Can I use this workflow to improve test coverage for both Go and TypeScript?

Yes, you can improve test coverage for Go, Python, and TypeScript. The workflow integrates language-specific coverage analysis, running tests and measuring improvements while providing sequential guidance to ensure tests remain green after changes.

How do I verify tests pass after refactoring them to be table-driven?

Verify tests pass after refactoring by following the built-in guardrails and stepwise guidance that enforce running your test suites post-change. This workflow ensures your test pass rate is checked before finalizing any structural improvements.