bug-triage
Use when the user reports a bug, regression, runtime error, failing build, or broken test and wants reproduction, diagnosis, root-cause analysis, or an authorized fix. Isolates the shared cause and verifies the smallest relevant change.
How do I install this agent skill?
npx skills add https://github.com/jmerta/codex-skills --skill bug-triageIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is designed for software debugging and bug triage, which are standard development tasks. It is generally safe but inherently possesses a surface for indirect prompt injection because it processes untrusted data such as logs and external repository code while maintaining the capability to modify files and execute commands.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
2/2 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Bug triage
Establish scope
- Read repository instructions and inspect the current branch, status, and relevant diff.
- Determine whether the user asked only for diagnosis or also authorized a fix.
- Inspect available errors, logs, tests, and code before asking for missing details.
- Record expected behavior, actual behavior, environment, frequency, and last known good state when they affect the investigation.
Reproduce and isolate
- Use the smallest reliable reproduction. Preserve the original failure output.
- If the failure is intermittent, control time, randomness, concurrency, data, and retries one variable at a time.
- Trace the failing path end to end. Search every caller of the function or component before editing it.
- Form a falsifiable hypothesis and run the narrowest check that can confirm or reject it.
- Use history or
git bisectonly when a regression boundary will materially shorten the search.
Separate these outcomes explicitly:
- confirmed product regression;
- pre-existing or baseline failure;
- environment, credentials, service, or dependency failure;
- insufficient evidence to reproduce.
Fix when authorized
- Add or adapt the smallest regression check that fails for the confirmed cause.
- Fix the shared root cause rather than guarding one visible caller.
- Avoid unrelated refactors, dependency upgrades, formatting churn, and broad exception handling.
- Re-run the reproduction, focused regression check, and the smallest relevant project checks.
Use the package manager, wrapper, and commands already selected by the repository. Infer them from repository instructions, manifests, lockfiles, and scripts; do not substitute another tool just because it is installed locally.
Report
Include:
- Observed: exact symptom and affected scope.
- Root cause: confirmed explanation, or the leading hypothesis clearly labeled.
- Change: files and behavior changed, or
diagnosis only. - Verification: commands and results, including baseline failures.
- Remaining risk: untested paths, flaky behavior, or external blockers.
Use references/bug-report-template.md only when the user needs a reusable intake form.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/jmerta/codex-skills/bug-triage">View bug-triage on skillZs</a>