license-header-adder
Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.
How do I install this agent skill?
npx skills add https://github.com/rominirani/antigravity-skills --skill license-header-adderIs this agent skill safe to install?
- Gen Agent Trust Hubpass
No security issues detected. The skill safely manages license headers using a local template file to prepend to new source code.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/2 files flagged
What does this agent skill do?
License Header Adder Skill
This skill ensures that all new source files have the correct copyright header.
Instructions
-
Read the Template: First, read the content of the header template file located at
resources/HEADER_TEMPLATE.txt.# Pseudocode for agent understanding template_content = view_file("resources/HEADER_TEMPLATE.txt") -
Prepend to File: When creating a new file (e.g.,
.py,.java,.js,.ts,.go), prepend thetarget_filecontent with the template content. -
Modify Comment Syntax:
- For C-style languages (Java, JS, TS, C++), keep the
/* ... */block as is. - For Python, Shell, or YAML, convert the block to use
#comments. - For HTML/XML, use
<!-- ... -->.
- For C-style languages (Java, JS, TS, C++), keep the
Example Usage
If the user asks to "create a python script for hello world", you should generate:
# Copyright (c) 2026 MyCompany LLC
# ... (rest of license text) ...
def main():
print("Hello World")
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/rominirani/antigravity-skills/license-header-adder">View license-header-adder on skillZs</a>