К основному содержанию
скилл CX Codex

patch-notes — скилл для Claude Code: патч-ноуты из git-истории

Собирает патч-ноуты для игроков из git-истории и внутренних ченджлогов, переводя язык разработчика в понятный текст.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Donchitos/Claude-Code-Game-Studios --skill patch-notes -a claude-code
Открыть на GitHub

Что делает patch-notes

Скилл читает внутренний ченджлог релиза (production/releases/[version]/changelog.md), запись в docs/CHANGELOG.md, а если их нет — берёт git log между прошлым тегом и текущим. Дальше раскладывает изменения по категориям: новый контент, изменения геймплея, удобство, исправления по системам, производительность и известные проблемы. Стиль вывода задаётся аргументом --style: brief, detailed или full.

Перед чтением истории скилл проверяет, что коммиты вообще относятся к этой игре. Каждый коммит помечается как игровой, инфраструктурный или неясный, и в текст для игроков попадают только игровые. Это не формальность: коммит про таймаут хука сессии, отрендеренный как патч-ноут, превратится в правдоподобную фразу про потерянный прогресс — в игре, где сохранений нет вообще. Если игровых коммитов ноль, скилл останавливается и не пишет ничего.

Если ченджлога для версии нет и git log пуст, работа тоже прекращается: сначала нужно прогнать /changelog [version]. Тон текста скилл ищет в .claude/docs/technical-preferences.md, docs/PATCH-NOTES-STYLE.md и design/community/tone-guide.md, а шаблон — в docs/patch-notes-template.md и .claude/docs/templates/patch-notes-template.md. Режим автоматизации берётся из modes.automation в project.local.yaml или project.yaml.

Какие задачи решает

  • собрать патч-ноут для игроков из git-истории релиза
  • отсеять коммиты про хуки и CI, чтобы они не попали в текст для игроков
  • перевести «refactored damage calculation pipeline» в понятную фразу
  • разложить исправления по системам: бой, интерфейс, сеть
  • выдержать тон из tone-guide проекта

Примеры запросов агенту

  • /patch-notes 1.2.0
  • /patch-notes 1.2.0 --style brief
  • /patch-notes 1.2.0 --style full

Как установить patch-notes

1Через Skills CLI (Vercel)

npx skills add Donchitos/Claude-Code-Game-Studios --skill patch-notes -a claude-code

2Вручную: положить файлы

~/.claude/skills/patch-notes/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/patch-notes/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора72

team-audio Скилл собирает звук для игровой фичи: от звуковой концепции до реализации в движке. Запускается одной слэш-командой с названием области. CX Codex +1 437установок changelog Собирает историю изменений по коммитам и отчётам спринтов в двух видах: внутренний и для игроков. Пригодится, когда релиз близко, а писать вручную лень. CX Codex +1 429установок tech-debt Сканирует кодовую базу на маркеры техдолга, добавляет записи в реестр и ранжирует их по соотношению влияния к затратам на исправление. CX Codex +1 436установок consistency-check Проверяет GDD по реестру сущностей и ищет расхождения между документами. Нужен перед ревью или созданием архитектуры. CX Codex +1 436установок retrospective Скилл подводит итоги спринта или майлстоуна по файлам задач, коммитам и блокерам. Помогает разобрать долги и спланировать следующую итерацию. CX Codex +1 433установок onboard Собирает вводный документ для нового участника или агента: состояние проекта, правила, структуру и первые задачи по выбранной роли. CX Codex +1 433установок quick-design Описывает небольшие изменения в игре — тюнинг, мелкие механики — без полного GDD. Спека встраивается прямо в стори. CX Codex +1 432установок hotfix Скилл ведёт экстренное исправление критических багов в обход обычного спринта, собирает согласования и протоколирует шаги. CX Codex +1 432установок

Похожие

generate-release-notes donnfelker Собирает release notes и changelog из истории коммитов по Conventional Commits. Пригодится перед каждым тегом. CX Codex +1 762установок release-notes phuryn Готовит релиз-ноты для пользователей по тикетам, PRD и журналам изменений. Пригодится для анонса обновлений и сводки поставленных изменений. CX Codex +1 2 900установок deliver-release-notes product-on-purpose Превращает список изменений в релиз-ноты, которые читают пользователи: что нового, что улучшили, что починили. CX Codex +1 751установок write-release-notes tldraw Готовит и проверяет статьи о релизах tldraw SDK: собирает изменения из PR, выделяет критические правки и требует рецепты миграции. CX Codex +1 327установок changelog-automation Seth Hobson Скилл помогает собирать changelog и release notes из коммитов, PR и релизов. Подойдёт для настройки процесса релизов и единых правил коммитов. CX Codex 13 733установок changelog-writing Samuel Berthe Превращает коммиты, пул-реквесты и тикеты в релиз-ноты, которые читают: что вышло, что это значит на практике и что ломается. CX Codex +1 10 300установок

