AgentSkillsCN

cleanup-changelog

格式化变更日志,删除空置章节。

SKILL.md
--- frontmatter
name: cleanup-changelog
description: Format changelog and remove empty sections.

Cleanup changelog

GOAL: fix formatting and remove empty sections in CHANGELOG.md.

WHEN: after generating or updating the changelog.

Efficiency directives

  • Optimize all operations for token and context efficiency
  • Batch operations on file groups, avoid individual file processing
  • Target only relevant files
  • Reduce token usage

Workflow

  • Invoke the fix-markdown skill on CHANGELOG.md
  • Run scripts/remove-empty-headers.sh CHANGELOG.md
  • Invoke the fix-markdown skill on CHANGELOG.md again
  • DONE

Output

Files modified:

  • CHANGELOG.md - Formatted and cleaned

Status communication:

  • SUCCESS - Cleanup completed
  • ERROR - Operation failed