open-metadata/openmetadata/systematic-debugging

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 debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

Install

npx vskill@latest install open-metadata/openmetadata/systematic-debugging

SKILL.md

The same SKILL.md was published earlier as open-metadata/openmetadata/systematic-debugging.

Systematic Debugging for OpenMetadata

Structured 4-phase debugging process. Stops you from guessing and forces root cause identification.

When to Use

  • Test failures with unclear cause
  • Build errors after dependency or schema changes
  • Runtime exceptions in backend, frontend, or ingestion
  • Issues that persist after 2+ fix attempts

Phase 1: Gather Evidence

Do not change any code yet. Only observe and collect data.

  1. Read the full error — not just the last line. Stack traces, build logs, test output.
  2. Reproduce reliably:

```bash # Java mvn test -pl <module> -Dtest=FailingTest#failingMethod

# Python source env/bin/activate && cd ingestion python -m pytest tests/unit/path/to/test.py::test_name -v

# TypeScript cd openmetadata-ui/src/main/resources/ui yarn test path/to/test.spec.ts

# E2E yarn playwright:run --grep "test name" ```

  1. Check what changed recently:

``bash git log --oneline -20 git diff HEAD~5 -- <relevant-directory> ``

  1. Document findings: Write down the exact error, when it started, and what you've observed.

Phase 2: Form Hypotheses

Based on the evidence, list 2-3 possible causes ranked by likelihood:

1. [Most likely] Schema change in X broke generated model Y
Evidence: error mentions field Z, git log shows schema modified 3 commits ago
2. [Possible] Dependency version mismatch after recent upgrade
Evidence: ClassNotFoundException for new API
3. [Unlikely] Test environment state pollution
Evidence: test passes in isolation but fails in suite

Do not jump to fixing yet. Verify the top hypothesis first.

Phase 3: Verify Root Cause

Test your top hypothesis with the smallest possible experiment:

  • Read the suspected code — don't guess what it does
  • Add targeted logging or use a debugger if needed
  • Check one hypothesis at a time — don't make multiple changes simultaneously
Common OpenMetadata Root Causes
SymptomLikely CauseVerification
ImportError in PythonModels not regenerated after schema changemake generate then retry
TypeScript compile error on generated typesSchema changed, types not rebuiltyarn parse-schema then retry
Java NullPointerException in entityMissing field in Flyway migrationCheck bootstrap/sql/migrations/
Test passes alone, fails in suiteShared state mutation between testsRun with --forked (Java) or -x (pytest)
404 Not Found on API endpointMissing @Path annotation or route configCheck resource class registration
UI component renders blankMissing i18n keyCheck locale/languages/en-us.json
Connection refused in integration testDocker service not runningdocker compose -f docker/development/docker-compose.yml ps

Phase 4: Fix and Verify

Now — and only now — write the fix:

  1. Fix only the root cause. Don't "improve" surrounding code.
  2. Run the failing test — it must pass now.
  3. Run the broader test suite for the affected module to check for regressions.
  4. Explain why the fix works in your commit message or response.

Escalation Rules

  • After 3 failed fix attempts: Stop trying random fixes. Re-examine your hypotheses. The root cause is likely different from what you think.
  • After 5 failed attempts: Question your assumptions about the architecture. Read more broadly — adjacent modules, recent PRs, dependency changelogs.
  • If the fix requires changing test infrastructure: Pause and discuss with the user. The problem might be in the test setup, not the code.

Anti-Patterns

  • Shotgun debugging: Changing multiple things at once hoping something works.
  • Symptom treating: Adding try/catch or if null checks to suppress errors instead of fixing the cause.
  • Blame the framework: Before assuming a bug in Dropwizard, Pydantic, or React, verify your own code is correct.
  • Skipping reproduction: "I think I know what it is" — prove it with a failing test first.

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/systematic-debugging/badge)](https://verified-skill.com/skills/open-metadata/openmetadata/systematic-debugging)

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