Рядом в теме «Геймдев и 3D: Unity, Unreal, Godot, Blender»

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →

Вопросы о patch-notes

Как установить patch-notes в Claude?

Выполните npx skills add Donchitos/Claude-Code-Game-Studios --skill patch-notes -a claude-code. Скилл окажется в ~/.claude/skills/patch-notes/SKILL.md.

Что делает patch-notes?

Собирает патч-ноуты для игроков из ченджлогов и git-истории и переводит формулировки разработчика в понятный игроку текст. Категории: новый контент, геймплей, удобство, исправления, производительность, известные проблемы.

Почему скилл отказывается генерировать заметки?

Он останавливается, если ни один коммит в диапазоне не относится к игре, либо если нет ни ченджлога версии, ни записи в docs/CHANGELOG.md, ни данных git log. Во втором случае сначала запустите /changelog [version].

Исходный текст

SKILL.md · MIT
---
name: patch-notes
description: "Player-facing patch notes from git history and changelogs. Translates developer language into player communication."
argument-hint: "[version] [--style brief|detailed|full]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Bash(bash "*/.claude/skills/patch-notes/../../hooks/yaml-helper.sh" resolve_config *), Bash(git log *)
model: sonnet
---

!`bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation`

**Automation mode**: Resolve `modes.automation` (`project.local.yaml` →
`project.yaml` → default `collaborative`). Every `AskUserQuestion` call and
every file write follows `.claude/docs/automation-modes.md`
(collaborative asks always · guided major-only · autonomous logs and proceeds;
`automation_always_ask` categories always prompt).

# Patch Notes

## Provenance check — before reading any history

**Confirm the history you are about to read belongs to THIS game.** Run this
before Phase 2 and stop if it fails.

1. Sample the recent log: `git log --oneline -20`. **If it is empty or git is
   unavailable, skip this check** — there is nothing to classify, and Phase 2's
   no-changelog-data branch is the right stop.
2. **Classify every commit in the range, one at a time**, into exactly one of:
   - **Game** — changes the game the player plays: mechanics, content, balance,
     art, audio, UI, a bug in any of those.
   - **Framework / maintenance** — changes CCGS itself or the project's tooling:
     subjects naming skills, hooks, agents, the test plan, CI, the framework's
     own docs. **Excluded from player-facing notes, but not a reason to stop.**
   - **Unclear** — treat as framework. A commit you cannot confidently place is
     not one to write player copy from.
3. Then decide from the counts:
   - **At least one Game commit** → proceed, using **only** those. Say how many
     of how many you used, so the reader can see the filter ran.
   - **Zero Game commits** → stop, using the message below, and give the count (0 of how many) so the reader can see the filter ran.

> **Filter per commit; do not stop on a repo that merely contains maintenance
> work.** Every project built on this framework accumulates commits touching
> hooks, CI and skills — the game repo *is* the framework repo, so a repo-level
> stop fires on virtually every real project. The danger is not that such
> commits *exist*; it is that they get **rendered as player-facing copy**.
> Excluding them addresses that exactly, and a repo-level stop does not.

Corroborate before you proceed, cheaply: the Game commits should name systems
that appear in `design/` and the code root (`src/`, `Assets/` or `Source/`). If
they name a product those directories
never mention, that is the real wrong-history signal — stop.

If **no** commit in the range is this game's, say so and stop:

> "The git history in this repo does not appear to belong to [game]: 0 of the [N]
> recent commits are Game commits. The recent
> commits describe [what they actually describe]. I cannot generate release notes
> from it — point me at the right history, or supply the change list directly."

Verdict: **BLOCKED** — stop here without generating notes.

**Why this is a hard stop, not a warning.** Framework-internal commits rendered
as player copy read as real changes: a session-hook timeout becomes *"Fixed an
issue where progress from your last session could be lost on launch"* in a game
with **no save system**. That copy is fluent, plausible, and entirely false. A
reader cannot tell the difference; only this check can.

---

## Phase 1: Parse Arguments

- `version`: the release version to generate notes for (e.g., `1.2.0`)
- `--style`: output style — `brief` (bullet points), `detailed` (with context), `full` (with developer commentary). Default: `detailed`.

If no version is provided, ask the user before proceeding.

---

## Phase 2: Gather Change Data

- Read the internal changelog at `production/releases/[version]/changelog.md` if it exists
- Also check `docs/CHANGELOG.md` for the relevant version entry
- Run `git log` between the previous release tag and current tag/HEAD as a fallback
- Read sprint retrospectives in `production/sprints/` for context
- Read any balance change documents in `design/balance/`
- Read bug fix records from QA if available

**If no changelog data is available** (neither `production/releases/[version]/changelog.md`
nor a `docs/CHANGELOG.md` entry for this version exists, and git log is empty or unavailable):

