Automatic Copyright Headers

•
6
•

Automatically injects standardized copyright and license headers into new source files based on project-specific configurations.

This skill streamlines legal compliance and intellectual property protection by automatically adding copyright headers to every new source file created by Claude. By referencing the project's root CLAUDE.md for company and license details, it ensures consistency across more than 20 programming languages—including Python, Java, JavaScript, and Rust—while intelligently respecting language-specific comment syntax, shebangs, and exclusion rules for auto-generated or metadata files.

Key Features

01Supports 20+ file extensions including Python, JavaScript, Java, Go, and Rust
02Adapts comment syntax (hash, line, or block) based on file type
03Respects shebangs and XML declarations by adjusting header placement
04Automatically excludes auto-generated files, lock files, and JSON formats
05Extracts Company and License metadata directly from the project's CLAUDE.md
066 GitHub stars

Use Cases

01Automating repetitive boilerplate tasks during new file creation
02Maintaining legal compliance across enterprise software repositories
03Standardizing intellectual property headers for open-source contributions