本文へ移動
cccskills
無料GitHub で公開

oma-debug

Diagnose a reproducible failure, fix its cause, and verify the regression. Use for crashes, incorrect behavior, and failing tests.

インストール方法を見る

含まれるファイル(27)

  • SKILL.md6.3 KB
  • references/_shared/conditional/experiment-ledger.md2.2 KB
  • references/_shared/conditional/exploration-loop.md2.8 KB
  • references/_shared/conditional/quality-score.md2.9 KB
  • references/_shared/core/api-contracts/README.md2.4 KB
  • references/_shared/core/api-contracts/template.md2.1 KB
  • references/_shared/core/clarification-protocol.md2.3 KB
  • references/_shared/core/code-intelligence.md2.1 KB
  • references/_shared/core/common-checklist.md1.7 KB
  • references/_shared/core/context-budget.md2.1 KB
  • references/_shared/core/context-loading.md2.7 KB
  • references/_shared/core/difficulty-guide.md2.0 KB
  • references/_shared/core/execution-policy.md2.4 KB
  • references/_shared/core/lessons-learned.md2.9 KB
  • references/_shared/core/prompt-structure.md1.3 KB
  • references/_shared/core/session-metrics.md3.6 KB
  • references/_shared/core/skill-routing.md3.0 KB
  • references/_shared/core/test-approach.md2.6 KB
  • references/_shared/core/vendor-detection.md3.9 KB
  • references/_shared/runtime/memory-protocol.md4.4 KB
  • references/_shared/runtime/result-contract.md8.3 KB
  • resources/bug-report-template.md7.3 KB
  • resources/checklist.md1.1 KB
  • resources/common-patterns.md14.7 KB
  • resources/debugging-checklist.md10.3 KB
  • resources/error-playbook.md3.4 KB
  • resources/execution-protocol.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Debug Agent - Bug Fixing Specialist

Scheduling

Goal

Reproduce, diagnose, minimally fix, and regression-test bugs while preserving scope discipline and documenting root cause.

Intent signature

  • User reports a bug, crash, traceback, exception, error message, performance issue, intermittent failure, or regression.
  • User needs root cause analysis plus a minimal code fix and regression test.

When to use

  • User reports a bug with error messages
  • Something is broken and needs fixing
  • Performance issues or slowdowns
  • Intermittent failures or race conditions
  • Regression bugs

When NOT to use

  • Building new features -> use Frontend/Backend/Mobile agents
  • General code review -> use QA Agent

Expected inputs

  • Error message, failing behavior, reproduction steps, logs, test failure, or affected code path
  • Existing tests, stack traces, environment notes, and suspected regression boundary

Expected outputs

  • Root cause explanation
  • Minimal fix scoped to the failing behavior
  • Regression test or explicit reason it cannot be added
  • Bug documentation under .agents/results/bugs/ when appropriate

Dependencies

  • resources/execution-protocol.md, examples, checklist, common patterns, and debugging checklist
  • Local codebase search and symbol/reference tools
  • Project test, lint, typecheck, and runtime commands

Control-flow features

  • Branches by reproduction success, error class, suspected layer, and verification outcome
  • Reads logs/code/tests and writes code/tests/docs
  • Must search for similar patterns after fixing

Structural Flow

Entry

  1. Capture the reported symptom and suspected scope.
  2. Reproduce or establish the closest reliable failing signal.
  3. Identify affected files, tests, and related patterns.

Scenes

  1. PREPARE: Gather symptoms, logs, reproduction path, and verification command.
  2. ACQUIRE: Read failing code, tests, references, and similar patterns.
  3. REASON: Isolate root cause and reject unsupported hypotheses.
  4. ACT: Apply minimal fix and regression test.
  5. VERIFY: Re-run failing and related checks.
  6. FINALIZE: Document root cause, fix, test, and residual risk.

Transitions

  • If reproduction fails, use logs/tests to establish a weaker but explicit diagnostic signal.
  • If the first fix fails verification, return to root-cause analysis.
  • If similar patterns exist, inspect and patch only affected cases.
  • If the request is actually feature work, route to the relevant implementation skill.

Failure and recovery

  • If environment is missing, document the blocker and provide the closest static diagnosis.
  • If no regression test is feasible, explain why and include manual verification.
  • If fix scope grows, stop and call out the broader design issue.

Exit

  • Success: bug is fixed, regression coverage exists, and checks pass.
  • Partial success: root cause or verification blocker is explicit.

Logical Operations

Actions

