spec-gap-detector

Official

Stress-test prompts for ambiguity and edge cases.

Authorm2ai-portfolio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Analyzes and stress-tests agent prompts and specifications to uncover ambiguities, missing constraints, and edge cases that could trigger unpredictable behavior at scale.

Core Features & Use Cases

  • Phase 1: Intake accepts various specification formats (prompt, SKILL.md, CLAUDE.md, task descriptions).
  • Phase 2: Gap Analysis across seven dimensions: Ambiguous Edge Cases, Missing Success Criteria, Unclear Hard vs Soft Constraints, Missing Error Handling, Context Dependencies, Scale Behavior, and Security & Trust Boundaries.
  • Phase 3: Scoring with a 1-5 rubric and identification of critical gaps.
  • Phase 4: Tightening Suggestions with concrete rewrites and fixes.
  • Phase 5: Output is a comprehensive risk assessment and remediation plan.

Quick Start

Provide a stress-test analysis for a given agent prompt or specification to reveal gaps.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: spec-gap-detector
Download link: https://github.com/m2ai-portfolio/m2ai-skills-pack/archive/main.zip#spec-gap-detector

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 510,000+ vetted skills library on demand.