Consistency check

From Fr-e-d/GAAI-framework · View interactive version

Consistency check is an AI agent skill from the GitHub repository Fr-e-d/GAAI-framework. Detect inconsistencies across related artefacts and governance constraints. Activate after story generation, after plan preparation, before implementation, or after remediation attempts. Reports issues — does not fix them.

How to use this skill

Skill file

Consistency Check

Purpose / When to Activate

Activate:

This skill reports issues — it does not fix them.


Process

CRITICAL — Anti-Collision Guard (MUST execute before writing any output file):

Before writing contexts/artefacts/consistency-reports/{story_id}.consistency-report.md, check if the target file already exists on disk:

This guard prevents the silent data loss incident of 2026-03-17 where concurrent sessions overwrote story files.

Structural Consistency

Scope Consistency

Rule Consistency

Completeness Consistency

Inter-artefact Alignment

Partial artefact handling: If the artefact set is incomplete (e.g., Story exists but parent Epic is absent), check only what is available. Report missing artefacts as ISSUE-{ID}: required artefact absent with severity: medium. Do not fail the entire check.


Output Format

ISSUE-ID naming convention: use format ISSUE-{STORY_ID}-{NNN} (e.g., ISSUE-E06S18-001).

ISSUE-ID
Type: structural | scope | rule | completeness | alignment
Artefacts involved: ...
Description: concise violation or inconsistency
Why it matters: short impact statement
Severity: low | medium | high | critical
Location: file/path/position

Quality Checks


Non-Goals

This skill must NOT:

Check everything against everything. Consistency is a governance requirement, not an optimization.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.