AGENT SKILL

debugging

Diagnose failures, regressions, or performance problems whose cause is not yet established.

License 许可
MIT
最近更新
2026-10-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
debugging
license
MIT
metadata
{ "hosts": [ "codex", "hermes-agent" ], "version": "1.1.2" }
description
Diagnose failures, regressions, or performance problems whose cause is not yet established.

02 资源文件 4

03 SKILL.md 正文

Debugging

Start with the observed failure, expected behavior and affected scope. Reuse logs, traces, reproductions and baseline evidence. Preserve failing state when collecting evidence would destroy it. Diagnose or repair according to the user's request.

Distinguish product failure from a mistaken expectation, setup failure, environmental drift or an unrelated baseline problem. A file outside the diff can still be affected indirectly; an unavailable provider does not establish product behavior.

Form the smallest causal hypothesis that explains the observation and choose a result that would reject it. Inspect the decisive caller and state transition, including caches, serialization or asynchronous ordering when relevant. Run the cheapest useful discriminator. Retry only when new inputs, setup, hypotheses or independent observations could change the conclusion.

When different fixes leave the same failure unchanged, revisit their shared premise and the observation before adding another compensating fix. Inspect responsibility or workload distribution when it could explain the symptom.

Before authoring or changing a reproduction, diagnostic check, comparison script or inline probe, apply Test Behavior. It decides check timing, independent expectations and lifetime, including explicitly requested regression or BRT delivery. Also apply it when an authorized repair removes or replaces a behavior contract, completes a migration or ends compatibility, even without a planned test edit. Continue causal diagnosis here; running an existing reproduction does not require a new test.

For performance, traces or version inconsistencies, use runtime diagnosis. Add instrumentation only for a real evidence gap. When a repair is authorized, fix the responsible owner and verify affected behavior after the coherent change.

For authorized delegation or cross-context handoffs that need coordinated work boundaries, result integration or resource ownership, read collaboration and state.

Report the confirmed mechanism or remaining uncertainty, supporting observation and repair evidence. A blocked diagnostic path need not stop independent authorized work; name the missing fact without accumulating unchanged retries.

04 同仓库更多 Skills

Rycen7822
Rycen7822/Frontier-Agent-skills

test-behavior

Use when preparing to write or modify tests or code/scripts that check software behavior, including temporary scripts, inline checks, reproductions, debug probes, smoke/install/migration checks, benchmarks, fixtures and mocks. Apply before editing those checks to decide necessity, timing, meaningful expectations and temporary versus permanent placement. Also use to review directly affected tests when a task removes or replaces a behavior contract, completes a migration or ends compatibility obligations. Requirements and architecture decisions stay with the main workflow; design discussion and ordinary implementation alone do not call for this skill. Running existing checks alone does not require new tests.

★ 1
Rycen7822
Rycen7822/Frontier-Agent-skills

software-quality-workflows

Apply explicitly requested engineering-quality guidance to implementation and maintenance work.

★ 1
Rycen7822
Rycen7822/Frontier-Agent-skills

software-design

Resolve consequential requirements, ownership, API, data-model, or migration choices before implementation.

★ 1
Rycen7822
Rycen7822/Frontier-Agent-skills

runtime-verification

Resolve evidence gaps that require actual running or installed behavior, beyond static inspection.

★ 1
Rycen7822
Rycen7822/Frontier-Agent-skills

codebase-investigation

Explain implementation, cross-module behavior, or design history when that explanation is the task.

★ 1
Rycen7822
Rycen7822/Frontier-Agent-skills

codebase-improve

Review and improve a codebase's architecture, responsibility boundaries, layering and abstraction granularity.

★ 1