Skip to content
Back to skills

Mags Changelog

ASecurity

Generate changelog from git history and project docs

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
documentationbashgitsecurity

Works with

  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add doancan/mags --skill mags-changelog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mags Changelog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mags Changelog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/doancan-mags-changelog/badge)](https://www.skillsdirectory.com/skills/doancan-mags-changelog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mags-changelog
description: Generate changelog from git history and project docs
version: 1.0.0
user-invocable: true
allowed-tools:
  - mcp__mags_mags__mags_generate_changelog
  - mcp__mags_mags__mags_get_doc
  - mcp__mags_mags__mags_update_doc
  - mcp__mags_mags__mags_create_doc
  - Bash
  - Read
  - Write
---

# MAGS Changelog

Generate a changelog from git history, optionally saving it to the project.

## Steps

### 1. Gather git context

Run `git log --oneline -30` via Bash to get the recent commit history. Note the latest tag if any (`git describe --tags --abbrev=0 2>/dev/null`).

### 2. Generate changelog

Call `mags_generate_changelog` to produce a structured changelog from the project state and git history.

### 3. Display output

Present the changelog with stats:

```
== Changelog ==

Generated from <N> commits since <last tag or "initial commit">

## [Unreleased]

### Added
- <feature description>
- <feature description>

### Changed
- <change description>

### Fixed
- <fix description>

### Removed
- <removal description>

---
Stats:  <N> features  |  <N> changes  |  <N> fixes  |  <N> removals
```

Use the Keep a Changelog format (Added, Changed, Fixed, Deprecated, Removed, Security). Omit empty sections.

### 4. Ask to save

Ask the user: "Save this changelog? Options:"
- **Append** to `docs/changelog/changes.md`
- **Create release** as `docs/changelog/v<version>.md` (ask for version number)
- **Skip** and just display

If the user chooses to save:
1. Check if the target file exists with `mags_get_doc`.
2. If it exists, prepend the new entry at the top using `mags_update_doc`.
3. If it does not exist, create it with `mags_create_doc`.
4. Confirm: "Changelog saved to `<path>`."

---

**Related commands:**
| Command | Description |
|---------|-------------|
| `/mags-status` | View project progress dashboard |
| `/mags-docs` | List all project documents |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.