← ClaudeAtlas

changelog-autolisted

Auto-generate changelogs from commit history
manastalukdar/ai-devstudio · ★ 1 · AI & Automation · score 74
Install: claude install-skill manastalukdar/ai-devstudio
# Automatic Changelog Generator I'll generate professional changelogs from your git commit history, organized by version and category. Arguments: `$ARGUMENTS` - version range, tag names, or changelog format ## Changelog Philosophy - **User-Focused**: Written for end users, not developers - **Categorized**: Features, fixes, breaking changes - **Semantic Versioning**: Follow semver principles - **Keep a Changelog**: Follow keepachangelog.com format ## Phase 1: Commit Analysis First, let me analyze your git history: ```bash #!/bin/bash # Analyze git commit history for changelog generation analyze_git_history() { echo "=== Git History Analysis ===" echo "" # 1. Check if we're in a git repo if ! git rev-parse --git-dir > /dev/null 2>&1; then echo "❌ Not a git repository" exit 1 fi # 2. Get latest tag LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null) if [ -z "$LATEST_TAG" ]; then echo "No tags found. Analyzing all commits..." COMMIT_RANGE="HEAD" else echo "Latest tag: $LATEST_TAG" COMMIT_RANGE="$LATEST_TAG..HEAD" fi # 3. Count commits by type echo "" echo "Commits since $LATEST_TAG:" git log $COMMIT_RANGE --oneline | wc -l echo "" echo "Breakdown by type:" echo " Features: $(git log $COMMIT_RANGE --oneline | grep -c '^[a-f0-9]* feat' || echo 0)" echo " Fixes: $(git log $COMMIT_RANGE --oneline | grep -c '^[a-f0-9]* fix' || echo 0)" ec