validate-protection

Official

Ensure code integrity with automated checks.

AuthorAEtherlight-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the enforcement of code protection policies, preventing unauthorized modifications to stable code. It ensures that critical code changes are properly justified and approved, reducing the risk of regressions and maintaining system integrity.

Core Features & Use Cases

  • Pre-Commit Enforcement: Creates and updates Git hooks to validate protection annotations before commits, blocking unapproved changes.
  • CI/CD Integration: Ensures protection checks run seamlessly in automated pipelines without manual prompts, guaranteeing continuous compliance.
  • Audit Trail Validation: Verifies that PROTECTED: commit messages are used for approved changes, creating a clear historical record.
  • Use Case: Before merging a pull request, use this skill to automatically verify that all changes to @protected or @immutable code have the required justifications in their commit messages, ensuring compliance with your team's code stability policies and preventing costly errors.

Quick Start

Build and test the pre-commit protection enforcement system. Validate protection enforcement via pre-commit hooks.

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: validate-protection
Download link: https://github.com/AEtherlight-ai/lumina/archive/main.zip#validate-protection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository