code-review
Use to review code changes with a two-stage process - first checking spec/requirements…
Use when opening or finalizing a GitHub PR for OpenMetadata. Walks through the repo PR template — linked issue, high-level design (for big PRs), unit/integration/Playwright tests + coverage, UI screen recording, and manual test steps — then drafts a fully-filled PR body and
$ npx -y skills add open-metadata/OpenMetadata --skill pr-checklist --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pr-checklistContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when opening or finalizing a GitHub PR for OpenMetadata. Walks through the repo PR template — linked issue, high-level design (for big PRs), unit/integration/Playwright tests + coverage, UI screen recording, and manual test steps — then drafts a fully-filled PR body and
name: pr-checklist description: Use when opening or finalizing a GitHub PR for OpenMetadata. Walks through the repo PR template — linked issue, high-level design (for big PRs), unit/integration/Playwright tests + coverage, UI screen recording, and manual test steps — then drafts a fully-filled PR body and (optionally) creates the PR. user-invocable: true argument-hint: "[branch name or PR number — defaults to current branch]"
Walks through `.github/pull_request_template.md` section by section, gathers evidence, and produces a fully-filled PR description before creating the PR.
/pr-checklist # Walk template for current branch vs origin/main /pr-checklist feature-branch # Same, for a different branch /pr-checklist 12345 # Update description of an existing PR
Every PR must address each section below. Skip with an explicit "Not applicable — <reason>" rather than leaving blank.
1. **Linked issue** — `Fixes #<issue-number>` (GitHub auto-links). No issue → open one first. A test fix needs none (see Step 2). 2. **Type of change** — exactly one box checked. 3. **High-level design** — required for large PRs (new features, refactors, breaking changes, >5 files); skip for small bug fixes. 4. **Tests** — use cases covered, unit tests + coverage %, backend integration tests, ingestion integration tests, Playwright (UI) tests, manual test steps. 5. **UI screen recording / screenshots** — required for any UI change. 6. **Checklist** — every box either checked or explicitly N/A.
git status git diff origin/main...HEAD --stat git log origin/main..HEAD --oneline
Use the diff to classify the PR:
Ask the user for the issue number if not obvious from the branch name or commit messages. Verify it exists:
gh issue view <issue-number>
If no issue exists, stop and ask the user to open one before continuing.
**Exception: a test fix needs no issue.** Don't file an issue for a PR whose purpose is to fix a failing or flaky test. That holds even when the fix lands in the code the test caught rather than in the test itself. For such a PR:
Run the relevant commands and capture output. Don't fabricate coverage numbers — run the tools.
**Backend (Java):**
mvn test -pl openmetadata-service -Dtest=<ChangedTestClass> mvn jacoco:report -pl openmetadata-service # Coverage HTML: openmetadata-service/target/site/jacoco/index.html
**Backend integration tests:**
mvn test -pl openmetadata-integration-tests -Dtest=<NewIT>
**Ingestion (Python):**
source env/bin/activate cd ingestion make unit_ingestion_dev_env python -m pytest tests/unit/<changed_path>/ --cov=metadata.<module> --cov-report=term-missing
**Frontend unit tests (Jest):**
cd openmetadata-ui/src/main/resources/ui yarn test <ChangedComponent> --coverage
**Playwright (UI E2E):**
cd openmetadata-ui/src/main/resources/ui yarn playwright:run --grep "<feature name>"
For each, note the actual coverage % and test file paths in the PR body.
> Tip: hand off the heavy lifting — `/test-enforcement` produces the same evidence and enforces 90% coverage on changed classes. Run it first if the user hasn't already.
Ask the user (or recall from the conversation): "What did you do by hand to verify this works?" List concrete, reproducible steps:
If the PR touches the UI, the recording is **required**. Tell the user:
If the user can't attach the recording yet, mark the section `TODO: attach recording` and don't open the PR until it's added — or open as draft.
Fill in `.github/pull_request_template.md` with everything gathered above. Show the user the full draft for review before creating.
**New PR** (use a HEREDOC so formatting survives):
gh pr create --base main --title "Fixes #<issue>: <short title>" --body "$(cat <<'EOF' <filled-in template here> EOF )"
**New test-fix PR** (no issue): use a descriptive title and add `--label skip-pr-checks`.
**Update existing PR**:
gh pr edit <number> --body "$(cat <<'EOF' <filled-in template here> EOF )"
Return the PR URL when done.
Refus
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.…