mcpField
T
test-consult

test-consult

github.com/laurigatesTesting & quality5954 installsUpdated 1d ago
Repository

About test-consult

test-consult is a command skill for developers who need strategic testing guidance. It gathers project test context and delegates questions to the test-architecture agent for recommendations and actions.

Key features

  1. 01Analyzes test coverage gaps
  2. 02Reviews test strategy and pyramid
  3. 03Recommends frameworks for a tech stack
  4. 04Diagnoses flaky tests
  5. 05Accepts topics or custom questions
  6. 06Can focus on a directory

Use cases

  1. 01Planning tests for a new feature
  2. 02Investigating missing test coverage
  3. 03Reviewing the test pyramid
  4. 04Diagnosing recurring test failures

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/laurigates/claude-plugins --skill test-consult

After installing, type/test-consultin Claude Code to confirm it loaded.

Details

From the project README

Context

Explicit command to consult the test-architecture agent for strategic testing decisions.

Use when:

  • Creating tests for NEW features
  • Test strategy needs adjustment
  • Coverage gaps identified
  • Flaky tests detected
  • Framework selection questions

Topics

TopicWhat it covers
coverageAnalyze gaps, recommend high-value tests to write
strategyReview overall test architecture and pyramid
frameworkRecommend testing tools for tech stack
flakyDiagnose and remediate flaky tests
pyramidAnalyze test tier distribution
new-featureDesign test approach for new functionality
(free text)Custom question about testing

Parameters

  • $1: Topic keyword or natural language question
  • --context <path>: Focus analysis on specific directory

Behavior

  1. Gather Project Context:

    • Find test directories and structure
    • Detect frameworks in use (pytest, vitest, playwright, etc.)
    • Read coverage reports if available
    • Check recent test failures
  2. Delegate to test-architecture Agent:

    • Provide gathered context
    • Include specified topic
    • Request actionable recommendations
  3. Present Recommendations:

    • Strategic advice
    • Specific action items
    • Offer to create issues/tasks

Examples

# Coverage analysis
/test:consult coverage

# New feature testing strategy
/test:consult new-feature --context src/auth/

# Framework decision
/test:consult "Should we add property-based testing?"

# Flaky test investigation
/test:consult flaky

# Custom question
/test:consult "How should we structure tests for our API endpoints?"

Agent Delegation

This command delegates to the test-architecture agent with:

  • Project test structure analysis
  • Coverage data (if available)
  • Specified topic/question
  • Context path (if provided)

The agent will provide:

  • Strategic recommendations
  • Specific actionable items
  • Trade-off analysis
  • Implementation guidance

Comments

Markdown supported