license-header-adder

License Header Adder Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "license-header-adder" with this command: npx skills add rominirani/antigravity-skills/rominirani-antigravity-skills-license-header-adder

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 the target_file content 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 <!-- ... --> .

Example Usage

If the user asks to "create a python script for hello world", you should generate:

Copyright (c) 2024 Google LLC

... (rest of license text) ...

def main(): print("Hello World")

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

git-commit-formatter

No summary provided by upstream source.

Repository SourceNeeds Review
General

database-schema-validator

No summary provided by upstream source.

Repository SourceNeeds Review
General

adk-tool-scaffold

No summary provided by upstream source.

Repository SourceNeeds Review
General

json-to-pydantic

No summary provided by upstream source.

Repository SourceNeeds Review