check-intent-coverage

Compare Gherkin features, contract tests, and stack implementations to report coverage gaps.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/ourchitecture/idp --skill check-intent-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-intent-coverage
Source: https://github.com/ourchitecture/idp/tree/main/.agents/skills/check-intent-coverage
Command: npx skills add https://github.com/ourchitecture/idp --skill check-intent-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes Layer 1 Gherkin intent specifications in tests/features/ against Layer 2 contract test implementations in tests/src/profiles/ and Layer 3 stack implementations to find coverage gaps. Produces a structured gap report and optionally generates new .feature scenarios, matching TypeScript test cases, and profile documentation to fill those gaps. Use this skill when you want to ensure the intent specifications fully cover the implemented behavior and that all three layers are synchronized.

Core Features & Use Cases

  • Inventory Layer 1 intent specifications across tests/features/ to identify gaps in Gherkin
  • Inventory Layer 2 contract tests across tests/src/profiles/ to surface mismatches with Layer 1 and Layer 3
  • Inventory Layer 3 stack implementations to reveal untested endpoints and response shapes
  • Generate a structured gap report and optionally create new .feature scenarios, TypeScript tests, and profile documentation to close gaps
  • Validate cross-layer consistency and maintain up-to-date documentation

Quick Start

Run the skill with optional inputs to analyze features, tests, and stacks and generate a gap report.

Frequently Asked Questions about check-intent-coverage

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

FAQPage Schema
How do I find coverage gaps between Gherkin feature scenarios and contract tests?

To find coverage gaps between Gherkin feature scenarios and contract tests, analyze Layer 1 intent specifications against Layer 2 test implementations and Layer 3 stacks to inventory scenarios, tests, and endpoints, producing a structured gap report of discrepancies.

What is intent conformance testing across feature, test, and stack layers?

Intent conformance testing validates consistency across a three-layer stack by inventorying Layer 1 Gherkin features, Layer 2 contract tests, and Layer 3 implementations to ensure intent specifications are fully aligned with actual behavior and documented.

How do I generate new Gherkin scenarios and TypeScript tests to close coverage gaps?

To generate new Gherkin scenarios and TypeScript tests to close coverage gaps, run the analysis skill after inventorying features and tests to optionally create matching .feature scenarios, test cases, and profile documentation for remediation.

Can I use this to check for untested endpoints in my stack implementation?

Yes, you can check for untested endpoints by inventorying Layer 3 stack implementations to reveal untested endpoints and response shapes, comparing them against Layer 1 features and Layer 2 contract tests to document mismatches.

What is the best way to synchronize intent specifications with implemented behavior?

The best way to synchronize intent specifications with implemented behavior is validating cross-layer consistency across Gherkin features, contract tests, and stacks, then generating a structured gap report and creating artifacts for remediation to fill discrepancies.

Do I need existing Gherkin feature files in tests/features/ to analyze intent coverage?

Yes, you need existing Gherkin feature files in tests/features/ and contract tests in tests/src/profiles/ to analyze intent coverage, as the skill inventories these Layer 1 and Layer 2 specifications against Layer 3 stack implementations to identify mismatches.