autospec-test

Community

Gate PRs with unit + E2E coverage.

Authorberlinguyinca
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents broken or under-tested changes from being merged by enforcing unit and E2E coverage gates, then auto-healing gaps with a bounded self-heal loop that blocks assertion-loosening rewrites.

Core Features & Use Cases

  • Phase 4 PR Test Gate: Runs unit tests and coverage thresholds, then runs E2E tests, UI element coverage, and behavior taxonomy coverage before auto-merge.
  • Self-Heal Loop: Automatically fixes missing or failing tests (and some product-bug-caused failures) within a configured time/iteration budget.
  • Assertion-Shift Guardrail: Blocks auto-merge when tests are loosened and only allows shifting changes when justified and co-edited with non-test sources.
  • Contract-Driven Safety & Isolation: Refuses to run unless forbidden URL patterns are configured (fail-closed) and supports strict isolation and optional scoped production mode.
  • Optional Stage 2.5 Invariants: When enabled in the contract, adds higher-signal invariant checks for UI affordances, UI/API window symmetry, interactive affordability, and contract symmetry.

Quick Start

Run autospec-test against a specific PR branch by calling /autospec-test with the PR number you want to validate.

Dependency Matrix

Required Modules

yqjqnodeplaywrightsqlite3gh

Components

scriptsassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: autospec-test
Download link: https://github.com/berlinguyinca/autospec/archive/main.zip#autospec-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.