How to apply the selected rules in this repository.
- WebAwesome component usage and variants —
rules/generative/frontend/webawesome/README.md. - Angular Awesome directives and module imports —
rules/generative/frontend/angular-awesome/README.md. - JWebMP client integration patterns —
rules/generative/frontend/jwebmp/client/README.md. - JWebMP TypeScript bindings and rendering guidance —
rules/generative/frontend/jwebmp/typescript/README.md. - Angular base + version override —
rules/generative/language/angular/angular.md,rules/generative/language/angular/angular-20.rules.md.
- Page bootstrap:
WebAwesomePageConfigurator.configure(page)injects CSS/JS, theme classes, andangular-awesomedependency. - Module registration:
WebAwesomeInclusionModulecontributescom.jwebmp.webawesomepackage for Guice scanning. - Components:
Wa*classes map to custom elements (wa-button,wa-input,wa-popover, etc.) with CRTP setters for attributes (variant, appearance, placement, size, loading/disabled, slots). - Layout helpers:
WaCluster(row) andWaStack(column) manage grouping;WaSplit/WaSplitPanelhandle resizable areas. - Overlay/feedback:
WaDialog,WaPopover,WaPopup,WaToastContainer,WaSkeleton,WaSpinnerrely on placement enums to configure behavior.
- CRTP fluent setters and examples —
rules/generative/backend/fluent-api/crtp.rules.md(use Wa* patterns, avoid builders). - Logging conventions (Log4j2) —
rules/generative/backend/logging/LOGGING_RULES.md. - Nullness defaults —
rules/generative/backend/jspecify/jspecify.rules.md.
- TDD flow and acceptance criteria —
rules/generative/architecture/tdd/README.md. - Java Micro Harness setup —
rules/generative/platform/testing/java-micro-harness.rules.md. - Coverage targets with Jacoco —
rules/generative/platform/testing/jacoco.rules.md. - Cross-browser validation via BrowserStack —
rules/generative/platform/testing/browserstack.rules.md.
- Secrets and environment variables —
rules/generative/platform/secrets-config/env-variables.md. - CI/CD (GitHub Actions shared workflow) —
rules/generative/platform/ci-cd/README.mdand provider docrules/generative/platform/ci-cd/providers/github-actions.md.
- Align terminology with
GLOSSARY.mdand diagrams indocs/architecture/README.mdbefore altering APIs. - Implementation references live in
IMPLEMENTATION.md; update both directions when adding or modifying modules.
- Default to TDD: write failing unit tests per component before adding attributes or setters; assert rendered custom element tags and attributes.
- Validate CSS/JS injection via tests around
WebAwesomePageConfiguratorto ensurebasePath, theme classes, and priorities are respected. - Acceptance for new components: CRTP chaining preserved, attributes match WebAwesome rule files, and events map to
wa-*names. - Optional BrowserStack runs should target representative Wa components (WaButton, WaInput, WaCluster/WaStack layout) for regression smoke tests.
- Apply forward-only changes: replace obsolete docs with links to the modular rules instead of keeping legacy HTML snapshots.
- When adding/removing components, update
module-info.javaexports/opens and refresh glossary references; record risky removals inMIGRATION.mdif they occur.