What problem does it solve?
Many repositories lack a clear open-source license or an accurate README link to the license, causing legal ambiguity and discouraging contribution; this Skill automates choosing an appropriate license and ensuring the repository contains a proper LICENSE file and README reference.
Core Features & Use Cases
- Project inspection: Detects README content and common project manifests (package.json, pyproject.toml, *.csproj) to infer project type and language.
- License recommendation: Provides up to three recommended licenses with rationale tailored to libraries, applications, portfolios, or public-domain intents.
- License creation and substitution: Retrieves standard license text when available, replaces placeholders ([year], [fullname]) using git config or user input, writes a UTF-8 (no BOM) LICENSE file, and optionally replaces existing LICENSE after confirmation.
- README integration: Locates existing license badges or text and updates their links, or merges a localized license section at the README end if none exists.
- Use Case: Quickly add a permissive MIT license to a new JavaScript library and update the README badge to point to the new LICENSE file.
Quick Start
Run the create-license-and-readme-link skill to detect your repository type, review recommended licenses, generate a LICENSE file with correct year and author, and update README links accordingly.