Skip to content
Agentmart
Submit a tool

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious.

Skill by open-metadata

IndexedApache-2.0★ 15,567
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/open-metadata-systematic-debugging

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: testing, debugging

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/systematic-debugging

What's inside

Skill name
systematic-debugging
Description
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.
License
Apache-2.0
Instructions
97 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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"
   ```
3. **Check what changed recently:**
   ```bash
   git log --oneline -20
   git diff HEAD~5 -- <relevant-directory>
   ```
4. **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

| Symptom | Likely Cause | Verification |
|---------|-------------|--------------|
| `ImportError` in Python | Models not regenerated after schema change | `make generate` then retry |
| `TypeScript compile error` on generated types | Schema changed, types not rebuilt | `yarn parse-schema` then retry |
| Java `NullPointerException` in entity | Missing field in Flyway migration | Check `bootstrap/sql/migrations/` |
| Test passes alone, fails in suite | Shared state mutation between tests | Run with `--forked` (Java) or `-x` (pytest) |
| `404 Not Found` on API endpoint | Missing `@Path` annotation or route config | Check resource class registration |
| UI component renders blank | Missing i18n key | Check `locale/languages/en-us.json` |
| `Connection refused` in integration test | Docker service not running | `docker 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.

From open-metadata/OpenMetadata, Apache-2.0.

More from open-metadata/OpenMetadata

Compare and alternatives

Featured in

Signals

Stars
15,567
Forks
2,481
Open issues
677
Contributors
519
Last commit (this folder)
Mar 31, 2026 (7 months ago)
Last release
Oct 21, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from open-metadata

Cite this page

systematic-debugging skill. Agent Mart. https://agentmart.dev/skills/open-metadata-systematic-debugging (last updated 2026-10-24)