license-header-adder
SKILL.md
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. -
Prepend to File: When creating a new file (e.g.,
.go), prepend thetarget_filecontent with the template content and change with the current year. -
Modify Comment Syntax:
- For C-style languages (Go), keep the
/* ... */block as is. - For Shell or YAML, convert the block to use
#comments.