breaking-changes
Skill76 starsChanged 6 days agoApache-2.0View on GitHub
Use before changing a public UI Kit component prop, event, CSS custom property, UIConfig key, exported helper or type, or published package entry. Check whether existing applications would break. Stop and ask the maintainer before making a breaking change.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- esphome/esphometheir own version, first seen Nov 1, 2026
- modelcontextprotocol/csharp-sdktheir own version, first seen Oct 5, 2026
- hashicorp/terraform-provider-awstheir own version, first seen May 14, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- esphome/esphome★ 12ksame name
- hashicorp/terraform-provider-aws★ 11ksame name
- modelcontextprotocol/csharp-sdk★ 4.7ksame 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 repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- packages/core/AGENTS.mdAGENTS.md
- packages/core/src/components/AGENTS.mdAGENTS.md
- packages/core/src/lib/AGENTS.mdAGENTS.md
- packages/core/src/utils/AGENTS.mdAGENTS.md
- code-first-workflowSkill
- minimal-changesSkill
- no-guessingSkill
- plain-markdownSkill
- realtimekit-jsdocSkill
- realtimekit-sdk-mapSkill
- realtimekit-test-setupSkill
- strict-namingSkill
- writing-testsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Do not make breaking changes without the maintainer's explicit approval.
- Distinctive: line 83
If you cannot decide, treat the change as breaking and inform the developer.
- Distinctive: line 91
Add. Do not change or remove.
- Very specific: line 100
Before you edit, list every public thing your change touches.
- Distinctive: line 101
Check whether existing JSX, markup, custom configs, imports, styles, and event listeners still work.
- Distinctive: line 105
When the developer approves a breaking change: build exactly what was approved.
- Distinctive: line 130
Add this line to the report you send after the code is written:
- Distinctive: line 136
Never leave the line out. "Not checked" is not an allowed answer.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Breaking changes
The rule
Do not make breaking changes without the maintainer's explicit approval.
Approval must name the breaking change. Examples: "yes, make the breaking change", "I know this breaks consumers, do it".
A request for a change is not that statement. The maintainer may not have seen that the change breaks something. Your job is to see it and tell them, every time.
Adding a new defaultLanguage key is an approved exception. Follow "Language dictionary additions" below.
What a breaking change is
A UI Kit consumer builds an application with @cloudflare/realtimekit-ui, its React or Angular wrapper, or its custom elements. They pass props to rtk-* components, listen to their events, customize UIConfig and CSS variables, and import exported helpers. meeting.* belongs to the separate RealtimeKit core SDK; do not treat its methods as this repo's API.
A change is breaking when the consumer upgrades the UI Kit, changes nothing in their own code, and existing supported usage no longer works:
- Type compatibility fails. Existing TypeScript code no longer accepts a prop, event, export, or config value.
- Runtime compatibility fails. An existing supported use stops working as expected, for example because a required control disappears or an event carries incompatible data.
A visible change alone is not a breaking change. A new opt-in feature changes behavior for apps that enable it without breaking apps that do not. A feature enabled by default needs a compatibility check: does it invalidate an existing supported use, or only add behavior? Reason through both cases for every public surface your change touches. Use the repo's existing checks when applicable; a passing unit test alone does not prove that an upgrade is safe.
Breaking
| Change | Why it breaks |
Remove or rename a component tag, @Prop(), @Event() name, CSS custom property, UIConfig key, or exported helper/type | Existing markup, styles, imports, or TypeScript code stop working |
Make an optional UIConfig field required | Existing custom configs no longer type-check |
Narrow a prop type, for example remove a supported size value | Existing JSX or component assignments no longer type-check |
Change a prop default or the output of createDefaultConfig() so an existing supported control stops working | Apps using the default UI lose that behavior without changing their code |
Change when rtkStateUpdate or rtkStatesUpdate fires, or change its detail incompatibly | Existing state listeners miss updates or cannot use the detail they receive |
Remove a child from the default UIConfig.root tree | The default UI no longer shows that control |
| Change an exported helper's required arguments, return type, or behavior incompatibly | Existing calls fail to type-check or no longer produce a usable result |
| Remove a package export path, generated wrapper entry, or supported runtime | Existing imports or component registration fail |
Language dictionary additions
You may add a new key to defaultLanguage without asking for separate breaking-change approval. The exported LangDict type comes from typeof defaultLanguage. A complete dictionary typed as LangDict may need the new key to compile after an upgrade. State that impact and list the new keys in your report.
This exception covers additions only. Removing or renaming a published language key still needs explicit approval. Renaming a key introduced in the same unreleased change does not remove a published key.
Not breaking
| Change | Why it is safe |
Add an optional @Prop() without changing existing rendering | Existing component usage stays valid and looks the same |
| Add a feature behind a prop that is off by default | Apps without the prop keep their existing behavior; apps opting in get the new behavior |
Add an optional UIConfig field with the same default behavior | Existing custom configs stay valid |
| Add a new component or exported helper without changing old entries | Existing imports and component usage stay valid |
| Broaden a prop type while preserving old behavior | Existing values remain valid |
Mark a prop or export @deprecated and keep it working | Existing code still runs |
| Change internal code with the same DOM, events, styles, and results | Consumers see no difference |
// Today, in rtk-meeting
@Prop() leaveOnUnmount = false;
@Prop() gridLayout: GridLayout = 'row';
// Not breaking: the new UI appears only when an app opts in.
@Prop() showMeetingLabel = false;
// Breaking: existing JSX can no longer pass the old gridLayout value.
@Prop() gridLayout: Exclude<GridLayout, 'row'> = 'column';
// Breaking: existing custom UIConfig objects may omit designTokens.
// Changing the optional field to required rejects those objects.
interface UIConfig {
designTokens: DesignTokens;
}
// Also breaking: changing createDefaultConfig() to remove a control
// from config.root changes apps that rely on the default layout.Not sure
If you cannot decide, treat the change as breaking and inform the developer. These cases often need the developer's decision:
- A bug fix that changes event timing or removes an old UI path. Check whether existing supported usage depends on it.
- A new value in a prop or state union. Consumer code may not handle it.
- A change in default layout, styling, or event order that may disrupt existing supported usage.
How to stay non-breaking
Add. Do not change or remove.
- A new optional prop or config key whose default keeps today's behavior.
- A new exported helper next to the old one. Keep the old one working and mark it
@deprecated. - A new event next to the old one, without removing the old event.
- New behavior behind a prop that is off by default.
What to do
- Before you edit, list every public thing your change touches. Check
@Prop()and@Event()in the component source,packages/core/src/exports.ts,UIConfig, and package export paths as needed. - Check whether existing JSX, markup, custom configs, imports, styles, and event listeners still work. Run applicable existing checks after the code change; do not run a build or generator yourself.
- Not breaking, or an allowed language dictionary addition: continue. Write the result and any type impact in your report.
- Other breaking changes, or not sure: change no file. Send the message below and end your turn. Do this even when the developer asked for exactly this change.
- Continue only when the developer picks a non-breaking way, or says in clear words that they want the breaking change.
- When the developer approves a breaking change: build exactly what was approved. In your report, list again what breaks, and say that the commit message and the release notes must mark it as a breaking change.
STOP: this is a breaking change. I have not changed any file.
What you asked for: <one line>
What breaks for UI Kit consumers:
- `<public member>`: <how it is today> -> <how it would be>.
Consumer code that <does what> will <not type-check / do this instead>.
Who is affected: <which consumers, for example users of this component prop>
Ways to do it without breaking:
1. <way> - <what the consumer sees>
2. <way> - <what the consumer sees>
My suggestion: way <number>, because <reason>.
This repo does not allow breaking changes. I will continue when you choose a
non-breaking way, or tell me in clear words that you want the breaking change.In every report
Add this line to the report you send after the code is written:
Breaking change check: <"not breaking", with the reason in one line> or <"allowed language dictionary addition", with the new keys and type impact> or <"breaking, approved by you", with what breaks>Never leave the line out. "Not checked" is not an allowed answer.
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.

