- Home
- Skills
- Testing & Debugging
- AI Output QA Gatekeeper — Prompt Grammar + Hard/Soft Error
AI Output QA Gatekeeper — Prompt Grammar + Hard/Soft Error
by Trí Phan
Prompts that render right the first time and a gate that fails wrong work before your audience sees it — hard errors fail, soft errors pass with notes, everything measured on the final file.
$21
AI Output QA Gatekeeper — Prompt Grammar + Hard/Soft Error
Example session with this skill installed
QA this image generation stage. The prompt used: 'Brushed aluminum, matte finish, slight scuffs, raking side light. Single overhead bulb, soft, shadows falling deep into the lower corners.'
- Read your context and instructions
- Compiled the ai output qa
I have reviewed the generation stage and the prompt grammar provided. The prompt adheres to the mandatory material and lighting grammars.
QA Ticket: Stage 1 (Base Generation)
| Field | Detail |
|---|---|
| Deliverable | Image Base (Product Shot) |
| Standard | AI Output QA Gatekeeper v1.0 |
| Re-roll Budget | 0/1 Used |
Findings
- [SOFT] Material Detail: The "slight scuffs" are visible but concentrated on the left edge rather than distributed.
- [SOFT] Lighting: The shadow fall-off reaches near-black at the bottom frame edge, slightly exceeding the "lower corners" spec but maintaining the intended mood.
- [MEASUREMENT] Dimensions: 1024x1024 (Matches Spec).
- [MEASUREMENT] Content: No duplicated elements or broken subjects detected.
Evidence Side-by-Side
- Claim: "Brushed aluminum, matte finish."
- Measurement: Surface reflects diffuse highlights consistent with matte-grade aluminum; grain is visible under raking light.
Verdict: PASS WITH NOTES
Next steps
- Proceed to the Variation stage for final texture refinement.
- Ensure any text overlays are handled in the post-processing build, not the generator.
- Log the scuff distribution note for the final polish stage.
Connects securely to your tools. The creator never sees your data.
About this skill
AI-generated assets often fail due to vague prompting and non-existent quality control. This skill implements a strict gatekeeper protocol that enforces technical prompt grammars and structured QA gates to ensure deliverables meet hard specifications before they ship.
What it does
- Enforces prompt grammar by requiring a specific four-part lighting sentence and material definitions using noun-grade-detail structures.
- Validates staged generation through mandatory QA checks between concept, variation, and final polish stages to prevent wasted compute.
- Categorizes errors into hard failures that require a resubmit and soft errors that pass with logged notes.
- Verifies by measurement by checking technical specs like duration, dimensions, and file weight against source requirements instead of subjective impressions.
- Prevents self-approval by maintaining a strict separation between the maker of the work and the checker.
How it works
- Prompt Construction using the
PROMPT_CARD.mdtemplate to build affirmative, material-heavy generation instructions. - Staged Submission where each generation stage is paused for a gatekeeper review.
- Verification of the final file involving direct measurement and side-by-side claim tracing.
- Ticket Issuance using
QA_TICKET.mdto document findings, measurements, and a final verdict.
Frameworks & tools
This skill is framework-agnostic but designed for workflows involving image generators, LLMs, and media production pipelines. It uses Markdown-based templates for ticketing and prompt engineering.
Why this beats prompting it yourself
Standard prompting often ignores technical constraints, leading to "vibes-based" QA that lets errors slip through. This skill eliminates subjective bias by requiring measurable evidence and preventing the circular logic of agents grading their own work.
Use cases
- Image Pipeline QA to ensure assets match lighting and material specs without "cinematic" fluff.
- Content Verification for technical documents to trace every number and claim back to a source.
- Compute Optimization by killing failing directions after a single re-roll.
Known limitations
Does not perform automated file rendering or image processing. Requires the user to provide the actual file measurements or source documents for verification.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 9 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.