code-review
Use to review code changes with a two-stage process - first checking spec/requirements…
Run `mvn spotless:apply` to fix Java checkstyle / formatting failures and verify the result. Invoke after authoring or modifying any `.java` files, or when CI reports a "Java checkstyle failed" or "Fix Java checkstyle" issue on a PR.
$ npx -y skills add open-metadata/OpenMetadata --skill java-checkstyle --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/java-checkstyleContext preview
The summary Claude sees to decide when to auto-load this skill.
Run `mvn spotless:apply` to fix Java checkstyle / formatting failures and verify the result. Invoke after authoring or modifying any `.java` files, or when CI reports a "Java checkstyle failed" or "Fix Java checkstyle" issue on a PR.
name: java-checkstyle description: Run `mvn spotless:apply` to fix Java checkstyle / formatting failures and verify the result. Invoke after authoring or modifying any `.java` files, or when CI reports a "Java checkstyle failed" or "Fix Java checkstyle" issue on a PR. user-invocable: true argument-hint: "[-pl <module>] [--check]" allowed-tools: - Bash - Read - Grep - Glob
OpenMetadata enforces Java formatting via the Spotless Maven plugin. Every CI build runs `mvn spotless:check` and fails the PR if any file is not formatted. This skill keeps the fix on a single, consistent command so reviewers never have to ask for it manually again.
"run spotless", "format Java", or similar.
(the project's bot phrases the instruction as "Please run `mvn spotless:apply` in the root of your repository and commit the changes to this PR").
opening a PR or pushing a commit that touches Java.
`-pl openmetadata-service`). Useful when only one module changed and you want a faster run.
tree is clean without touching files (e.g. to verify before push).
From the repo root:
mvn spotless:apply # default — formats everything # or mvn -pl <module> spotless:apply # scoped to one module # or mvn spotless:check # verify only, don't write
Spotless is fast (seconds, no compilation). If it fails with a plugin error (not a formatting diff), surface the error and stop — do not try to hand-edit formatting around the failure.
git status --short git diff --stat
Expect reformatting in `.java` files only. If Spotless touches `pom.xml` or other non-Java files, that's also fine — Spotless is configured for those too in this repo.
Do not fold the reformat into an unrelated commit. If the user asked you to commit, follow their preference (fold into the in-progress commit, or make a separate one). Otherwise, when you are confident the change is a purely mechanical formatting reformat, you may commit it on its own as a `Fix Java checkstyle` commit — this matches the repo's existing history for bot-triggered formatting-only commits. If you are unsure whether the diff is purely mechanical, do NOT auto-commit: surface the changed-file list and let the user decide.
section) — `googleJavaFormat` + `removeUnusedImports`. Do not redefine formatting rules inline in source files.
Spotless is the source of truth, not the IDE.
`java-checkstyle` job runs `mvn spotless:apply` and fails (`git diff-files`) if the tree was not already formatted, posting the "Please run `mvn spotless:apply`" comment.
(ESLint + Prettier + organize-imports); this skill is Java-only.
`ingestion/Makefile`). *(Note: this is ruff, not black/isort/pycln.)*
The Open Context Layer for Data and AI , OpenMetadata is the open platform for building trusted data context and business semantics for humans, AI assistants, and agents.
Repo: open-metadata/OpenMetadata
Use to review code changes with a two-stage process - first checking spec/requirements…
Deep reliability audit for OpenMetadata connectors — runs 7 investigation prompts (metadata,…
Build a new OpenMetadata connector from scratch — scaffold JSON Schema, Python boilerplate,…
Review an OpenMetadata connector against golden standards. Runs multi-agent analysis covering…
Load all OpenMetadata connector development standards into context. Use before building or…
Set up, verify, or repair a local OpenMetadata development environment on macOS or Linux.…