ui-checkstyle
Installation
SKILL.md
UI Checkstyle / ESLint + Prettier + organize-imports
The UI Checkstyle GitHub workflow (.github/workflows/ui-checkstyle.yml) runs
a single checkstyle job (after check-changes + authorize gates) whose
steps gate six checks, each on only the files the PR changed:
- ESLint + Prettier + organize-imports on src
(
openmetadata-ui/src/main/resources/ui/src/...) - Licence header check
- i18n sync (
yarn i18nproduces no diff) - app-docs (
yarn generate:app-docsproduces no diff) - ESLint + Prettier + organize-imports on playwright (
.../ui/playwright/...) - ESLint + Prettier on core-components
(
openmetadata-ui-core-components/src/main/resources/ui/src/...)
Any failing step fails the required ui-checkstyle status check. Each lint
step reformats the changed files and fails if the reformat produces a diff — i.e.
the committed tree must already be formatted. This skill runs the same sequence
locally so CI never has to ask.