chore: regenerate all skill CHANGELOGs with path-filtered history#140
Conversation
All existing CHANGELOG.md files contained commits from the entire repo since the skill's last tag, making release notes meaningless. This regenerates each one from scratch using git log filtered to the skill's own directory, following up on #139 which fixed the root cause for future releases. Empty release sections (e.g. 1.0.0) indicate versions bumped solely by docs/refactor commits, which is correct — the angular preset omits those types from the CHANGELOG body. Also adds scripts/regenerate-changelogs.cjs in case a manual re-run is ever needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tessl Skill Lint
|
There was a problem hiding this comment.
Pull request overview
Regenerates all per-skill CHANGELOG.md files so each changelog only includes commits that touched that specific skill directory (path-filtered history), and adds a one-off script to reproduce the regeneration if needed.
Changes:
- Added
scripts/regenerate-changelogs.cjsto rebuild all skill changelogs usinggit log -- <skill-dir>. - Rewrote all affected skill
CHANGELOG.mdfiles to remove unrelated repo-wide commits and retain only path-relevant entries. - Normalized/trimmed many release sections that are now empty after filtering (matching the release-notes generation behavior described in the PR).
Reviewed changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/regenerate-changelogs.cjs | Adds a manual script to regenerate all skill changelogs using path-filtered git history. |
| plugins/aem/project-management/skills/admin/CHANGELOG.md | Removes unrelated commits; leaves only path-relevant content for this skill. |
| plugins/aem/project-management/skills/auth/CHANGELOG.md | Removes unrelated commits; leaves only path-relevant content for this skill. |
| plugins/aem/project-management/skills/authoring/CHANGELOG.md | Removes unrelated commits; leaves only path-relevant content for this skill. |
| plugins/aem/project-management/skills/development/CHANGELOG.md | Removes unrelated commits; leaves only path-relevant content for this skill. |
| plugins/aem/project-management/skills/handover/CHANGELOG.md | Removes unrelated commits; leaves only path-relevant content for this skill. |
| plugins/aem/project-management/skills/whitepaper/CHANGELOG.md | Removes unrelated commits; leaves only path-relevant content for this skill. |
| plugins/aem/edge-delivery-services/skills/analyze-and-plan/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/authoring-analysis/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/block-collection-and-party/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/block-inventory/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/building-blocks/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/code-review/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/content-driven-development/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/content-modeling/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/create-site/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/da-auth/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/docs-search/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/find-test-content/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/generate-import-html/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/identify-page-structure/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/page-decomposition/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/page-import/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/preview-import/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/scrape-webpage/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
| plugins/aem/edge-delivery-services/skills/testing-blocks/CHANGELOG.md | Removes unrelated commits; retains only commits affecting this skill’s directory. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "find", | ||
| ["plugins", "-name", "CHANGELOG.md"], | ||
| { cwd: ROOT, encoding: "utf8" } | ||
| ) | ||
| .trim() | ||
| .split("\n") |
| ? `# [${version}](${REPO_URL}/compare/${prev}...${tag}) (${date})\n\n` | ||
| : `# ${version} (${date})\n\n`; | ||
|
|
||
| if (breaking.length) { |
…doff CHANGELOG (#144) PR #139 wrapped commit-analyzer with path filtering but tried to fix release-notes-generator with gitRawCommitsOpts: { path: '.' } -- a no-op because the plugin reads context.commits from semantic-release, never gitRawCommitsOpts. Result: every skill release body and CHANGELOG included commits from the entire repo (see slicc-handoff-v1.0.0). - Add scripts/path-filtered-notes-generator.cjs mirroring the analyzer wrapper -- filters context.commits via git log -- . before delegating to the real plugin. - Wire it into release.config.cjs in place of the bare plugin entry; drop the dead gitRawCommitsOpts config. - Regenerate plugins/aem/edge-delivery-services/skills/slicc-handoff/ CHANGELOG.md (skipped by PR #140 because the tag did not exist yet).
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary
Follow-up to #139, which fixed the root cause for future releases.
CHANGELOG.mdfiles previously contained commits from the entire repo (e.g.scrape-webpagev2.0.0 listed 30+ commits fromstardust,migration,aem-workflow, etc.)git log -- <skill-dir>so each file only shows commits that actually touched that skillscripts/regenerate-changelogs.cjsin case a manual re-run is ever needed (uses only Node.js built-ins, nonpm cirequired)Note on empty release sections: some versions (e.g. a
1.0.0with no body) were triggered bydocs/refactorcommits which bump the version per ourreleaseRulesconfig but are intentionally omitted from the CHANGELOG body by the angular preset. This matches what the fixed tooling will produce going forward.Test plan
CHANGELOG.mdfiles to confirm they only reference commits that touched that skill's directoryfeat/fixcommits is missing them from its changelogscripts/regenerate-changelogs.cjsruns cleanly:node scripts/regenerate-changelogs.cjs🤖 Generated with Claude Code