AI Frontmatter & Provenance

0•

Manages AI provenance metadata blocks to track human review status, rule references, and file-level access permissions.

The Frontmatter skill enables developers to maintain a clear audit trail of AI-generated content by embedding metadata directly into source files. It facilitates a safer 'human-in-the-loop' workflow by tracking which files have been human-reviewed, enforcing file-level access controls to prevent unauthorized AI modifications, and mapping specific development rules to individual code blocks. Whether you are managing a large-scale migration or daily AI-assisted coding, this skill ensures transparency and control over how AI agents interact with your repository, automatically invalidating review statuses whenever the AI modifies a file.

Key Features

01Recursive directory scanning to report metadata coverage and review status
02Enforces file-level access permissions including read, write, and hidden modes
03Multi-language support with automatic comment syntax detection for various extensions
04Automatic reset of review status upon any AI-driven file modifications
05Automated '/// ai' metadata stamping for provenance tracking
060 GitHub stars

Use Cases

01Protecting sensitive or legacy files from AI modifications via read-only tags
02Auditing repositories to distinguish between human-verified code and raw AI output
03Context-aware development by linking specific style guides to individual source files