Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

license-header-adder

БесплатноБез исполняемых скриптовНе проверен

Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.

rominiraniот rominirani★ 628 звёзд на GitHub

Об этом скилле

License Header Adder Skill

This skill ensures that all new source files have the correct copyright header.

Instructions

  1. 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")
    
  2. Prepend to File: When creating a new file (e.g., .py, .java, .js, .ts, .go), prepend the target_file content with the template content.

  3. 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) 2026 MyCompany LLC
# ... (rest of license text) ...

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

Установить license-header-adder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

resources/HEADER_TEMPLATE.txt

FAQ

Что делает скилл license-header-adder?

Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.

Как установить скилл license-header-adder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл license-header-adder запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить license-header-adder с