ui-checkstyle

ui-checkstyle is a skill for Claude Code, Codex from open-metadata/OpenMetadata. It costs 122 tokens per session (1,754 once invoked), scanned A, original, Apache-2.0.

A local check that repeats OpenMetadata’s automated rules for JavaScript, TypeScript, React, and JSON files. These rules check code style, formatting, imports, licence headers, translations, and generated app documentation.

In plain words
What is it for?
Use it after editing supported UI files. It runs the required checks for application code, browser tests, and shared UI components, and fails if automatic formatting would change a file.
Why use it?
It catches formatting and repository-check failures before a pull request reaches continuous integration (CI), the service that checks changes automatically. It checks only files changed by the pull request.

Skill for Claude CodeCodex

Part of the openmetadata-skills plugin — 20 skills, 5 commands, 6 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/open-metadata/openmetadata/ui-checkstyle
Any agent
npx skills add open-metadata/OpenMetadata --skill ui-checkstyle
Clone the repo
git clone --depth 1 https://github.com/open-metadata/OpenMetadata

Made for: Claude Code, Codex.

Or install openmetadata-skills, the plugin that ships this one along with the rest of its 20 skills, 5 commands, 6 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-checkstyle

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-metadata/openmetadata/ui-checkstyle.svg)](https://agentmods.dev/skills/open-metadata/openmetadata/ui-checkstyle)
Your own site
<a href="https://agentmods.dev/skills/open-metadata/openmetadata/ui-checkstyle"><img src="https://agentmods.dev/badge/skills/open-metadata/openmetadata/ui-checkstyle.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00122 $0.01754
Opus 5 $0.00061 $0.00877
Sonnet 5 $0.00024 $0.00351
Haiku 4.5 $0.00012 $0.00175

Measured 4d ago against content hash ddabd9a46195, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui-checkstyle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ui-checkstyle/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

  1. ESLint + Prettier + organize-imports on src (openmetadata-ui/src/main/resources/ui/src/...)
  2. Licence header check
  3. i18n sync (yarn i18n produces no diff)
  4. app-docs (yarn generate:app-docs produces no diff)
  5. ESLint + Prettier + organize-imports on playwright (.../ui/playwright/...)
  6. 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.

Note: there is one checkstyle job with the steps above, not three separate lint-src/lint-playwright/lint-core-components jobs — those names are the internal step ids, and the workflow also gates licence/i18n/app-docs.

When to activate

  • The user asks to "fix UI checkstyle", "fix UI lint", "run prettier", "run eslint", "fix the UI format", "apply UI format", or similar.
  • CI reports a UI Checkstyle failure (the summary comment lists the failing check and the modified files).
  • After you have finished authoring or editing any .ts/.tsx/.js/.jsx/ .json under the three UI trees — before opening a PR or pushing a commit that touches UI.

Arguments

  • --src (default for files under openmetadata-ui/.../ui/src/)
  • --playwright (files under .../ui/playwright/)
  • --core-components (files under openmetadata-ui-core-components/...)
  • --all — run all three areas
  • --check — verify only: run the sequence in a dry-run pass and report which files are still dirty, without writing. Useful before push.

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 154 lines · 122 tokens per session scan A ddabd9a46195

Subscribe to this mod's changes

ui-checkstyle is a skill published in the GitHub repository open-metadata/OpenMetadata (15,098 stars, last pushed today), licensed Apache-2.0. It adds 122 tokens to every session and 1,754 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

test-review

You are an expert DataHub test reviewer. Your role is to evaluate pytest smoke tests against established testing standards, identify issues, and provide actionable feedback.

datahub-project/datahub · 0 tokens

oss-fuzz

Run Tika's OSS-Fuzz Jazzer targets locally against a working-tree checkout — build the image, build fuzzers from local source, fuzz a target, run a corpus as a regression pass, reproduce a crash, and add seeds. Use for "fuzz the OneNote parser", "run OneNoteParserFuzzer against these files", "reproduce an OSS-Fuzz…

apache/tika · 90 tokens

update-site-for-release

Update/publish the Apache Tika website (tika-site SVN repo) for a release — step 17 of the Release Process. Handles the 4.x track (Changes page + aggregate javadoc + Antora docs branch) vs the 3.x maintenance track (full per-version apt docs + javadoc). Use for "update the site", "publish the site for X.Y.Z", "the…

apache/tika · 92 tokens

file-to-markdown

Turn almost any file into Markdown plus metadata — PDF, Office, HTML, email, archives, images, audio/video, 1000+ formats — powered by Apache Tika, either via the tika-app CLI (zero setup, one file) or a running tika-server (curl, warm process, many calls). Leads with rmeta (structured, embedded-item-aware output) as…

apache/tika · 147 tokens

development

Ground rules for working in the Tika codebase — git policy, Maven wrapper/repo conventions, building and testing specific modules, code and test conventions, pre-commit checks. Load at session start for any Tika development task.

apache/tika · 49 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens