Wiki Changelog

作者 microsoft354361d83247MIT收錄於 2026年10月8日更新於 2026年10月8日

Analyzes git commit history and generates structured changelogs categorized by change type. Use when the user asks about recent changes, wants a changelog, or needs to understand what changed in the repository.

精選僅含說明Software Development
AI 產生的概覽

根據儲存庫的 git 提交歷史,產生依變更類型分類的結構化更新日誌。

功能
此技能會分析 git 日誌資料(提交、日期、作者與提交訊息),產生結構化的更新日誌。它會依時間區段分組(最近 7 天按日、較舊的按週),並將每筆提交歸類為功能、修正、重構、文件、設定、相依性與破壞性變更等類別。它會使用專案術語撰寫簡潔、面向使用者的說明,並突顯破壞性變更與移轉注意事項。當有來源儲存庫 URL 時,它會為提交雜湊與變更檔案加上連結。
適用情境
當使用者詢問最近有什麼變更、需要更新日誌,或想了解儲存庫近期的開發活動時使用。產生輸出前,它會先確認儲存庫是僅限本機或具有遠端 URL。
執行需求
僅為指示內容,未附帶指令碼。需要存取 git 儲存庫,並能執行 git log、git remote get-url origin 等 git 指令。來源儲存庫 URL(例如 GitHub 或 Azure DevOps)為選用項目,僅用於啟用連結引用。

Wiki Changelog

Generate structured changelogs from git history.

Source Repository Resolution (MUST DO FIRST)

Before generating any changelog, you MUST determine the source repository context:

  1. Check for git remote: Run git remote get-url origin to detect if a remote exists
  2. Ask the user: "Is this a local-only repository, or do you have a source repository URL (e.g., GitHub, Azure DevOps)?"
    • Remote URL provided → store as REPO_URL, use linked citations for commit hashes and file references
    • Local-only → use plain commit hashes and file references
  3. Do NOT proceed until source repo context is resolved

When to Activate

  • User asks "what changed recently", "generate a changelog", "summarize commits"
  • User wants to understand recent development activity

Procedure

  1. Examine git log (commits, dates, authors, messages)
  2. Group by time period: daily (last 7 days), weekly (older)
  3. Classify each commit: Features (🆕), Fixes (🐛), Refactoring (🔄), Docs (📝), Config (🔧), Dependencies (📦), Breaking (⚠️)
  4. Generate concise user-facing descriptions using project terminology

Constraints

  • Focus on user-facing changes
  • Merge related commits into coherent descriptions
  • Use project terminology from README
  • Highlight breaking changes prominently with migration notes
  • When REPO_URL is available, link commit hashes: [abc1234](REPO_URL/commit/abc1234) and changed files: [file_path](REPO_URL/blob/BRANCH/file_path)

來源與署名

來源:microsoft/skills位於.github/plugins/deep-wiki/skills/wiki-changelog提交354361d

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架