/qwreey-license:licensefrom qwreey-license
Writes and checks license files from canonical text, never from memory. Helps the user choose a license, fetches the GitHub or SPDX text with year and holder filled, compares an existing LICENSE and manifest license fields with it, and appends third-party notices. Use when choosing a license, writing or changing LICENSE, NOTICE or THIRD_PARTY_NOTICES, or bringing in code, docs or assets from another project. 라이선스 파일 만들기, 라이선스 정하기, 오픈소스 고지, 서드파티 고지.
Ships in qwreey-license. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Never write license or notice text from memory: a remembered text drifts by a word or a clause and nobody compares it. Fetch it with the script.
Script: python3 -I -X utf8 "${CLAUDE_SKILL_DIR}/../../scripts/license_text.py" <command> (below: license_text.py). It needs network access to api.github.com or raw.githubusercontent.com. Exit 0 ok, 1 refused or mismatch, 3 fetch failed.
Ask one question at a time and explain in plain words, in the user's language:
Then give only the cautions that apply, briefly, and let the user pick:
git config user.name (the script's default) or the studio name and confirm with the user. Year defaults to this year.license_text.py fetch <SPDX-id> --year Y --holder "NAME" --out LICENSE. It refuses if a placeholder is left or the file exists; pass --force only after the user agrees to replace the file.--fill-appendix fills it); put the copyright notice where that section says.license field to the same SPDX id (package.json, pyproject.toml, Cargo.toml, .claude-plugin/plugin.json).check.license_text.py check [LICENSE] [--id ID] compares with the canonical text ignoring whitespace, the title line and the year and holder, prints each differing span, and checks the manifest license fields in the same folder. Show the user any difference; whether to restore the canonical text is their call.
When code, docs or assets from another project enter the repo:
license_text.py notice --name "<project>" --url <source URL> --id <SPDX-id> --files a,b --copyright "<upstream copyright line>" appends a section to THIRD_PARTY_NOTICES.md (created if missing). If the upstream LICENSE differs from the canonical text, save it and pass --text-file <file> instead.Re-running with the same name changes nothing; a section of that name with different content is left alone and reported.
If the fetch fails (exit 3), tell the user and stop; retry when the network is back.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub qwreey/qwreey-harness --plugin qwreey-license