System Documentation

What problem does it solve?

The Spec Gate prevents AI from starting implementation on incomplete or inconsistent documentation by forcing specs to meet deterministic and structural requirements first.

Core Features & Use Cases

  • Deterministic structural pre-check: Runs spec_precheck.py to produce a JSON baseline by verifying required sections, test IDs, error handling matrices, deep-link formatting, and more.
  • LLM-ready gating checklist: Ensures the spec is actionable, prompt-ready, ambiguity-free, and ready for BUILD without silent guessing.
  • Contract and parity verification hooks: Supports checks like DDL parity (via scripts) and language-constraint gating to avoid producing code that violates the documented contract.

Use this when you are about to start the BUILD stage for any implementation spec and want a hard readiness signal that the documentation is AI-executable.

Quick Start

Run the Spec Gate pre-check for your spec file and use the JSON report to fix any structural failures before asking the AI to build.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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-gate
Download link: https://github.com/Pyl-Tech/stream-coding/archive/main.zip#spec-gate

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.