open-metadata/openmetadata/pr-checklist

Claude Code and agent skill by open-metadata/openmetadata

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when opening or finalizing a GitHub PR for OpenMetadata. Walks through the repo PR template — self-review against REVIEW.md, 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.

Install

npx vskill@latest install open-metadata/openmetadata/pr-checklist

SKILL.md

The same SKILL.md was published earlier as open-metadata/openmetadata/pr-checklist.

PR Checklist for OpenMetadata

Self-reviews the branch against REVIEW.md, walks through .github/pull_request_template.md section by section, gathers evidence, and produces a fully-filled PR description before creating the PR.

Completion and shared evidence

PR creation uses focused verification and records broader checks as pending; it does not imply merge readiness or ongoing CI monitoring. Reuse the implementation's applicable evidence. After creation, verify the saved body and branch once, report the PR link and outstanding checks, and finish. Do not rerun tests merely to publish their results (--publish-results).

When to Use

  • Before running gh pr create
  • After finishing implementation, before requesting review
  • Updating the description of an existing PR that's missing required sections

Usage

/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

Required Sections (from .github/pull_request_template.md)

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 — when creating a PR for a UI feature or feature task with UI impact, run the PR build in Docker with sample data and embed a verified GitHub-hosted video in the description. Use ui-pr-recording; other changes may explain N/A.
  6. Checklist — every box either checked or explicitly N/A.

Step-by-Step Workflow

Step 1 — Inspect the change
bash
git status
git diff origin/main...HEAD --stat
git log origin/main..HEAD --oneline

Use the diff to classify the PR:

  • Creating a PR for a UI feature or a feature task/subtask with UI impact → Docker run + recording + GitHub upload required. Use task/issue intent and the diff, not just paths or labels. Standalone fixes, refactors, styling, localization, docs, tests and backend-only changes may explain N/A.
  • Touches `openmetadata-service/` + new/changed REST endpoints → backend integration tests required.
  • Touches Java, a JSON schema, an index mapping, `bootstrap/sql/`, seed data or a pom → the

focused Java checks must pass or have documented blockers (Step 3); list broader checks separately.

  • Touches `ingestion/src/metadata/ingestion/source/` → ingestion tests required.
  • >5 files changed, or new feature / refactor / breaking change → high-level design required.
  • Single-file fix with obvious scope → small change, design section can be N/A.
Step 1b — Self-review against REVIEW.md

Every PR is reviewed against REVIEW.md. Hold the branch to it first, before Step 3, so the tests run on the code you will ship. It is not optional, including for small diffs (ADR:2026-10-16-prs-self-review-against-shared-review-bar).

Before each pass, commit all intended changes, including fixes from the previous pass, so the branch diff includes them. Pin the reviewed commit with git rev-parse HEAD; leave unrelated work outside the commit.

  1. Review with fresh eyes. If your harness can start a subagent, start one that has none of your

session's context, and give it this prompt:

> Review commit <reviewed SHA> in <absolute path of this checkout> > (git diff origin/main...<reviewed SHA>) > against REVIEW.md at the repository root, as the reviewer that file describes. Follow its > "How to review" section. Return the test map (one line per changed source file: > file → test, or file → none), then the findings in its format, 🔴 first, then the three > lines of its "The review summary" section (Placement, Trade-off, Recommendation). Do not edit > files.

With no subagent, run the same pass yourself: read REVIEW.md, then read the diff file by file as if someone else had written it.

  1. Act on every 🔴 and every `→ none` on changed behavior. Fix the code and add the test that

fails without the fix, or write one line on why the finding does not apply. Nits are optional.

  1. Commit fixes and repeat after any change, until the committed diff returns no unanswered 🔴.

Any change to the intended files requires a new commit and pass; the final recorded SHA must match the content reviewed.

  1. Record it for Step 6: the SHA you reviewed, what you fixed, what you answered instead and

why, and the review's Placement, Trade-off and Recommendation lines.

Step 2 — Confirm the linked issue

Ask the user for the issue number if not obvious from the branch name or commit messages. Verify it exists:

bash
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:

  • Replace the template's Fixes #<issue-number> line with the test it fixes, e.g. Fixes the ChartResourceIT.test_bulkCreateOrUpdate_mixedCreateAndUpdate flake.
  • Give it a descriptive title with no issue number.
  • Add the skip-pr-checks label. "Validate PR Metadata" fails any PR without a linked issue, and this label is the only thing that skips it.
Step 3 — Gather test evidence

Run the relevant commands and capture output. Don't fabricate coverage numbers — run the tools.

Backend (Java) — unit and integration tests: PR checks run only the Java unit tests. The integration tests run only in the merge queue, and JavaUIIT/search-it run nightly. Use the java-affected-tests skill to select focused checks and report broader coverage separately:

bash
make java_affected ARGS="--scope focused" # changed tests + convention tests; add relevant regressions with a reason
make java_affected_run ARGS="--scope focused" # run once, unless valid evidence already exists
make java_affected ARGS="--publish-results" # publish saved evidence without executing tests
# For a task requesting merge readiness, run --scope full instead.

Before the PR exists, paste target/java-tests/local-pr-results.md between the local-java-test-results markers under "Backend integration tests"; once it exists, post the details with gh pr comment --body-file target/java-tests/local-pr-results-details.md. Resolve every impact-map gap and every "no unit test references" class the planner lists (the skill says how). Code and ITs the branch adds must be owned in the impact map before the PR: git push and gh pr create are blocked until python3 .github/scripts/plan_local_java_tests.py --check-branch passes. Coverage on changed classes:

bash
mvn jacoco:report -pl openmetadata-service
# Coverage HTML: openmetadata-service/target/site/jacoco/index.html

Ingestion (Python): PR checks run only the unit tests (py-tests → "Unit Tests & Static Checks"); tests/integration/ runs only in the merge queue. So if the diff touches ingestion/, select focused unit/integration checks for changed behavior and list broader checks as pending; merge-readiness tasks require the full affected set. An integration break you skip here first shows up as a merge-queue ejection.

List those tests: the changed test files, plus every test that imports a changed src/metadata module:

bash
cd ingestion
changed=$(git diff --name-only --diff-filter=d origin/main...HEAD -- . | sed 's|^ingestion/||')
{
grep -E '^tests/(unit|integration)/.*test_[^/]*\.py$' <<<"$changed"
for f in $(grep -E '^src/metadata/.*\.py$' <<<"$changed"); do
mod=$(sed -E 's|^src/||; s|/__init__\.py$||; s|\.py$||; s|/|.|g' <<<"$f")
grep -rlE --include='*.py' "${mod//./\\.}([^a-zA-Z0-9_]|$)" tests/unit tests/integration
done
} | sort -u > /tmp/affected-tests.txt

This finds from metadata.x.y import z. It misses from metadata.x import y, so also add the connector's tests/integration/<connector>/ directory when you change a connector.

For PR creation, run the focused checks selected for changed behavior and report the remainder as pending. For merge readiness, run the full affected list. Integration tests need a local server (./docker/run_local_docker.sh -m no-ui -i false) and Docker, for testcontainers:

bash
source ../env/bin/activate
grep '^tests/unit/' /tmp/affected-tests.txt | xargs -r python -m pytest -n auto --cov=metadata --cov-report=term-missing
grep '^tests/integration/' /tmp/affected-tests.txt | xargs -r python -m pytest

Put the commands you ran and their pass/fail counts in the PR body, under "Unit tests" and "Ingestion integration tests". For merge readiness, a shared-module change may require the full unit suite with nox --no-venv -s unit-tests and affected connector integration directories. For focused work, select regressions with a stated reason and report the broader list as pending.

Frontend unit tests (Jest):

bash
cd openmetadata-ui/src/main/resources/ui
yarn test <ChangedComponent> --coverage

Playwright (UI E2E): PR checks no longer run Playwright (the merge queue runs the full suite), so inspect the impact-mapped specs and select relevant workflow regressions for PR creation. Record exact commands/results and list outstanding specs; merge readiness runs all impacted specs:

bash
make playwright_affected # specs selected from .github/playwright/impact-map.json
make playwright_affected_run ARGS="--update-pr" # full impacted run for merge readiness

Without gh, paste playwright/output/local-pr-results.md between the local-playwright-results markers under "Playwright (UI) tests".

Visual regression baselines: not required. The visual lane is off on every event (ADR:2026-11-19-the-playwright-visual-lane-is-off-until-baselines-are-checked-before-merge), so do not refresh or list baselines.

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.
Step 4 — Collect manual test steps

Ask the user (or recall from the conversation): "What did you do by hand to verify this works?" List concrete, reproducible steps:

  • Stack started (./docker/run_local_docker.sh -m ui -d mysql)
  • Login user / role
  • Click path through the UI
  • Sample input + observed output
  • Negative-path check (error case, permission denial)
Step 5 — Docker recording when creating a UI feature/task PR

For a qualifying feature or feature task, use sections 1–3 of ui-pr-recording to build and run the PR in Docker with sample data, capture the feature and verify the video. Stop with the local artifact and evidence; do not create or edit a PR here. Upload the recording in Step 7, after drafting the body in Step 6. Carry out the capture as part of the authorized PR work rather than merely asking the user for a recording. Include the recorded SHA, startup/health evidence, sample-data setup and observed outcomes. Screenshots are optional additions, not substitutes. Refresh evidence after UI/runtime changes.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/open-metadata/openmetadata/pr-checklist/badge)](https://verified-skill.com/skills/open-metadata/openmetadata/pr-checklist)

Something wrong with this skill or its page? Tell us.