Agent Skills: Changelog-Update Skill

[Git & Release] Update CHANGELOG.md [Unreleased] section with business-focused entries via systematic file review

UncategorizedID: duc01226/easyplatform/changelog-update

Install this agent skill to your local

pnpm dlx add-skill https://github.com/duc01226/EasyPlatform/tree/HEAD/.claude/skills/changelog-update

Skill Files

Browse the full folder contents for changelog-update.

Download Skill

Loading file tree…

.claude/skills/changelog-update/SKILL.md

Skill Metadata

Name
changelog-update
Description
"[Git & Release] Update CHANGELOG.md [Unreleased] section with business-focused entries via systematic file review"

Changelog-Update Skill

Update CHANGELOG.md with business-focused entries by systematically reviewing file changes.

Summary

Goal: Update CHANGELOG.md [Unreleased] section with business-focused entries via systematic file review.

| Step | Action | Key Notes | |------|--------|-----------| | 1 | Gather changes | git diff or git log to identify changed files | | 2 | Create temp notes | .ai/workspace/changelog-notes-*.md for categorized review | | 3 | Systematic file review | Read each diff, identify business impact, categorize | | 4 | Holistic review | Re-read notes -- what can users now do? | | 5 | Generate entry | Keep a Changelog format under [Unreleased] | | 6 | Update CHANGELOG.md | Insert new entry under [Unreleased] section | | 7 | Cleanup | Delete temp notes file |

Key Principles:

  • Business-focused language, not technical jargon (what users can do, not what classes were added)
  • For automated release notes from conventional commits, use release-notes skill instead
  • Always delete temp notes file after completion

Note: For automated release notes from conventional commits, use the release-notes skill instead.

When to Use

  • During development: Document feature/fix for users before PR/merge
  • PR preparation: Add business-focused entry to CHANGELOG.md
  • Manual documentation: When commits don't capture full business impact

Don't use for releases: Use release-notes skill to generate versioned release docs.

Pre-Execution Checklist

  1. [ ] Find existing CHANGELOG.md location

    • Check root: ./CHANGELOG.md (preferred)
    • Fallback: ./docs/CHANGELOG.md
    • If not found: Create at root
  2. [ ] Read current changelog to understand format and last entries

Workflow

Step 1: Gather Changes

Determine change scope:

  • PR-based: git diff origin/main...HEAD --name-only
  • Branch-based: git log origin/main..HEAD --oneline
  • Commit-based: git show {commit} --name-only

Step 2: Create Temp Notes File

Create .ai/workspace/changelog-notes-{YYMMDD-HHMM}.md:

# Changelog Review Notes - {date}

## Files Changed
- [ ] file1.ts -
- [ ] file2.cs -

## Categories
### Added (new features)
-

### Changed (modifications to existing)
-

### Fixed (bug fixes)
-

### Deprecated
-

### Removed
-

### Security
-

## Business Summary
<!-- What does this mean for users? -->

Step 3: Systematic File Review

For each changed file:

  1. Read file or diff
  2. Identify business impact (not just technical change)
  3. Check box and note in temp file
  4. Categorize into appropriate section

Business Focus Guidelines:

  • ❌ "Added StageCategory enum"
  • ✅ "Added stage categories (Sourced, Applied, Interviewing, etc.) for pipeline tracking"
  • ❌ "Created PipelineController.cs"
  • ✅ "Added API endpoints for pipeline management"

Step 4: Holistic Review

Read temp notes file completely. Ask:

  • What's the main feature/fix?
  • Who benefits and how?
  • What can users now do that they couldn't before?

Step 5: Generate Changelog Entry

Format (Keep a Changelog):

## [Unreleased]

### {Feature/Module Name}: {Feature Title}

**Feature/Fix**: {One-line business description}

#### Added
- {Business-focused item}

#### Changed
- {What behavior changed}

#### Fixed
- {What issue was resolved}

Step 6: Update Changelog

  1. Read existing CHANGELOG.md
  2. Insert new entry under [Unreleased] section
  3. If no [Unreleased] section, create it after the header

Step 7: Cleanup

Delete temp notes file: .ai/workspace/changelog-notes-*.md

Examples

Good Entry

### TextSnippet: Content Management

**Feature**: Rich text snippet management with categorization and search capabilities.

#### Added
- Rich text editor with markdown support
- Category-based organization with tags
- Full-text search across snippets
- Multi-language content support (EN/VI)

Bad Entry (Too Technical)

### Pipeline Changes

#### Added
- Pipeline.cs entity
- StageCategory enum
- PipelineController
- SavePipelineCommand

Anti-Patterns

  1. ❌ Creating new changelog in docs/ when root exists
  2. ❌ Skipping file review (leads to missed changes)
  3. ❌ Technical jargon without business context
  4. ❌ Forgetting to delete temp notes file
  5. ❌ Not using [Unreleased] section

IMPORTANT Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed