Agent Skills
› microsoft/skills
› wiki-changelog
wiki-changelog
GitHub分析 Git 提交历史,按类型生成结构化变更日志。需先确认仓库上下文,支持远程链接引用,自动分类功能、修复等变更,提供用户视角的摘要及破坏性变更提示。
Trigger Scenarios
询问最近有哪些变化
要求生成变更日志
需要总结提交记录
Install
npx skills add microsoft/skills --skill wiki-changelog -g -y
SKILL.md
Frontmatter
{
"name": "wiki-changelog",
"license": "MIT",
"metadata": {
"author": "Microsoft",
"version": "1.0.0"
},
"description": "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."
}
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:
- Check for git remote: Run
git remote get-url originto detect if a remote exists - 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
- Remote URL provided → store as
- 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
- Examine git log (commits, dates, authors, messages)
- Group by time period: daily (last 7 days), weekly (older)
- Classify each commit: Features (🆕), Fixes (🐛), Refactoring (🔄), Docs (📝), Config (🔧), Dependencies (📦), Breaking (⚠️)
- 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_URLis available, link commit hashes:[abc1234](REPO_URL/commit/abc1234)and changed files:[file_path](REPO_URL/blob/BRANCH/file_path)
Version History
- 4f1db7e Current 2026-07-25 06:32


