check-license

Check and enforce license header compliance in source and test files using Python scripting.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/albertoirurueta/ai-catalog --skill check-license
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-license
Source: https://github.com/albertoirurueta/ai-catalog/tree/main/.claude/skills/check-license
Command: npx skills add https://github.com/albertoirurueta/ai-catalog --skill check-license

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps maintain license compliance in code repositories by checking for the presence and correctness of license headers in source and test files.

Core Features & Use Cases

  • License Header Check: Scans for the presence of license headers in files.
  • Header Consistency Verification: Validates that license headers are consistent with the repository's license.
  • Header Generation: Automatically creates standard license headers if they are missing.
  • Use Case: Run this Skill before a release to ensure all source and test files adhere to the project's licensing requirements.

Quick Start

To check for license compliance, invoke the /check-license command. To target specific files or directories, use /check-license <path-or-glob>.

Frequently Asked Questions about check-license

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

FAQPage Schema
How do I check for license header compliance in my source files?

To check license header compliance, invoke the `/check-license` command. The Skill scans your source and test files, validates header consistency against the repository license, and identifies missing headers.

Can I automatically generate missing license headers in a repository?

Yes, you can automatically generate missing license headers. The Skill supports automated license header insertion based on predefined license types to ensure repository compliance.

How do I run a license audit on a specific directory or file glob?

To run a license audit on specific paths, use `/check-license <path-or-glob>`. This targets the license header check directly at the specified files or directories instead of the entire repository.

What is the best way to enforce license compliance before a code release?

The best way to enforce license compliance before a release is running an on-demand repository scan. This verifies that all source and test files contain correct, consistent license headers.

Does this license header checker require any external dependencies?

No, the license header checker requires no external dependencies. It utilizes Python scripting for execution and only requires access to your repository file contents to operate.