open-metadata/openmetadata/code-review
Claude Code and agent skill by open-metadata/openmetadata
- community
Checking that the SKILL.md file is still in the repository.
Use to review code changes with a two-stage process - first checking spec/requirements compliance, then code quality. Works on staged changes, branches, or PRs.
Install
npx vskill@latest install open-metadata/openmetadata/code-reviewSKILL.md
The same SKILL.md was published earlier as open-metadata/openmetadata/code-review.
Code Review for OpenMetadata
Two-stage review process: requirements compliance first, then code quality.
The bar is `REVIEW.md` at the repository root. Read it first. Its "How to review" order, its finding format (trigger → result → fix), its test and flaky-test shapes and its "Do not report" list override the generic checklist below wherever they differ.
When to Use
- Before creating a PR
- Reviewing someone else's PR
- Self-checking your own changes before requesting review
Usage
Stage 1: Spec Compliance Review
Verify the changes do what they're supposed to do — no more, no less.
Steps
- Understand the goal. Read the PR description, issue, or ask the user what the change is supposed to accomplish.
- Read all changed files. Use
git diffto see the full scope:
``bash git diff main...HEAD # Branch diff git diff --staged # Staged changes gh pr diff <number> # PR diff ``
- Check completeness against requirements:
- Does every stated requirement have a corresponding code change?
- Are there missing pieces? (e.g., backend change without migration, API change without UI update)
- Check for scope creep:
- Are there changes unrelated to the stated goal?
- Was code "improved" that didn't need to change?
- Check the cross-layer contract:
- Schema change (
openmetadata-spec/) + model regeneration (make generate) - Backend API change + frontend API client update
- New entity field + database migration (
bootstrap/sql/) - New connection config +
yarn parse-schemafor UI forms
Report Format (Stage 1)
If Stage 1 fails, stop here. Fix compliance issues before reviewing quality.
Stage 2: Code Quality Review
Now review the implementation quality.
Checklist
Architecture:
- [ ] Follows existing patterns in the module (check similar implementations)
- [ ] No new dependencies that duplicate existing functionality
- [ ] Connector-specific logic stays in connector-specific files (not in shared
builders.py)
Java:
- [ ] No wildcard imports (
import java.util.*) - [ ] No unnecessary comments on obvious code
- [ ]
mvn spotless:applyhas been run - [ ] Integration tests for new API endpoints (in
openmetadata-integration-tests/) - [ ] Proper error handling with meaningful messages
Python:
- [ ] pytest style (plain
assert, nounittest.TestCase) - [ ] Type hints on public functions
- [ ]
make py_format && make py_format_checkpasses - [ ] Pydantic 2.x patterns (not v1 compatibility layer)
TypeScript/React:
- [ ] No
anytypes — use proper types orunknownwith type guards - [ ] Tailwind classes use
tw:prefix - [ ] Strings use i18n (
t('label.xxx')) not string literals - [ ] CSS custom properties for colors/spacing, no hardcoded values
- [ ] Loading states and error handling with
showErrorToast/showSuccessToast
Testing (use `/test-enforcement` for full analysis; `REVIEW.md` § Tests lists the shapes reviewers reject):
- [ ] 90% line coverage on changed Java classes
- [ ] Integration tests for new/changed API endpoints
- [ ] Jest tests for new/changed React components
- [ ] Browser tests for new UI page behaviour; Playwright E2E for cross-feature journeys (
.claude/rules/frontend-browser-tests.md) - [ ] Tests verify behavior, not implementation
Security:
- [ ] No hardcoded secrets or credentials
- [ ] User input validated at system boundaries
- [ ] No SQL injection vectors (parameterized queries)
- [ ] No XSS vectors in frontend (proper escaping)
Decisions (`docs/decisions/`, rules in its `README.md`):
- [ ] No change undoes an Accepted record without adding the record that supersedes it
- [ ] A durable decision — a contract another component or repo must agree with, a new default or limit, an ordering that must hold, a rule stated only in the PR description — ships its record in this PR
Report Format (Stage 2)
Reviewing GitHub PRs
When reviewing a GitHub PR by number:
After review, optionally post findings:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-review/SKILL.md
Popularity
- Repository stars
- 15,335
- Repository forks
- 2,410
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/open-metadata/openmetadata/code-review)