Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a .builderrules guidance file to steer Builder.io/AI-assisted code generation toward established patterns in ydb-embedded-ui, aligned with existing repo conventions and tooling.
Changes:
- Introduces “Do/Don’t” rules for React/TS, routing, data fetching (RTK Query +
window.api), i18n, styling, and tables. - Documents verified repo commands from
package.jsonand safety/permission prompts for higher-impact operations. - Lists key project entry points and “good example” files to copy local patterns from.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Builder.io agent rules file to codify repository-specific conventions and stable anchors for AI-assisted changes, aligning Builder usage with existing YDB Embedded UI patterns.
Changes:
- Introduces
.builderruleswith “Do / Don’t” guidance for React/TS, RTK Query, i18n, tables, and safety checks. - Documents verified repo commands to use for validation and CI-friendly workflows.
- Provides a set of stable-anchor paths (AGENTS.md, app wiring, API, i18n utilities) to guide navigation.
| - Do not use JSX fragment shorthand `<>`. | ||
| - Do not hardcode user-facing strings, colors, or empty placeholders. | ||
| - Do not fetch directly in components or bypass `window.api`. | ||
| - Do not import components through `index.ts` re-exports unless the local pattern explicitly requires it. Do not create new re-export-only `index.ts` files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3798
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
😟 No changes in tests. 😕
Bundle Size: ✅
Current: 63.40 MB | Main: 63.40 MB
Diff: 0.00 KB (0.00%)
✅ Bundle size unchanged.
ℹ️ CI Information