What problem does it solve?
The OpenMetadata CI "UI Checkstyle" workflow fails pull requests when changed TypeScript, JavaScript, or JSON files are not formatted exactly as ESLint, Prettier, and organize-imports would produce. This Skill runs the identical sequence locally on only the files your PR changed, so formatting failures are caught and fixed before pushing.
Core Features & Use Cases
- CI-Identical Lint Sequence: Runs organize-imports,
eslint --fix, and prettier --write in the exact order and with the same flags the ui-checkstyle workflow uses.
- Scoped to Changed Files: Computes the changed-file list from
git diff origin/main...HEAD across the src, playwright, and core-components UI trees, skipping areas with no changes.
- Check-Only Mode: The
--check flag performs a dry-run verification that the tree is clean without permanently modifying your working files.
- Use Case: After editing a React component under
openmetadata-ui/src/main/resources/ui/src/, invoke this Skill before committing so the PR passes the required ui-checkstyle status check on the first CI run.
Quick Start
Run the UI checkstyle skill on my changed files and fix any ESLint or Prettier diffs before I push.