changelog-generation
Skill573 starsChanged 8 months agoMITView on GitHub
**WORKFLOW SKILL** — Generates release changelog entries and bumps versions for azd core or azd extensions. Identifies merged PRs since the last release, fetches PR details via GitHub MCP, classifies changes, and writes user-facing changelog entries with proper formatting, attribution, and spell checking.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- zeroclaw-labs/zeroclawtheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- zeroclaw-labs/zeroclaw★ 33ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- cli/azd/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.agents/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.connections/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.inspector/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.projects/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.routines/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.skills/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.toolboxes/AGENTS.mdAGENTS.md
- ext/vscode/AGENTS.mdAGENTS.md
- .github/skills/extension-user-contract-review/evals/fixtures/cli/azd/AGENTS.mdAGENTS.md
- ext/vscode/.github/copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- azdSkill
- agentic-workflowsSkill
- azd-code-reviewerSkill
- azd-grpc-contractsSkill
- azd-preflightSkill
- extension-user-contract-reviewSkill
- foundry-extension-scenario-authoringSkill
- foundry-extension-scenario-pr-regressionSkill
- foundry-extension-scenario-suite-runSkill
- senseiSkill
- tool-version-upgradeSkill
- weekly-demo-videoSkill
- weekly-reportSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
USE FOR: generate changelog, update changelog, release notes, changelog for extension, changelog for azd core, bump version, prepare …
- Distinctive: line 15
DO NOT USE FOR: code review (use code-review), creating PRs (use pull-request), deploying releases, publishing extensions to registry.
- Very specific: line 31
Check if the cwd is inside a cli/azd/extensions/<name>/ directory.
- Very specific: line 32
If yes → infer extension scope, with <name> as the target extension.
- Distinctive: line 33
If no → infer core scope.
- Very specific: line 42
If extension and not auto-detected: list folders under cli/azd/extensions/ and ask the user to select the target.
- Very specific: line 44
After extension scope is confirmed (whether auto-detected or manually selected), verify the target extension contains CHANGELOG.md, …
- Distinctive: line 52
If >30 commits in the range, display the count and ask the user if they want to see the full list or proceed directly to PR processing.
- Distinctive: line 79
Extension: use the version specified in the triggering issue or user request when explicit.
- Distinctive: line 81
After selecting the version, create or update the release header and write the drafted entries under it.
- Very specific: line 88
Cross-reference commit range (forward): verify every [[#NNNN]] PR number against the commit list from Step 2.
- Very specific: line 103
If new names or handles trigger errors, add them to .vscode/cspell-github-user-aliases.txt.
- Distinctive: line 122
No new commits since cutoff → inform user, no changelog entry needed
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
changelog-generation
WORKFLOW SKILL — Generates release changelog entries for azd core or extensions.
INVOKES: GitHub MCP tools, git CLI, gh CLI, cspell CLI, ask_user.
Workflow
Step 1 — Determine Scope
Auto-detect scope from the current working directory:
- Check if the cwd is inside a
cli/azd/extensions/<name>/directory.- If yes → infer extension scope, with
<name>as the target extension. - If no → infer core scope.
- If yes → infer extension scope, with
Present the detected scope to the user for confirmation via
ask_user:I detected you're in
<cwd>, so I'll generate changelog for [core azd CLI | extension<name>]. Is that correct?Choices:
- Yes, that's correct (Recommended)
- No, switch to [core | an extension]
- If extension and not auto-detected: list folders under
cli/azd/extensions/and ask the user to select the target. - After extension scope is confirmed (whether auto-detected or manually selected), verify the target extension contains
CHANGELOG.md,version.txt, andextension.yaml. If any are missing, stop and list which files are absent.
Step 2 — Find Cutoff & List Commits
Per references/scope-rules.md § Commit Discovery.
- Inspect changelog git history to find the cutoff commit SHA.
- List commits from cutoff to origin/main (extensions: scoped to extension path).
- If >30 commits in the range, display the count and ask the user if they want to see the full list or proceed directly to PR processing.
- Present the commit list to the user. This is a manual pre-filter opportunity — ask if any commits should be explicitly included or excluded before automated processing.
Step 3 — Process Each PR
For each commit remaining after the user's pre-filter in Step 2, extract its PR number using the rules in references/pr-processing.md (each commit maps to exactly one canonical PR). Apply the automated exclusion rules and complete the full sub-workflow before moving to the next. Do not batch or abbreviate — and do not skip a PR unless an explicit error-handling rule applies and the user confirms skipping.
Track processed PR numbers. If a PR number was already processed in a previous commit, skip it. If the commit subject starts with Revert, skip both the revert commit and note the original PR number to avoid including the reverted change.
Per references/pr-processing.md:
- Extract PR number from commit subject (
(#1234)) or locate by SHA. - Fetch PR details via GitHub MCP (owner:
Azure, repo:azure-dev). - Detect external contributors per references/pr-processing.md § External Contributor Detection.
- Fetch linked issues from the PR body when relevant to understanding user impact.
- Apply exclusion rules per references/pr-processing.md § Exclusion Rules.
- Cross-release deduplication: before writing an entry, search all existing sections in CHANGELOG.md for the PR number and any linked issue numbers from the PR body. If a match is found in a prior release, skip the entry and log a note. Entries must always use PR numbers (
pull/NNNN), not issue numbers (issues/NNNN), to maintain consistency with the[[#PR]]format convention. - Categorize and draft the entry per references/pr-processing.md § Category Classification and § Entry Format.
Step 4 — Determine Version & Update Files
Files to update (core): cli/azd/CHANGELOG.md, cli/version.txt, cli/azd/pkg/azdext/version.go
Files to update (extension): <extension>/CHANGELOG.md, <extension>/version.txt, <extension>/extension.yaml
For version derivation rules, see references/scope-rules.md § Version Files.
- Core: use the version specified in the triggering issue or user request when explicit. Otherwise, assess the included changes and select an appropriate patch or minor version. Replace the top unreleased header with the selected version and today's date, without adding a new unreleased placeholder above it. Update
cli/version.txtandcli/azd/pkg/azdext/version.go(Versionconstant) to the released version. - Extension: use the version specified in the triggering issue or user request when explicit. Otherwise, select the next version by following the extension's own versioning convention from its changelog history and assessing the included changes. Update both
version.txtandextension.yaml— they must match exactly.
After selecting the version, create or update the release header and write the drafted entries under it.
Step 5 — Assemble & Review
- Remove empty category sections — scan the new release entry and delete any
### <Category>heading that has no bullet entries beneath it (i.e., the next line is blank followed by another###heading or##heading or end of section). This is mandatory — never leave empty### Breaking Changes,### Features Added,### Bugs Fixed, or### Other Changessections in the final output. - For extensions using flat bullet lists (no category headings), match the existing style.
- Validate PR links: verify that every
-bullet under a category heading contains a[[#NNNN]]link. If any entry is missing a link, flag it and require either adding the PR reference or explicitly justifying the omission. When a single large PR warrants multiple changelog bullets, each must reference the same PR number. - Cross-reference commit range (forward): verify every
[[#NNNN]]PR number against the commit list from Step 2. Flag any PR that does not appear in the commit range — it may be a duplicate from a prior release or an incorrectly attributed entry. - Reverse cross-reference (coverage check): for every commit in the Step 2 range, verify it is either (a) included in the changelog entry, or (b) excluded with a documented reason (test-only, docs-only, CI, extension-only, dependency bump, duplicate PR, alpha-gated, or cross-release dedup). Present a summary table to the user listing each commit's PR number, title, and disposition (included / excluded with reason). Flag any commit that is neither included nor has a clear exclusion reason — these are potential misses that require explicit user confirmation before proceeding.
Present the complete changelog entry to the user for review via
ask_user.Choices:
- Approve — accept and proceed to spell check
- Edit — provide feedback for revisions (loop back). If the revisions change the included entries, reassess the version and update the release header and version files in place before presenting again.
- Abort — cancel the entire workflow
Step 6 — Spell Check
cspell lint "<changelog-path>" --relative --config "$(git rev-parse --show-toplevel)/cli/azd/.vscode/cspell.yaml" --no-progressIf new names or handles trigger errors, add them to .vscode/cspell-github-user-aliases.txt.
Core Release Tracking Handoff
Changelog preparation is not release publication. Once the core changelog PR exists, offer the azd release canvas as the next step when canvas support is available. For canvas-initiated preparation, tracking already exists: return the PR link so the driver can link it inside that release. Otherwise, the driver can select New release, create tracking with the version only, and link the existing PR there. Publishing follows after the PR merges. Ask before opening the canvas; do not create tracking issues or queue a pipeline implicitly as part of changelog generation. If canvas support is not available, link the guide instead. Extension releases do not use this core canvas.
Error Handling
- GitHub MCP unavailable → fall back to
ghCLI:gh pr view {number} --json title,author,body,labels,files - No new commits since cutoff → inform user, no changelog entry needed
- PR deleted or inaccessible → log warning, skip with user confirmation
- cspell not installed → warn, skip spell check, note in summary
- Extension missing required files → stop, list which files are missing
- Version mismatch between
version.txtandextension.yaml→ warn, ask which is correct - Cannot determine cutoff → ask user for the cutoff commit SHA or previous release version
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

