gaia-validate-story

Validate story files against canonical artifacts and record verdicts via review-gate.sh.

2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/gaiastudio-ai/gaia-public --skill gaia-validate-story
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gaia-validate-story
Source: https://github.com/gaiastudio-ai/gaia-public/tree/main/plugins/gaia/skills/gaia-validate-story
Command: npx skills add https://github.com/gaiastudio-ai/gaia-public --skill gaia-validate-story

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill ensures the integrity and correctness of story files by validating them through a forked Val subagent and recording the outcome into the story's Review Gate, preventing unverified or incorrect stories from advancing.

Core Features & Use Cases

  • Validates a story file against ground truth artifacts using an isolated validator context to avoid contamination of the editor session.
  • Records outcomes as canonical verdicts (PASSED, FAILED, UNVERIFIED) via review-gate.sh to maintain traceability.
  • Supports use cases like QA on new stories, compliance checks, and automated gate-driven reviews before publishing or further processing.

Quick Start

Run the gaia-validate-story skill with a story key to validate the related story file and update the Review Gate with the result.

Frequently Asked Questions about gaia-validate-story

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

FAQPage Schema
How do I validate a story file against canonical artifacts in isolation?

To validate a story file in isolation, provide a story key to invoke a forked validator context. This checks the story against canonical artifacts, maps findings to PASSED, FAILED, or UNVERIFIED, and records the outcome via review-gate.sh to prevent unverified stories from advancing.

What is a Review Gate in automated QA validation?

A Review Gate is a traceable record of a story's validation outcome. The skill records canonical verdicts—PASSED, FAILED, or UNVERIFIED—into the story's Review Gate using review-gate.sh, ensuring unverified or incorrect stories do not advance.

How do I run automated QA checks on implementation-story markdown files?

Run the skill with a specific story key to trigger automated QA checks. It locates the related story file under docs/implementation-artifacts/{story_key}-*.md and uses a forked Val subagent to validate it against ground truth artifacts.

What prerequisites are needed to run an isolated story validator?

To run the isolated story validator, the Val subagent must be available in your environment. Additionally, the target story file must exist under the docs/implementation-artifacts/{story_key}-*.md path for the validation to succeed.

Why does story validation return an UNVERIFIED status?

Story validation returns an UNVERIFIED status when the forked Val subagent cannot conclusively map the story findings to a clear pass or fail state against canonical artifacts. It may also occur if the required subagent is unavailable or the story file is missing.

Does the gaia-validate-story skill prevent contamination of the editor session?

Yes, the gaia-validate-story skill prevents contamination of the editor session by invoking the Val subagent in a forked context. This isolation ensures the validation logic runs independently without affecting the current editor environment.