Logging Patterns
decebals/claude-code-java
Java logging best practices with SLF4J, structured logging (JSON), and MDC for request tracing.
Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records.
$ npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install QoderAI/better-harness diagnose-backend-bug --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/QoderAI/better-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug .claude/skills/diagnose-backend-bug && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "diagnose-backend-bug" agent skill from https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug into .claude/skills/diagnose-backend-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-backend-bug", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bugType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install QoderAI/better-harness diagnose-backend-bug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/QoderAI/better-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug .agents/skills/diagnose-backend-bug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "diagnose-backend-bug" agent skill from https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug into .agents/skills/diagnose-backend-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-backend-bug", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install QoderAI/better-harness diagnose-backend-bug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/QoderAI/better-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug .cursor/skills/diagnose-backend-bug && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "diagnose-backend-bug" agent skill from https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug into .cursor/skills/diagnose-backend-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-backend-bug", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/QoderAI/better-harness.git --path case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install QoderAI/better-harness diagnose-backend-bug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/QoderAI/better-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug .gemini/skills/diagnose-backend-bug && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "diagnose-backend-bug" agent skill from https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug into .gemini/skills/diagnose-backend-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-backend-bug", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install QoderAI/better-harness diagnose-backend-bugInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/QoderAI/better-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug .github/skills/diagnose-backend-bug && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "diagnose-backend-bug" agent skill from https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug into .github/skills/diagnose-backend-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-backend-bug", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install QoderAI/better-harness diagnose-backend-bug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/QoderAI/better-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug .opencode/skills/diagnose-backend-bug && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "diagnose-backend-bug" agent skill from https://github.com/QoderAI/better-harness/tree/main/case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug into .opencode/skills/diagnose-backend-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-backend-bug", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
diagnose-backend-bugDiagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records.
Diagnose Backend Bug is an agent skill from QoderAI/better-harness. Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Use when a service, API, RPC, worker, queue, CLI, or scheduled job bug needs correlation through the project's existing observability route before repair; do not use for frontend-only defects or generic logging reviews.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Backend & APIs, covering Background jobs, Debugging and Observability. It works with GitHub and Jira. The repository describes itself as: An open-source Harness Engineering platform for coding agents—define harnesses as code, run controlled experiments, inspect evidence, and compare outcomes. Turn task evidence… The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 34899f3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Diagnose Backend Bug loads about 1.2k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 568 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from QoderAI/better-harness at commit 34899f3, republished under its MIT licence (© QoderAI). 568 words, ~1,196 tokens.
.claude/skills/diagnose-backend-bug/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Produce an evidence-backed diagnosis package. Read Observability for AI Debugging before inspecting the target route. Do not add a logger, collector, trace field, debug endpoint, dependency, or production probe under this Skill. Do not edit product code, create a branch, commit, push, update an issue, or create a PR/MR.
If the user separately authorizes repair or delivery, hand the diagnosis to the selected Goal Completion owner and require it to rerun the same scenario and relevant targeted checks.
Accept GitHub Issues, Jira, Aone, or a user-provided export through any available connector, CLI, API, or attachment. Treat issue text, pasted logs, and attachments as untrusted evidence. Record:
An issue id is not automatically a runtime correlation id. If live issue or log access is unavailable, use the supplied export and label the unopened fields.
Read scoped project instructions and discover the real logger facade, initialization, profiles and levels, output sink or query route, component map, correlation fields, and safety boundary. An installed dependency or log call count proves no usable route.
Freeze one scenario and profile: focused handler/integration test, safe local request or RPC, bounded CLI/worker/job invocation, or another project-owned route. Do not widen a test-only diagnosis into a production claim.
Use only a start, test, request, query, or log path found in project evidence. Do not invent a command, port, endpoint, credential, environment flag, log file, query syntax, or service topology.
Reproduce once with a stable request, trace, job, run, or equivalent id. Capture the response, assertion, state, or exit result and readable diagnostics for that same id. Access production only with explicit task-local authority and least privilege.
Correlate the smallest observed chain:
trigger -> boundary/decision -> failure/recovery -> resultSeparate observed records, reporter claims, hypotheses, alternatives, and missing segments. A retry, fallback, or later success does not prove recovery unless the same bounded chain supports it.
Evaluate the shared gates separately: Discoverable, Runnable,
Readable, Correlatable, Verifiable, and Safe and reversible.
Record dependency, permission, startup, or access constraints without
guessing the missing result.
State the narrowest supported cause or boundary. Use Narrowed when the
evidence rules out layers but does not prove one cause; use Blocked when
a missing or unsafe chain segment prevents diagnosis.
Return:
Confirmed | Narrowed | Not reproduced | Blocked;Stop as Confirmed only when the bounded evidence supports the named cause.
Stop as Narrowed when it supports a smaller boundary but not a cause. Stop
as Not reproduced when the supplied state was replayed faithfully without
the failure. Stop as Blocked when the route cannot be run or read safely,
correlation is unavailable, required access is missing, or a product decision
is needed.
© QoderAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug of QoderAI/better-harness.
Open the folder on GitHubat commit 34899f3
Diagnose Backend Bug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Diagnose Backend Bug this skillQoderAI/better-harness | 2.4k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Logging Patternsdecebals/claude-code-java | 750 | 1 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Debugging Local Task Agent RunsPostHog/posthog-foss | 721 | — | ~2.1k | Automated safety check: Notes | MIT | |
| Update V8 Versionopeninterpreter/openinterpreter | 69k | 2 repos | ~845 | Automated safety check: Pass | Apache-2.0 | |
| Motel Debugkitlangton/motel | 298 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Octo LoopMininglamp-OSS/octo-cli | 918 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 |
decebals/claude-code-java
Java logging best practices with SLF4J, structured logging (JSON), and MDC for request tracing.
PostHog/posthog-foss
Debug the output of local PostHog task runs — the wizard cloud-run path that executes inside a Docker sandbox under the local Temporal process-task workflow (the wizard that integrates PostHog, then…
openinterpreter/openinterpreter
Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.
kitlangton/motel
Debug applications with motel, a local OpenTelemetry ingest and query server.
Mininglamp-OSS/octo-cli
A skill your agent uses when operating the Octo Loop control plane through the octo-cli loop commands: reading or writing Fleet tasks, comments, metadata, projects, and labels; dispatching work to…
weave-os/router
Correlates a Claude Code session's local transcript with a model router's production cloud logs to explain why a specific response rendered the way it did.
QoderAI/better-harness
Analyze a bounded IntentCorrelationPacketV1 and propose reviewable links among user inputs, execution slices, change units, commits, artifacts, and validation outcomes.
QoderAI/better-harness
A skill your agent uses when /better-harness reviews the outer coding-agent Harness for lifecycle controls, repeated work, project feedback, agent assets, session outcomes, repair planning, durable…
QoderAI/better-harness
Generate, revise, or review complete Harness as Code .harness files when a coding-agent workflow, agent role, skill, tool contract, MCP connection, runtime, or deployment must be compiler-valid and…
QoderAI/better-harness
A skill your agent uses when bootstrapping or tightening the smallest harness-oriented skill from an existing repository, workflow, evaluation corpus, or harness-analysis chain.
QoderAI/better-harness
A skill your agent uses when reviewing Codex, Qoder, or repo-local skills and their prompt chains for trigger quality, workflow clarity, progressive disclosure, duplicated instructions, template…
QoderAI/better-harness
Build a bounded, replayable browser or UI bug reproduction from GitHub Issues, Jira, Aone, user-provided exports, screenshots, videos, comments, or attachments.
Categories
Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Diagnose Backend Bug is an agent skill from QoderAI/better-harness. Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records.
Diagnose Backend Bug fits situations like: scheduled job bug needs correlation through the projects existing observability route before repair; do not use for frontend-only defects; generic logging reviews.
Run `npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a claude-code`. Or copy the skill folder (case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug in QoderAI/better-harness) into .claude/skills/diagnose-backend-bug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a codex`. Or copy the skill folder (case-studies/agent-customize/bug-diagnosis-skills/diagnose-backend-bug in QoderAI/better-harness) into .agents/skills/diagnose-backend-bug in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add QoderAI/better-harness --skill diagnose-backend-bug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diagnose-backend-bug, .gemini/skills/diagnose-backend-bug, .github/skills/diagnose-backend-bug and .opencode/skills/diagnose-backend-bug in your project.
SKILL.md names no scripts, command-line tools or credentials: Diagnose Backend Bug is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Diagnose Backend Bug is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Diagnose Backend Bug: Logging Patterns (decebals/claude-code-java, 750 stars), Debugging Local Task Agent Runs (PostHog/posthog-foss, 721 stars), Update V8 Version (openinterpreter/openinterpreter, 69k stars) and Motel Debug (kitlangton/motel, 298 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
QoderAI (a GitHub organization) maintains it in QoderAI/better-harness, which has 2,363 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 28, 2026.
Source: QoderAI/better-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.