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★ 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
- Read
licenseinpackage.json. - Adjust the
./LICENSEfile according to its value (see below). - Align the license sections of
README.md(default language) and eachREADME.xx.mdper language. What that section says, for every value oflicense, 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
./LICENSEalready in the tree, theauthorfield, 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./LICENSEleaves the two disagreeing. - This is not the
Otherscase 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
./LICENSEexists, 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 withauthorfrompackage.json(e.g.,Open Reach Tech Inc.).
MIT
Copy the full text of MIT into ./LICENSE, replacing the placeholders.
[full name]should be replaced withauthorfrompackage.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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…