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 origin to 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
-
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