lc:test-coverage

Analyze Laravel application classes to identify untested components and prioritize testing efforts.

12|2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/edulazaro/laraclaude --skill lc-test-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lc:test-coverage
Source: https://github.com/edulazaro/laraclaude/tree/main/skills/test-coverage
Command: npx skills add https://github.com/edulazaro/laraclaude --skill lc-test-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the problem of blind spots in your test suite by identifying which application classes lack corresponding tests, helping you prioritize your testing efforts effectively.

Core Features & Use Cases

  • Coverage Mapping: Automatically scans models, controllers, actions, and services to map them against existing test files.
  • Priority Scoring: Estimates testing priority based on complexity, database interactions, and business logic density.
  • Use Case: Use this before a major refactor to identify high-priority untested controllers or actions that pose the highest risk of regression.

Quick Start

Run the test coverage analysis on the entire project to see a summary of tested and untested classes.

Frequently Asked Questions about lc:test-coverage

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

FAQPage Schema
How do I find untested Laravel controllers and actions in my application?

To find untested Laravel controllers and actions, this skill scans your source files and matches them against existing tests. It evaluates models, controllers, actions, and services to generate a prioritized report of untested components based on complexity and business logic.

What is the best way to prioritize testing efforts for a Laravel refactor?

The best way to prioritize testing efforts for a Laravel refactor is using automated coverage mapping. This skill estimates testing priority by analyzing class complexity, database interactions, and business logic density to highlight high-risk regression areas.

Can I use static analysis to check Laravel test coverage without executing my test suite?

Yes, you can check Laravel test coverage without executing tests by using static analysis. This skill determines coverage status by analyzing naming conventions and class references to match source files directly against existing test suites.

Does this test coverage analysis tool support identifying untested models and services?

Yes, this test coverage analysis supports identifying untested models and services. It automatically scans these application classes alongside controllers and actions to map them against your test files and provide actionable testing recommendations.

How do I generate a prioritized report of untested business logic in Laravel?

To generate a prioritized report of untested business logic in Laravel, run the analysis on your entire project. The skill evaluates your application classes and outputs a summary highlighting untested components based on their estimated risk and complexity.