Command Palette

Search for a command to run...

Назад к скиллам
скилл № 04351

hoc-license

The `./LICENSE` file a project carries, settled by the `license` field of `package.json`. Use whenever a LICENSE file is created, updated or deleted, or when…

БесплатноБез исполняемых скриптов
openreachtechот openreachtech★ 17 звёзд на GitHub

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

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

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

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

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

License

When creating, updating or deleting the LICENSE file, follow the rules below.

Behavior is determined by the license field in package.json (if the user explicitly specifies a different license, prioritize that, and update package.json accordingly if needed).

Workflow

  1. Read license in package.json.
  2. Adjust the ./LICENSE file according to its value (see below).
  3. Align the license sections of README.md (default language) and each README.xx.md per language. What that section says, for every value of license, is governed by the "License" convention in the README convention.

No license field

An absent field is not a value. Every section below acts on what license says, so where the field is missing, nothing decides what ./LICENSE should be. Ask the user which license the project takes, write the answer into license, and then follow the section for that value.

  • Do not infer one. A ./LICENSE already in the tree, the author field, and the absence of the file each suggest an answer, and none of them is the project's decision — the field is where a project states its license, and a guess written into ./LICENSE leaves the two disagreeing.
  • This is not the Others case below. There the field carries a value this convention does not cover, and what is settled is the file. Here there is no value at all, and what is settled first is the field.

UNLICENSED

Denotes private/restricted distribution.

  • If ./LICENSE exists, delete it (if it does not exist, do nothing).

Apache-2.0

Copy the full text of Apache-2.0 into ./LICENSE, replacing the placeholders in the trailing APPENDIX.

  • [yyyy] should match the year in the README's Copyright section (© <year> ...).
  • [name of copyright owner] should be replaced with author from package.json (e.g., Open Reach Tech Inc.).

MIT

Copy the full text of MIT into ./LICENSE, replacing the placeholders.

  • [full name] should be replaced with author from package.json (e.g., Open Reach Tech Inc.).
  • [year] should match the README's Copyright section (© <year> ...).

Others

When the license is none of UNLICENSED, Apache-2.0, or MIT, prompt the user to confirm what to do with the ./LICENSE file.

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

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

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

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

  • references/templates/Apache-2.0
  • references/templates/MIT

FAQ

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

The `./LICENSE` file a project carries, settled by the `license` field of `package.json`. Use whenever a LICENSE file is created, updated or deleted, or when `license` is changed or found missing. What the README's license section says belongs to the README convention.

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

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

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

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

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

Сравнить hoc-license с