Skip to content
Back to skills

Artspec Changelog

ASecurity

Write, audit, and release zero-conflict per-change changelog entries managed by ArtificialSpectrum (artspec). Use when adding an entry to changelog/unreleased/ inside a feature/fix/refactor/process PR, checking metadata/PR/Issue links, auditing bilingual pairs, or cutting changelog/<version>/RELEASE.md at release time.

  • 3,396 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 1, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Prism-Shadow/penguin-harness --skill artspec-changelog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Artspec Changelog?

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

Security grade badge for Artspec Changelog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/prism-shadow-artspec-changelog/badge)](https://www.skillsdirectory.com/skills/prism-shadow-artspec-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: artspec-changelog
description: Write, audit, and release zero-conflict per-change changelog entries managed by ArtificialSpectrum (artspec). Use when adding an entry to changelog/unreleased/ inside a feature/fix/refactor/process PR, checking metadata/PR/Issue links, auditing bilingual pairs, or cutting changelog/<version>/RELEASE.md at release time.
---

# Zero-Conflict Agentic Changelog Contract (`artspec-changelog`)

Read `artspec.config.json` at the repository root first to learn this repository's `repo`, `languages`, `changelog.dir` (default `changelog`), `changelog.unreleasedDir` (default `unreleased`), and allowed `changelog.types` (default `["feature", "fix", "refactor", "process"]`).

## Architecture

1. **Two levels, zero index files**:
   - Root `CHANGELOG.md` (and localized counterparts when configured): one summary line per release linking its folder.
   - `<dir>/<version>/YYYY-MM-DD-<slug>.md`: one file per change inside the PR that makes the change.
   - **Never add a per-release index file.** Every PR touching one shared index file creates merge conflicts; folder listings + `grep` answer every query cleanly.
2. **`unreleased/` until tag time**:
   - All unshipped work lands in `<dir>/unreleased/`. Never invent the next version number early.
   - At release preparation, `git mv <dir>/unreleased <dir>/<version>`, commit `<dir>/<version>/RELEASE.md` **before** creating the git tag, and add the one-line link to `CHANGELOG.md`.
   - **Released version directories are frozen** and never modified by later PRs.

## Entry Format

Read `references/entry-template.md` for the exact template. Place the metadata block **directly under the `# H1`**, one bullet per field, in this strict order:

| Field | Required | Format |
| --- | --- | --- |
| `Date` | always | `YYYY-MM-DD`, matching the filename prefix |
| `Type` | always | One of `changelog.types` (`feature`, `fix`, `refactor`, `process`) |
| `Scope` | always | 1–5 backticked code areas matching repo directories/modules |
| `PR` | when a PR exists | Full URL link(s): `[#N](https://github.com/<owner>/<repo>/pull/N)` |
| `Issue` | when closing/answering issues | Full URL link(s): `[#N](https://github.com/<owner>/<repo>/issues/N)` |
| `Breaking` | only when breaking | `yes — <one line>`; **omit entirely otherwise** so `grep -rl 'Breaking:' changelog/` is exact |

Omit inapplicable optional fields rather than writing placeholders (`none`, `N/A`, `—`).

## Rules That Catch Real Bugs

1. **Classify Issue vs PR before writing**: GitHub issues and PRs share one numbering space. Verify with `gh api repos/<owner>/<repo>/issues/N --jq 'if .pull_request then "PR" else "ISSUE" end'`.
2. **Never write bare `#N` in Markdown**: Bare `#123` does not render as a link in static files or sites. Always write the full URL, and name cross-repo references explicitly (`OtherRepo [#12](https://github.com/...)`).
3. **Add the `PR` link once the PR is open**: Open the PR, then add the `PR:` bullet in a follow-up commit on the same branch before merging.
4. **No reasoning on disk**: Record **what was done** in past tense. Do **not** add `## Why`, `## Problem`, `## Decision`, `## Alternatives considered`, `## Verification`, or `## Risks`. Reasoning belongs in the PR description tied to the diff.
5. **Do not describe the current state of the codebase**: Avoid statements like "`X` is not exported from `Y`" that drift silently as code evolves. State what the change did at the time.
6. **Breaking changes require a compatibility section**: Any entry with `Breaking:` must include `## Compatibility` (and `## 兼容性` in Chinese) stating what breaks and the exact migration step.

## Multi-Language Pairs

When `languages` includes additional locales (e.g. `["en", "zh"]`):

- Every entry ships as `<name>.md` + `<name>.zh.md` mirroring section count and order.
- Keep metadata field names and values (`Date`, `Type`, `Scope`, `PR`, `Issue`) **in English verbatim** in every language file so one `grep` queries the whole tree. Translate only the `Breaking` prose reason, body prose, and headings (`## Details` → `## 细节`, `## Compatibility` → `## 兼容性`).
- Link the counterpart directly beneath the metadata block (`[中文版](<name>.zh.md)` / `[English](<name>.md)`).

## Cutting a Release

See `references/release-template.md` for `RELEASE.md` structure. Always sweep `changelog/unreleased/` with `npx artspec check-changelog --base origin/main --release` before renaming the folder, because released folders freeze permanently.

## Verification

```sh
npx artspec check-changelog --base origin/main
```

Files in this skill

  • SKILL.md4.5 KB
  • references/entry-template.md517 B
  • references/release-template.md449 B

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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