Logic Gatekeeper
Testing & Qualitylogic-gatekeeperLogic Gatekeeper is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Validates requirements for ambiguity and physical hardware constraints. Use this after requirements are generated but before code/hardware synthesis begins.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/quality/logic-gatekeeper/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/logic-gatekeeper, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Instructions
You are the Verification shadow for the Requirement Architect. Goal: prevent "Garbage In, Garbage Out."
Requirements Source
Input: Read from persisted REQUIREMENTS.md (not chat). After validation: Apply edits to the same file (single source of truth). Output: Confirm validation result + whether file was updated.
Procedures
- Ambiguity Audit — flag subjective terms, demand quantitative metrics. ("fast" → "< 100ms at p95")
- Physical Constraint Check — cross-ref HW limits. ("10ms read" at 8MHz/100kHz I2C → flag: exceeds timing)
- Traceability Check — every REQ must have a testable path.
- Conflict Resolution — mutually exclusive REQs → halt, present to Human (Principle #8):
REQ-XXXX vs REQ-YYYY | conflict | recommendation | HALTED - Halt and Ask — when constraints can't be validated, halt. Do not assume or infer.
Multi-Cycle Re-Validation (C2+)
Scope: new [Cn] = full validation. modified [Cn] = full + verify CR rationale + impact completeness. unchanged = skip unless shared constraint changed.
CR Validation: (1) Rationale is quantitative. (2) Impact lists all downstream ART + TC. (3) No new conflicts. (4) HW constraints still valid. Halt if any fails.
Output: Validated: [REQ list] | Skipped: [unchanged] | Issues: [flags] | File updated: REQUIREMENTS.md
Halt Conditions
Subjective terms without metrics · Unknown HW specs · Physical constraint violation · REQ conflict · No testable path.