graph-tests

Audit test strategies using Test Pyramid, FIRST principles, and coverage analysis.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/luissimon96/orchestration-devops-agents --skill graph-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-tests
Source: https://github.com/luissimon96/orchestration-devops-agents/tree/main/.agents/skills/graph-tests
Command: npx skills add https://github.com/luissimon96/orchestration-devops-agents --skill graph-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill unit helps identify gaps in test coverage, validate the shape of the test pyramid, and ensure adherence to TDD discipline, providing a comprehensive audit of test quality.

Core Features & Use Cases

  • Test Strategy Audit: Utilizes Test Pyramid, FIRST principles, and coverage analysis to ensure a robust testing framework.
  • Test Coverage Analysis: Checks for statement, branch, function, and line coverage, reporting files and modules below threshold.
  • Test Pyramid Shape Validation: Verifies the pyramid's unit, integration, and E2E test ratios, flagging inverted pyramids.
  • FIRST Principles Audit: Reviews test files against principles of Fast, Independent, Repeatable, Self-validating, and Timely execution.
  • Missing Test Detection: Identifies modules without test coverage, including public exported functions.
  • Test Quality Check: Reviews test files for structure, mocks, naming conventions, and no test pollution.
  • Edge Case Coverage: Ensures happy paths, error paths, boundary conditions, and async error handling are covered.
  • Test Report Compilation: Outputs a detailed report including suite, coverage, pyramid, FIRST score, gaps, and quality grade.

Quick Start

Run the graph-tests skill to audit your project's test quality, ensuring a robust test suite and adherence to best practices.

Frequently Asked Questions about graph-tests

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

FAQPage Schema
How do I audit my test strategy for coverage and quality gaps?

Auditing a test strategy involves validating the test pyramid shape, checking statement and branch coverage, and reviewing tests against FIRST principles. This identifies missing modules and edge cases to ensure comprehensive test suite quality.

What is the test pyramid and how does it validate test suite ratios?

The test pyramid validates the ratio of unit, integration, and E2E tests within a suite. Auditing this pyramid shape flags inverted structures where slow end-to-end tests outnumber faster unit tests, ensuring an efficient and balanced testing framework.

How do I check if my test files follow FIRST principles?

Checking FIRST principles involves reviewing test files to ensure they are Fast, Independent, Repeatable, Self-validating, and Timely. An audit evaluates each test against these criteria to measure execution discipline and overall test quality.

Can I detect missing test coverage for public exported functions?

Yes, missing test detection identifies modules without test coverage, specifically targeting public exported functions. It highlights untested code paths and reports files that fall below your configured statement, branch, and line coverage thresholds.

What is the best way to ensure edge case coverage for error paths?

The best way to ensure edge case coverage is to audit tests for happy paths, error paths, boundary conditions, and async error handling. This validates that tests anticipate failures and unexpected inputs, not just successful execution flows.

Does test quality assessment check for test pollution and naming conventions?

Yes, test quality assessment reviews test files for structure, proper mocks, naming conventions, and no test pollution. This ensures tests remain maintainable, isolated, and readable across the entire software development workflow.