consolidate-changelogs
Consolidate open changelog PRs into a single PR, filtering out non-user-facing changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Consolidate open changelog PRs into a single PR, filtering out non-user-facing changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | consolidate-changelogs |
| description | Consolidate open changelog PRs into a single PR, filtering out non-user-facing changes |
| disable-model-invocation | true |
| argument-hint | [{"optional":"PR numbers to include"},"or \"all\" for all open changelog PRs"] |
Combine open changelog entry PRs into a single reviewable PR. Filter out entries that aren't meaningful to users.
gh pr list --state open --json number,title,headRefName,body --limit 50
Filter to PRs whose branch matches changelog/v*. These are auto-generated changelog PRs.
For each changelog PR, extract the actual markdown file from the remote branch:
git show "origin/<branch>:<changelog-file-path>"
The changelog files live at src/content/changelog/ and are named YYYY-MM-DD-vX-Y-Z.md.
Remove entries that are purely backend/infrastructure with no user-visible impact:
Remove entries that describe implementation plumbing rather than user outcomes:
Keep entries that describe things users can see, do, or experience:
Present the list of entries you plan to remove and why, so the user can coach you before you proceed.
For each kept entry, create a markdown file in src/content/changelog/ following this format:
---
version: 'X.Y.Z'
date: 'YYYY-MM-DD'
prNumber: NNN
prUrl: 'https://github.com/sociotechnica-org/lifebuild/pull/NNN'
---
# vX.Y.Z
- User-facing description of the change
Do NOT include "View PR" links in the markdown content — PR links are rendered separately by the updates page using the frontmatter prNumber and prUrl fields.
File naming: YYYY-MM-DD-vX-Y-Z.md (use the date from the original entry, dashes instead of dots in version).
Write entries from the user's perspective. Describe what changed for them, not what code changed.
Entries can include:
Keep entries concise but descriptive. One to three bullet points per version is typical.
Update src/data/version.json with the highest version number from the kept entries and today's date:
{
"version": "X.Y.Z",
"lastUpdated": "YYYY-MM-DD"
}
npm run lint-allChangelogs: vX.Y.Z through vX.Y.ZChangelogs: vX.Y.Z through vX.Y.ZCloses #N for every original changelog PR in the body. This ensures merging the combined PR auto-closes and links all the individual PRs it supersedes. Use the format Closes #75, #76, #77, ... in the body.version, date, prNumber, prUrl# vX.Y.Z heading is hidden on the updates page (CSS display: none)[View PR] links in markdown — PR links are rendered from frontmatter