en un clic
license-header-adder
// Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.
// Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.
A workflow skill for all Google Cloud resource management tasks (create, delete, modify). This skill ensures that the correct CLI tool (`gcloud`, `bq`, `gsutil`) is chosen and that its commands are verified against the latest official documentation before execution.
Scaffolds a new custom Tool class for the Agent Development Kit (ADK).
Validates SQL schema files for compliance with internal safety and naming policies.
Formats git commit messages according to Conventional Commits specification. Use this when the user asks to commit changes or write a commit message.
Converts JSON data snippets into Python Pydantic data models.
| name | license-header-adder |
| description | Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution. |
This skill ensures that all new source files have the correct copyright header.
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:
/* ... */ block as is.# comments.<!-- ... -->.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")