Works with the AI Agents you already use

    Agent Test Suite Architect

    by Via mae Sarol

    1

    Autonomous QA architect. Generates robust unit, integration, and E2E test suites targeting a configurable branch-coverage threshold, accessible locators, and deterministic API mocks across TypeScript, Python, and Go.

    $18

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Agent Test Suite Architect

    Agent Test Suite Architect

    Example session with this skill installed

    Audit src/auth/service.ts and write Vitest tests with 90% branch coverage. Mock the database and external OIDC provider. Run the tests and show me the measured coverage report.

    • Read your context and instructions
    • Compiled the agent test suite

    I have analyzed src/auth/service.ts, identified five critical logical branches including token expiration and malformed JWKs, and generated a Vitest suite. I executed the tests locally using vitest run --coverage.

    Test Suite Execution & Coverage Report

    MetricMeasured ResultStatus
    Branch Coverage92.3%PASS (>90%)
    Line Coverage96.8%PASS
    Function Coverage100%PASS
    Total Test Cases14 (12 Unit, 2 Integration)SUCCESS

    Uncovered Gap Analysis

    FileUncovered Branch / LineRisk LevelRationale / Recommendation
    service.tsLine 142 (Network Timeout)LowSimulated via mock, but physical socket hang not tested.
    service.tsLine 158 (Memory Limit)Very LowEdge case for extremely large JWT payloads.
    import { vi, describe, it, expect, beforeEach } from 'vitest';
    import { AuthService } from './service';
    import { db } from '../infra/db';
    
    vi.mock('../infra/db', () => ({
      db: {
        user: { findUnique: vi.fn() }
      }
    }));
    
    describe('AuthService', () => {
      beforeEach(() => {
        vi.clearAllMocks();
      });
    
      it('should throw Unauthorized when user record is missing', async () => {
        // Arrange
        const service = new AuthService();
        (db.user.findUnique as any).mockResolvedValue(null);
    
        // Act & Assert
        await expect(service.validateSession('id_123'))
          .rejects.toThrow('Unauthorized');
      });
    
      it('should return user data for valid session', async () => {
        // Arrange
        const mockUser = { id: 'id_123', email: 'test@example.com' };
        (db.user.findUnique as any).mockResolvedValue(mockUser);
    
        // Act
        const result = await new AuthService().validateSession('id_123');
    
        // Assert
        expect(result).toEqual(mockUser);
        expect(db.user.findUnique).toHaveBeenCalledWith({ where: { id: 'id_123' } });
      });
    });
    

    Next steps

    1. Review the generated src/auth/__tests__/service.spec.ts file for business logic alignment.
    2. Add npm run test:coverage to your pre-commit hooks to maintain the 90% threshold.
    3. Update the OIDC provider discovery URL in your .env.test to match the new mock configuration.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    AI-generated code often focuses on the happy path, leading to production crashes caused by unhandled null pointers, network timeouts, or edge cases. Writing comprehensive test suites manually is time-consuming and prone to flaky implementations or weak assertions.

    What it does

    • Analyzes application logic to build a boundary matrix for nulls, overflows, and edge values.
    • Generates idiomatic unit, integration, and E2E tests for TypeScript, Python, Go, and React.
    • Implements deterministic mocks for third-party services like Stripe, AWS S3, and database connections.
    • Enforces configurable branch coverage by executing real coverage tools and reporting measured gaps.
    • Builds Playwright E2E tests using accessible locator hierarchies and web-first assertions.

    Frameworks & tools

    Vitest, Jest, Pytest, Go testing, Playwright, MSW, and GitHub Actions.

    Why this beats prompting it yourself

    Generic prompts result in brittle tests with hardcoded sleeps and low-quality mocks. This skill enforces strict QA patterns like Arrange-Act-Assert, eliminates flakiness by prohibiting arbitrary timeouts, and provides a verified gap analysis based on actual execution rather than estimates.

    Use cases

    • Writing integration tests for complex billing services involving external API mocks.
    • Generating table-driven boundary tests for Go or Python backend logic.
    • Building accessible, auto-waiting E2E suites for React or Next.js checkout flows.
    • Auditing legacy code to identify and fill specific branch-coverage gaps.

    Known limitations

    Coverage reporting requires a local environment capable of running the project's specific test runner and coverage tool.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    The Architect generates idiomatic unit, integration, and E2E tests for TypeScript, Python, Go, and React, including deterministic mocks for services like Stripe and AWS S3.

    Unlike generic prompts, this skill enforces the Arrange-Act-Assert pattern, prohibits flaky timeouts, and uses actual execution data to identify and fill real branch-coverage gaps.

    The skill requires access to your project's local environment or CI pipeline to run the specific test runners and coverage tools needed for verified reporting.

    Yes, it specializes in creating MSW (Mock Service Worker) handlers and deterministic mocks to simulate third-party API responses without making actual network calls.

    You receive the full autonomous QA agent logic, pre-configured workflows for supported frameworks, and integration templates for GitHub Actions.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.