trw-test-strategy

Audit test coverage gaps and strategy weaknesses across a codebase.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/wallter/trw-mcp --skill trw-test-strategy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trw-test-strategy
Source: https://github.com/wallter/trw-mcp/tree/main/src/trw_mcp/data/codex/skills/trw-test-strategy
Command: npx skills add https://github.com/wallter/trw-mcp --skill trw-test-strategy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit test coverage and strategy for software projects to identify untested modules, coverage gaps, and opportunities to improve quality.

Core Features & Use Cases

  • Workflow-driven audit of test suites across a project, including scope selection (specific module or all sources).
  • Run coverage checks using the project's test runner (e.g., pytest) to obtain current results and coverage metrics.
  • Analyze project tests by locating test files, mapping them to source modules, and surfacing missing tests and coverage gaps.
  • Identify uncovered functions, branches, and edge cases; generate actionable recommendations and improvement plans.
  • Verify convention alignment (fixtures usage, test markers, async patterns, and PRD traceability notes) to enforce project standards.

Quick Start

Run the skill with /trw-test-strategy <module> or 'all' to audit test coverage and receive actionable gaps and recommendations.

Frequently Asked Questions about trw-test-strategy

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

FAQPage Schema
How do I audit test coverage gaps across my entire codebase?

Test coverage auditing identifies untested modules and missing branches by scanning project sources and tests, generating a detailed remediation plan to improve quality.

How do I find missing pytest tests for a specific module?

Locate missing pytest tests by mapping test files to the specific source module, surfacing uncovered functions and edge cases to generate actionable improvement recommendations.

Does the test coverage audit work with my existing pytest and mypy test runner integration?

Yes, the test coverage audit requires integration with the project's pytest and mypy test runner, alongside coverage tooling, to obtain current metrics and produce gap mappings.

How do I verify pytest fixture conventions and PRD traceability notes during a test audit?

Verify convention alignment by checking fixture usage, test markers, async patterns, and PRD traceability notes to enforce project standards and expose strategy weaknesses.

What is the best way to map coverage gaps to concrete remediation actions?

The best way to map coverage gaps to actions is scanning coverage reports and PRD traceability notes, identifying uncovered branches, and generating an actionable improvement plan.