changeset-decision
Skill390 starsChanged 36 days agoMITView on GitHub
Decide whether IX changes need a changeset, which packages to include, and draft the changeset summary. Use for pull requests, code reviews, component changes, styling or theming updates, accessibility changes, public API changes, behavior changes, and internal-only change classification in the Siemens IX monorepo.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- create-changesetSkill
- sddSkill
- visual-testing-snapshotsSkill
- ix-installationSkill
- ixSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 13 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Check whether linked issues or release details should appear in the changeset summary.
- Distinctive: line 42
If impact is unclear, prefer adding a changeset or explicitly state why one is not needed.
- Distinctive: line 49
If yes or unclear, require a changeset.
- Distinctive: line 50
If no, state that the change is internal-only and explain why.
- Distinctive: line 51
If a changeset is required, identify the affected packages.
- Very specific: line 54
If the work is linked to a GitHub issue, include Fixes #<issue-number> in the changeset summary.
- Distinctive: line 55
If the change is breaking, make sure the summary clearly explains the break and any migration steps.
- Very specific: line 56
If the change introduces a new component, property, method, or event, verify that JSDoc includes an @since tag aligned with the expected …
- Very specific: line 61
Use @siemens/ix for core component, styling, theme, token, and behavior changes in packages/core.
- Distinctive: line 64
Avoid adding unaffected packages only because generated files changed.
- Distinctive: line 68
When evaluating a change, report the result in this structure:
- Very specific: line 75
Follow-up checks: mention @since, accessibility coverage, or storybook coverage when relevant.
- Distinctive: line 79
Write the summary in release-note language, describing the consumer-visible outcome.
- Distinctive: line 80
Keep the summary specific to the affected packages.
- Distinctive: line 81
If the change is internal-only, do not invent a changeset.
- Distinctive: line 82
If the package list is uncertain, say so and explain which repository surfaces need confirmation.
- Distinctive: line 112
If no changeset is added, the review should explicitly confirm the change is internal-only.
≈ “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
Changeset Decision
When to Use
- Determine whether a change in the IX monorepo requires a changeset.
- Review a pull request for missing or incomplete changesets.
- Decide whether a change is user-facing or internal-only.
- Choose which packages belong in the changeset.
- Draft the changeset summary and package entries.
- Check whether linked issues or release details should appear in the changeset summary.
Decision Criteria
A changeset is required when the change is relevant for end users or downstream consumers. Treat the following as requiring a changeset unless the user explicitly established the change is internal-only:
- Public API changes.
- Component behavior changes.
- Styling or theming changes.
- Accessibility changes.
- Bug fixes that materially affect users.
- Documentation changes that affect usage expectations.
- Design token or theme changes.
- Generated wrapper changes when consumer behavior or API usage changes.
A changeset is usually not required when the change is clearly internal-only and has no consumer impact, for example:
- Refactors with unchanged behavior.
- Test-only updates.
- Tooling or CI changes.
- Internal build configuration changes.
- Documentation edits with no usage impact.
If impact is unclear, prefer adding a changeset or explicitly state why one is not needed.
Procedure
- Inspect the changed files and summarize the effective user impact, not just the implementation detail.
- Classify the change as one of: public API, behavior, styling or theming, accessibility, documentation affecting usage, bug fix, or internal-only.
- Decide whether downstream consumers would notice the change in release notes.
- If yes or unclear, require a changeset.
- If no, state that the change is internal-only and explain why.
- If a changeset is required, identify the affected packages.
- Include only relevant packages in the changeset. Do not add wrapper packages unless the wrapper surface or consumer experience is affected.
- Draft the changeset with the affected package entries and a concise summary focused on consumer impact.
- If the work is linked to a GitHub issue, include
Fixes #<issue-number>in the changeset summary. - If the change is breaking, make sure the summary clearly explains the break and any migration steps.
- If the change introduces a new component, property, method, or event, verify that JSDoc includes an
@sincetag aligned with the expected release type. - Mention accessibility coverage and storybook coverage when the change affects component behavior, UI states, or user interaction.
Package Selection Guidance
- Use
@siemens/ixfor core component, styling, theme, token, and behavior changes inpackages/core. - Include framework wrappers only when the wrapper package itself exposes a consumer-visible change.
- Include
@siemens/ix-aggridor@siemens/ix-echartsonly when their package behavior, theme output, or public usage changes. - Avoid adding unaffected packages only because generated files changed.
Review Output Format
When evaluating a change, report the result in this structure:
- Changeset required: yes or no.
- Reason: one short explanation tied to consumer impact.
- Affected packages: explicit package list or
none. - Draft changeset: either a proposed changeset block or
not needed. - Changeset notes: required summary details such as issue link, breaking-change migration note, or internal-only justification.
- Follow-up checks: mention
@since, accessibility coverage, or storybook coverage when relevant.
Drafting Guidance
- Write the summary in release-note language, describing the consumer-visible outcome.
- Keep the summary specific to the affected packages.
- If the change is internal-only, do not invent a changeset; explain why none is needed.
- If the package list is uncertain, say so and explain which repository surfaces need confirmation.
Example Draft Output
Changeset required: yes
Reason: The component styling change affects the rendered appearance for consumers.
Affected packages: @siemens/ix
Draft changeset:
---
## '@siemens/ix': patch
Adjust component styling so the updated visual state is applied consistently.
Changeset notes: Add `Fixes #1234` if this work resolves the linked issue.
Follow-up checks: Verify component accessibility coverage and storybook coverage for the new visual state.Examples
Use the changeset-decision skill for this PR. I changed a core component SCSS file and updated a React example.Determine whether my accessibility fix in tabs needs a changeset and which package to include.Review these changed files and tell me if this is internal-only or release-note worthy.Review my diff and draft the changeset I should add for this bug fix.
Repo Rules Captured By This Skill
- Missing changesets are review issues for user-facing or consumer-relevant changes.
- If no changeset is added, the review should explicitly confirm the change is internal-only.
- New component APIs should be checked for correct
@sincetags based on the expected 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.

