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 从公开仓库中收录这些内容。

举报或申请下架