> "No changelog data found for [version]. Run `/changelog [version]` first to generate the
> internal changelog, then re-run `/patch-notes [version]`."

Verdict: **BLOCKED** — stop here without generating notes.

---

## Phase 2b: Detect Tone Guide and Template

**Tone guide detection** — before drafting notes, check for writing style guidance:

1. Check `.claude/docs/technical-preferences.md` for any "tone", "voice", or "style"
   fields or sections.
2. Check `docs/PATCH-NOTES-STYLE.md` if it exists.
3. Check `design/community/tone-guide.md` if it exists.
4. If any source contains tone/voice/style instructions, extract them and apply
   them to the language and framing of the generated notes.
5. If no tone guidance is found anywhere, default to:
   player-friendly, non-technical language; enthusiastic but not hyperbolic;
   focus on what the player experiences, not what the developer changed.

**Template detection** — check whether a patch notes template exists:

1. Glob for `docs/patch-notes-template.md` and `.claude/docs/templates/patch-notes-template.md`.
2. If found at either location, read it and use it as the output structure for Phase 4
   instead of the built-in style templates (Brief / Detailed / Full). Fill in the
   template's sections with the categorized data, mapping each category to the
   template section that means the same (New Content → its new-features section,
   Bug Fixes → its fixes section); a category with no matching section goes under
   the closest one, never dropped. Keep the template's header and footer text
   as written. Say in the output which template was used — and, when `--style`
   was passed, that the template replaced it.
3. If not found, use the built-in style templates as defined in Phase 4.

---

## Phase 3: Categorize and Translate

Categorize all changes into player-facing categories:

- **New Content**: new features, maps, characters, items, modes
- **Gameplay Changes**: balance adjustments, mechanic changes, progression changes
- **Quality of Life**: UI improvements, convenience features, accessibility
- **Bug Fixes**: grouped by system (combat, UI, networking, etc.)
- **Performance**: optimization improvements players might notice
- **Known Issues**: transparency about unresolved problems

Translate developer language to player language:

- "Refactored damage calculation pipeline" → "Improved hit detection accuracy"
- "Fixed null reference in inventory manager" → "Fixed a crash when opening inventory"
- "Reduced GC allocations in combat loop" → "Improved combat performance"
- Remove purely internal changes that don't affect players
- Preserve specific numbers for balance changes (damage: 50 → 45)

---

## Phase 4: Generate Patch Notes

### Brief Style
```markdown
# Patch [Version] — [Title]

**New**
- [Feature 1]
- [Feature 2]

**Changes**
- [Balance/mechanic change with before → after values]

**Fixes**
- [Bug fix 1]
- [Bug fix 2]

**Known Issues**
- [Issue 1]
```

### Detailed Style
```markdown
# Patch [Version] — [Title]
*[Date]*

## Highlights
[1-2 sentence summary of the most exciting changes]

## New Content
### [Feature Name]
[2-3 sentences describing the feature and why players should be excited]

## Gameplay Changes
### Balance
| Change | Before | After | Reason |
| ---- | ---- | ---- | ---- |
| [Item/ability] | [old value] | [new value] | [brief rationale] |

### Mechanics
- **[Change]**: [explanation of what changed and why]

## Quality of Life
- [Improvement with context]

## Bug Fixes
### Combat
- Fixed [description of what players experienced]

### UI
- Fixed [description]

### Networking
- Fixed [description]

## Performance
- [Improvement players will notice]

## Known Issues
- [Issue and workaround if available]
```

### Full Style
Includes everything from Detailed, plus:
```markdown
## Developer Commentary
### [Topic]
> [Developer insight into a major change — why it was made, what was considered,
> what the team learned. Written in first-person team voice.]
```

---

## Phase 5: Review Output

Check the generated notes for:

- No internal jargon (replace technical terms with player-friendly language)
- No references to internal systems, tickets, or sprint numbers
- Balance changes include before/after values
- Bug fixes describe the player experience, not the technical cause
- Tone matches the game's voice (adjust formality based on game style)

---

## Phase 6: Save Patch Notes

Present the completed patch notes to the user along with: a count of changes by category, and any internal changes that were excluded (for review).

Ask: "May I write these patch notes to `docs/patch-notes/[version].md`, and an
archive copy to `production/releases/[version]/patch-notes.md`?"

If yes, write both files, creating the directories if needed.
If no, write nothing.

---

## Phase 7: Next Steps

Verdict: **COMPLETE** — patch notes generated and saved. (If the write was
declined: Verdict: **COMPLETE** — patch notes generated and shown, not saved.)

- Run `/release-checklist` to verify all other release gates are met before publishing.
- Share the patch notes draft with the community-manager for tone review before posting publicly.

© Donchitos · MIT · Donchitos/Claude-Code-Game-Studios

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой