create-license-and-readme-link
自動判斷專案屬性並推薦合適的開源授權,建立 LICENSE 檔案並將其連結補入 README.md 中。
Skill by CloudyWing
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cloudywing-create-license-and-readme-link
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/create-license-and-readme-link
What's inside
- Skill name
create-license-and-readme-link- Description
- 自動判斷專案屬性並推薦合適的開源授權,建立 LICENSE 檔案並將其連結補入 README.md 中。
- License
- MIT
- Instructions
- 95 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 建立開源授權並更新 README 連結
## 執行步驟
### 1. 判斷專案屬性
讀取以下資訊以了解專案性質:
- `README.md`(若存在):查看用途描述、技術棧
- `*.csproj`、`package.json`、`pyproject.toml` 等專案檔:確認語言與框架
- 是否已有 `LICENSE` 或 `LICENSE.md` 檔案(若已存在,詢問使用者是否要取代)
### 2. 掃描相依性授權相容性
在推薦授權前,掃描以下檔案取得主要相依套件清單:
- `package.json` → `dependencies`、`peerDependencies`
- `*.csproj` → `<PackageReference>`
- `requirements.txt`、`pyproject.toml` → 套件清單
- `go.mod` → `require` 區塊
若清單中出現採用 **GPL-2.0**、**GPL-3.0** 或 **AGPL-3.0** 授權的套件,在推薦授權前明確告知使用者:
- 相依套件名稱與其授權
- 採用 GPL/AGPL 相依套件對專案授權選擇的限制(若選擇 MIT/Apache 等寬鬆授權,需注意 GPL 的「傳染性」是否適用於你的使用情境)
- 若使用者不確定,建議諮詢法律顧問
若無 GPL/AGPL 相依套件,略過此步驟,直接進入授權推薦。
### 3. 推薦授權
依下列準則推薦,並向使用者確認後再執行:
| 情境 | 建議授權 |
| --- | --- |
| 函式庫 / SDK,希望被廣泛使用 | MIT |
| 函式庫,希望衍生物也開源 | LGPL-2.1 |
| 應用程式,要求衍生物也開源 | GPL-3.0 |
| 商業友善、保留專利權 | Apache-2.0 |
| 個人作品集或文件 | CC BY 4.0 |
| 完全公眾領域 | Unlicense |
推薦前,以一個引導問題縮小選擇範圍:
**問**:「此專案是否允許他人商業使用或將程式碼嵌入閉源產品?」
- **允許**:推薦 MIT 或 Apache-2.0(視是否需要專利保護而定)。
- **不允許**(要求衍生物開源):推薦 GPL-3.0 或 AGPL-3.0。
- **不確定**:列出完整表格讓使用者對照選擇。
列出推薦選項(最多 3 個),說明理由,等待使用者選擇。
### 4. 建立 LICENSE 檔案
授權取得策略:
1. **MIT 走本地範本**:若使用者選擇 MIT,優先讀取 `~/.ai-agents/templates/LICENSE.md.template`(含使用者預設姓名),僅替換 `{YEAR}` 為當前年份。不需詢問 fullname。
2. **其他授權走線上來源**:從公開來源取得該授權的標準全文(若 WebFetch 可用);若無法取得,告知使用者自行複製。替換授權文本中的 `[year]`(填入當前年份)與 `[fullname]`(詢問使用者或從 `git config user.name` 取得)。
- 檔案名稱固定為 `LICENSE.md`,儲存於專案根目錄。
- 編碼:UTF-8 無 BOM。
### 5. 更新 README.md
若 `README.md` 存在:
1. 搜尋是否已有 License 段落或 badge。
2. **已有 badge**:更新 shield URL 與連結。
3. **已有文字連結**:更新連結指向 `LICENSE.md`。
4. **完全沒有**:在 README 末尾加入以下區塊(Merge 模式,融入既有風格):
```markdown
## License
This project is licensed under the [MIT License](LICENSE.md).
```
若 README 以繁體中文撰寫,改用:
```markdown
## 授權條款
本專案採用 [MIT 授權條款](LICENSE.md)。
```
若 `README.md` 不存在,告知使用者並略過此步驟。
### 6. 完成確認
輸出執行摘要:
- 建立的 `LICENSE` 授權名稱
- README.md 的修改位置(若有)From CloudyWing/ai-dotfiles, MIT.
More from CloudyWing/ai-dotfiles
- 0.565score
apply-fact-check
CloudyWing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously…
SkillAFreshness: AClaude Code +9 - 0.565score
ai-tool-discovery
CloudyWing
Use when the agent is about to explore a project or generate AI support artifacts and needs the local tool inventory or the state and rebuild path of existing…
SkillAFreshness: AClaude Code +9 - 0.564score
ai-context-index
CloudyWing
Use when an agent needs to create or update a project AI context index from the tools declared in AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.558score
csharp-background-service
CloudyWing
Background Service 開發規範:BackgroundService、IHostedService、Channel Queue 模式與生命週期管理。當撰寫或審查 .NET 背景工作、排程任務或佇列處理邏輯時自動套用。
SkillAFreshness: AClaude Code +9 - 0.558score
api-smoke
CloudyWing
Web API 煙霧驗證流程。當需要在修改或開發 Web API 端點後驗證 API 行為,或使用者要求呼叫 Swagger、寫腳本測試 API、進行多情境 API 測試時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
browser-smoke
CloudyWing
瀏覽器煙霧驗證流程。當需要在修改 Web UI、頁面、路由、表單、互動、樣式、響應式版面或前端狀態後使用瀏覽器驗證,或使用者明確要求檢查畫面、console/network error、互動行為與 UI 修正結果時使用。
SkillAFreshness: AClaude Code +9 - 0.555score
adr
CloudyWing
依決策門檻建立追加式 Architecture Decision Record,管理序號、狀態與被推翻的決策。
SkillAFreshness: AClaude Code +9 - 0.555score
check-markdown
CloudyWing
當要求檢查 Markdown、修正格式或整理文件時使用。依據專案文件平台修正格式與排版問題。
SkillAFreshness: AClaude Code +9 - 0.555score
architecture-improvement
CloudyWing
以 Git hotspot 縮小分析範圍,使用 deletion test 篩選改善候選並產出架構改善報告。
SkillAFreshness: AClaude Code +9 - 0.549score
codex-dispatch
CloudyWing
Codex 派工機制:依派工類型建立執行契約、以 codex exec 啟動 Codex、背景等待、取證並回收結果。當需要發動 codex、撰寫派遣單或執行派遣回收判定時使用。
SkillAFreshness: AClaude Code +9 - 0.524score
csharp-docs
CloudyWing
C# 文件與 XML 註解標準:強制使用標準標籤與用詞規範產生類別與方法的說明。Use when writing, reviewing, or generating XML documentation comments (///) in C# files, or when the user asks to add…
SkillBFreshness: BClaude Code +9 - 0.520score
codebase-design
CloudyWing
Use when 設計或審查模組邊界、Interface、Adapter、依賴方向與可測試性時。
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 11, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/CloudyWing/ai-dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CloudyWing
- 0.565score
ai-tool-discovery
CloudyWing
Use when the agent is about to explore a project or generate AI support artifacts and needs the local tool inventory or the state and rebuild path of existing…
SkillAFreshness: AClaude Code +9 - 0.565score
apply-fact-check
CloudyWing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously…
SkillAFreshness: AClaude Code +9 - 0.564score
ai-context-index
CloudyWing
Use when an agent needs to create or update a project AI context index from the tools declared in AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.558score
browser-smoke
CloudyWing
瀏覽器煙霧驗證流程。當需要在修改 Web UI、頁面、路由、表單、互動、樣式、響應式版面或前端狀態後使用瀏覽器驗證,或使用者明確要求檢查畫面、console/network error、互動行為與 UI 修正結果時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
api-smoke
CloudyWing
Web API 煙霧驗證流程。當需要在修改或開發 Web API 端點後驗證 API 行為,或使用者要求呼叫 Swagger、寫腳本測試 API、進行多情境 API 測試時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
csharp-background-service
CloudyWing
Background Service 開發規範:BackgroundService、IHostedService、Channel Queue 模式與生命週期管理。當撰寫或審查 .NET 背景工作、排程任務或佇列處理邏輯時自動套用。
SkillAFreshness: AClaude Code +9
Cite this page
create-license-and-readme-link skill. Agent Mart. https://agentmart.dev/skills/cloudywing-create-license-and-readme-link (last updated 2026-10-24)