agentleFS
open-metadataopen-metadata/OpenMetadata/skills/systematic-debugging/SKILL.md

systematic-debugging

Skill15k starsChanged 3 months agoApache-2.0View on GitHub

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.

191 other projects use a version of this.

Trending

Less talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 10 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 8 mentionsSep 2026: 4 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the open-metadata/OpenMetadata repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about open-metadata/OpenMetadata

The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 40

Talked about on GitHub, Bluesky and Hacker News (40 times).

On GitHub · 29

24 more on GitHub

On Bluesky · 10

5 more on Bluesky

On Hacker News · 1

Used with

Projects with it also use diagnosing-superpowers, building-chatgpt-apps and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • mjunaidcaSkill

    building-chatgpt-apps

    Guides creation of ChatGPT Apps with interactive widgets using OpenAI Apps SDK and MCP servers. Use when building ChatGPT custom apps with visual UI components, embedded widgets, or rich interactive experiences. Covers widget architecture, MCP server setup with FastMCP, response metadata, and Developer Mode configuration. NOT when building standard MCP servers without widgets (use building-mcp-servers skill instead).

    Also in 4 projects that use this

  • mjunaidcaSkill

    building-chat-interfaces

    Build AI chat interfaces with custom backends, authentication, and context injection. Use when integrating chat UI with AI agents, adding auth to chat, injecting user/page context, or implementing httpOnly cookie proxies. Covers ChatKitServer, useChatKit, and MCP auth patterns. NOT when building simple chatbots without persistence or custom agent integration.

    Also in 4 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • +8 more from mjunaidca

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 173 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test failures with unclear cause

    line 14
  2. Distinctive:

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

    line 21
  3. Distinctive:

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

    line 45
  4. Distinctive:

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

    line 60
  5. Distinctive:

    Test your top hypothesis with the smallest possible experiment:

    line 64
  6. Distinctive:

    Fix only the root cause: Don't "improve" surrounding code.

    line 86
  7. Distinctive:

    After 3 failed fix attempts: Stop trying random fixes. Re-examine your hypotheses.

    line 93
  8. Distinctive:

    Blame the framework: Before assuming a bug in Dropwizard, Pydantic, or React, verify your own code is correct.

    line 101

“Common” is measured: kept by at least 6 in 10 of the 173 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.