ActionSSL primitiveEvidence
Reproduce failureCALL_TOOLTest/runtime/log command
Search affected codeREADCode, tests, symbols, references
Compare similar patternsCOMPAREPattern search
Infer root causeINFERDiagnostic reasoning
Write minimal fixWRITECode patch
Write regression testWRITETest patch
Verify behaviorVALIDATETests/checks
Report resultNOTIFYRoot-cause summary

Tools and instruments

  • Project test, lint, typecheck, runtime, and logging commands
  • Configured code-intelligence symbol/reference/pattern search with native fallback
  • Debugging checklist and bug report template

Canonical workflow path

Use the configured code-intelligence provider to locate files and inspect symbols or content. For Serena, use find_file, search_for_pattern, get_symbols_overview, and find_symbol. Native search is limited to the provider exclusions and non-code paths permitted by the project's search policy.

Then run the smallest reproduction command first, establish the causal mechanism, and follow resources/execution-protocol.md for the diagnosis record when an OMA workflow is active. Add the regression test and re-run the failing check plus related tests.

Resource scope

ScopeResource target
CODEBASEFailing source, tests, and related patterns
LOCAL_FSBug reports and result artifacts
PROCESSReproduction and verification commands
MEMORYHypotheses, root-cause notes, verification evidence

Preconditions

  • A bug signal, symptom, or failing behavior is available.
  • Relevant code and verification path can be inspected or the blocker is stated.

Effects and side effects

  • Mutates source/tests only as needed for the fix.
  • May create bug documentation under .agents/results/bugs/.

Guardrails

  1. Reproduce first, then diagnose - never guess at fixes
  2. Identify root cause, not just symptoms
  3. Minimal fix: change only what's necessary
  4. Every fix gets a regression test
  5. Search for similar patterns elsewhere after fixing
  6. Document in .agents/results/bugs/

Code intelligence

Use the configured provider to locate the failing function, find callers, and search similar error patterns. Native search and scoped reads are supported fallbacks; see the shared capability contract.

References

  • Local code tools: references/_shared/core/code-intelligence.md (code search/navigation)

  • Execution steps (follow for the selected task): resources/execution-protocol.md

  • Checklist (pre-submit self-verification): resources/checklist.md

  • Error recovery: resources/error-playbook.md

  • Bug report template: resources/bug-report-template.md

  • Common patterns: resources/common-patterns.md

  • Debugging checklist (investigation guide, used during Steps 1-2): resources/debugging-checklist.md

  • Context loading: references/_shared/core/context-loading.md

  • Context budget: references/_shared/core/context-budget.md

  • Lessons learned: references/_shared/core/lessons-learned.md (matching prior failure or requested retrospective)

  • Observability handoff: ../oma-observability/SKILL.md §Integrations — traces/logs by trace_id, 6-dim forensics

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

A fixture whose description uses a YAML folded scalar, which parses with an embedded trailing newline unless normalized before use in Markdown tables.

日本語の概要は準備中です。原文の説明を表示しています。

first-fluke/oh-my-agent1,3372026年10月10日 更新

Draft and revise academic prose against a rubric, evidence, and citation requirements. Use for essays, reports, literature reviews, or academic style audits.

日本語の概要は準備中です。原文の説明を表示しています。

first-fluke/oh-my-agent1,3372026年10月10日 更新

Evaluate system boundaries and architectural tradeoffs. Use for architecture decisions, design reviews, and ADRs.

日本語の概要は準備中です。原文の説明を表示しています。

first-fluke/oh-my-agent1,3372026年10月10日 更新

Architecture specialist for software/system design, module and service boundaries, tradeoff analysis, and stakeholder synthesis. Uses context-aware methods such as diagnostic routing, design-twice comparison, ATAM-style risk analysis, CBAM-style prioritization, and ADR-style decision records.

日本語の概要は準備中です。原文の説明を表示しています。

first-fluke/oh-my-agent1,3372026年10月10日 更新

Implement server APIs, authentication, and application data access. Schema modeling and query tuning use oma-db.

日本語の概要は準備中です。原文の説明を表示しています。

first-fluke/oh-my-agent1,3372026年10月10日 更新

Backend specialist for APIs, databases, authentication with clean architecture (Repository/Service/Router pattern). Use for API, endpoint, REST, database, server, migration, and auth work.

日本語の概要は準備中です。原文の説明を表示しています。

first-fluke/oh-my-agent1,3372026年10月10日 更新

first-fluke のスキルをすべて見る

このスキルの問題を報告する