Ensure Kevin's open-source repos ship with an MIT LICENSE before publish or on audit. Use when creating a new public repo, open-sourcing a project, publishing to npm/GitHub, Kevin says "add license", "MIT license", "missing LICENSE", "license audit", or before marking a repo public. Runs audit + apply via scripts/ensure-mit-license.ts and agent-docs license doctor check.
Kevin's personal public repos default to MIT with copyright Kevin B. Liu.
LICENSE in the first commit (or before flipping isPrivate: false).oss-license-audit automation (see automations/oss-license-audit.md).LICENSE is missing on any enrolled repo.Skip for private company repos (Dedalus org, etc.) unless Kevin explicitly open-sources them.
From kevin-wiki:
# Audit all public repos under Kevin-Liu-01
npx tsx scripts/ensure-mit-license.ts audit --owner Kevin-Liu-01
# Dry-run bulk apply
npx tsx scripts/ensure-mit-license.ts apply --owner Kevin-Liu-01 --dry-run
# Apply to all missing
npx tsx scripts/ensure-mit-license.ts apply --owner Kevin-Liu-01
# Single repo (GitHub API — no clone needed)
npx tsx scripts/ensure-mit-license.ts apply --repo Kevin-Liu-01/my-project
# Local clone
npx tsx scripts/ensure-mit-license.ts apply --local ~/Documents/GitHub/my-projectAfter adding locally, commit and push:
git add LICENSE && git commit -m "Add MIT license" && git pushWhen Kevin (or an agent) creates a new public repo:
scripts/lib/mit-license.ts → root LICENSE"license": "MIT" to package.json if present[](LICENSE)LICENSE is on default branch)| Layer | Mechanism |
|---|---|
| Doctor | agent-docs doctor warns on missing/non-MIT LICENSE |
| Automation | oss-license-audit weekly — audit + apply gaps |
| Tooling doc | wiki/meta/required-project-tooling.md § Layer 0 |
| This skill | Agent procedure for one-off fixes |
scripts/ensure-mit-license.ts — audit/apply CLIscripts/lib/mit-license.ts — canonical MIT templateautomations/oss-license-audit.md — recurring auditwiki/meta/required-project-tooling.md — stack checklist