test-optimization

Analyze Python and JavaScript test suites for speed bottlenecks and DRY violations.

1|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/bryonjacob/aug --skill test-optimization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-optimization
Source: https://github.com/bryonjacob/aug/tree/main/aug-dev/skills/test-optimization
Command: npx skills add https://github.com/bryonjacob/aug --skill test-optimization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes test suites to identify speed bottlenecks, redundancy, and DRY violations, enabling faster feedback and maintainable tests.

Core Features & Use Cases

  • Speed analysis: detect slow tests, propose mocking, fixture reuse, and computation caching.
  • Redundancy detection: find overlapping or duplicate tests and suggest consolidation.
  • DRY improvements: highlight opportunities to parameterize, fixtures, and helper functions.

Quick Start

Analyze a codebase's test suite to identify optimization opportunities and generate a prioritized plan for remediation.

Frequently Asked Questions about test-optimization

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

FAQPage Schema
How do I find and fix bottlenecks in my slow test suite?

To optimize a slow test suite, parse test results and source code to identify speed bottlenecks, proposing actionable changes like mocking and fixture reuse to accelerate execution.

How do I reduce redundancy and DRY violations in unit and integration tests?

Reduce redundancy and DRY violations in unit and integration tests by detecting overlapping or duplicate tests and highlighting opportunities to parameterize fixtures and helper functions. This suggests consolidating tests to maintain quality.

Can I analyze both Python and JavaScript test suites for optimization opportunities?

Yes, you can analyze both Python and JavaScript test suites to identify optimization opportunities across unit and integration tests. It parses test results, source code, and configurations to propose concrete changes for speed and maintainability.

What is the best way to propose parameterization and mocking for flaky tests?

The best way to propose parameterization and mocking for flaky tests is to parse test source code and configuration files to generate a prioritized remediation plan. This highlights fixture reuse and computation caching to clean up test suites.

Does test suite optimization work with vitest and pytest frameworks?

Yes, test suite optimization works with vitest and pytest frameworks by analyzing test results and configurations to identify speed bottlenecks and DRY violations. It provides actionable suggestions for fixture reuse and parameterization across these environments.