verify-citation-integrity

Community

Guarantee citations match real source lines.

Authorkapilvirenahuja
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents fabricated or inaccurate citations by verifying that every cited_locations entry in a decode spec points to an existing file, a valid line range, and source text that matches the referenced excerpt.

Core Features & Use Cases

  • Static citation verification: Checks cited file existence, validates line_start/line_end bounds, and compares extracted source content against the cited excerpt using the selected normalization mode.
  • Deterministic, no-LLM enforcement: Runs as a pure read-and-compare pass with no model reasoning, suitable for tight enterprise-grade auditability.
  • Actionable integrity reports: Produces a citation-integrity report with per-citation breadcrumbs and mismatch details, enabling fast correction before specs are marked captured.

Use case: when a /decode workflow proposes behavior/flow/aspect content with citations, this skill ensures the citations are real and exact (modulo configured whitespace normalization), stopping capture if integrity fails.

Quick Start

Run verify-citation-integrity on the target decode spec to generate a citation integrity report at the configured output path.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: verify-citation-integrity
Download link: https://github.com/kapilvirenahuja/garura/archive/main.zip#verify-citation-integrity

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.