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

cxc-dev-debugging

Use for debugging and system comprehension. Triggers: debug this, root cause, how does X work, reverse engineer, 왜 안 돼, 디버깅, 원인 분석, 로직 파악, 뜯어봐.

インストール方法を見る

含まれるファイル(26)

  • SKILL.md5.2 KB
  • agents/openai.yaml170 B
  • references/async-debugging.md5.2 KB
  • references/debugging-pitfalls.md2.9 KB
  • references/debugging-scenarios.md3.0 KB
  • references/escalation-and-postmortems.md1.7 KB
  • references/logic-analysis.md8.0 KB
  • references/methodologies.md5.9 KB
  • references/performance-debugging.md1.9 KB
  • references/postmortem-template.md3.1 KB
  • references/root-cause-phases.md7.1 KB
  • references/runtimes/beam.md3.3 KB
  • references/runtimes/c-cpp.md3.2 KB
  • references/runtimes/go.md3.7 KB
  • references/runtimes/js/nextjs-react.md4.2 KB
  • references/runtimes/js/node-backend.md4.5 KB
  • references/runtimes/js/vite-vitest.md3.7 KB
  • references/runtimes/jvm.md3.0 KB
  • references/runtimes/node.md3.8 KB
  • references/runtimes/python.md4.3 KB
  • references/runtimes/ruby.md2.4 KB
  • references/runtimes/rust.md3.2 KB
  • references/runtimes/swift.md2.8 KB
  • references/skill-boundaries.md1.2 KB
  • references/tool-guides.md5.7 KB
  • references/tools/playwright.md2.2 KB

SKILL.md(原文)

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

dev-debugging — Systematic Root Cause Analysis

Boundary: This skill covers how to reason about bugs. For test harness, reproduction frameworks, and verification tooling, see dev-testing. For domain-specific context (API errors, hydration issues, query performance), consult dev-backend or dev-frontend. Comprehension without a defect — understanding how an unknown app, API, AI tool, or codebase works — routes to references/logic-analysis.md.

Class, fast path, rule authority, proof, and safety: dev. Current/public evidence: dev routing.

Core Principle

Check if the problem is structural before debugging code. Before a permanent fix, investigate and explain the cause. During an active incident, an already-authorized, reversible mitigation may precede full RCA; follow dev-devops incident policy and preserve evidence. Diagnosis alone never authorizes a code fix, rollback, production access, or an upstream issue submission.

RCA Entry Gates

STRICT (DEBUG-RCA-EVIDENCE-01): Before investigating any single root-cause hypothesis or making a root-cause claim, write at least three orthogonal hypotheses (H1/H2/H3) and one falsifier for each. Collapse duplicates, test against disconfirming evidence, and do not claim root cause until competing hypotheses have been ruled out by evidence. If fewer than three are plausible, state why.

STRICT (DEBUG-TOGGLE-PROOF-01): Enter implementation only after the captured value matches the hypothesis prediction, the repro repeats, and toggling the suspected cause off/on removes then restores the bug. Write one paragraph explaining the causal mechanism before patching.

Logic Analysis (comprehension without a defect)

When the request is to understand how a system works — closed app, AI tool, undocumented API, unfamiliar codebase — rather than to fix a defect, read Logic analysis. Core rules: "I can't" is a skipped analysis loop, not a limit; missing source/docs is a starting condition; hypothesize from names/strings/errors, observe static AND dynamic, mutate one variable at a time, keep an incremental model with UNKNOWN fields, and prove the model by writing a client that uses it. Honest lab-boundary routing (IDA/Procmon/Cuckoo class) beats both refusal and fabrication.

Security-Sensitive Bugs

For security-sensitive bugs (auth bypass, data leak, injection), use dev-security for controls and dev-devops for incident response. Preserve the same authorization boundary.

Modular References

ConditionReference
Defect diagnosis before permanent repair: phases 0–4 and implementation entry gatesroot-cause-phases.md
Guessing, repeated failures, or suppressive fixesdebugging-pitfalls.md
API 500, hydration mismatch, N+1 query, or flaky-test diagnosis examplesdebugging-scenarios.md
Investigation stalls, needs escalation, or meets postmortem criteriaescalation-and-postmortems.md
Choosing the boundary between debugging and companion skillsskill-boundaries.md
Choosing a debug approachmethodologies.md
Understanding how an unknown system works (no defect)logic-analysis.md
Concurrency issuesasync-debugging.md
Quick cheatsheettool-guides.md
After resolving a significant incidentpostmortem-template.md
Node.js / tsx / Bun / Denoruntimes/node.md
Next.js 16 / React 19runtimes/js/nextjs-react.md
Vite 8 / Vitest 4runtimes/js/vite-vitest.md
Express 5 / Fastify 5 / NestJS 11runtimes/js/node-backend.md
Python (CPython 3.9+)runtimes/python.md
Rustruntimes/rust.md
Goruntimes/go.md
C/C++runtimes/c-cpp.md
Java/Kotlin (JVM)runtimes/jvm.md
Swift / iOS / macOS AppKitruntimes/swift.md
Ruby (3.2+)runtimes/ruby.md
Elixir/Erlang (BEAM)runtimes/beam.md
Browser/web-surface bugstools/playwright.md

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Use for AST search and codemods. Triggers: ast-grep, sg, function/call/class/import, empty catch, missing await, YAML rules.

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

lidge-jun/codexclaw452026年10月9日 更新

cxc-dev

無料

Use for coding, PR delivery, scaffolding and QA. Triggers: develop, fix, refactor, test, review, docs, browse, stacked PR, 개발, 수정, 검토, 스택 PR.

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

lidge-jun/codexclaw452026年10月9日 更新

Use for module boundaries and dependencies. Triggers: circular import, coupling, barrel, re-export, validation placement, 모듈 경계, 순환 참조.

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

lidge-jun/codexclaw452026年10月9日 更新

Use for APIs, servers and app databases. Triggers: REST, GraphQL, migration, query optimization, middleware, caching, queues, 백엔드, API 작업, 마이그레이션, 쿼리 최적화.

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

lidge-jun/codexclaw452026年10月9日 更新

Use for code/PR/diff review and refactor audits. Triggers: review this, before merge, antipattern, 리뷰, 코드 리뷰, 머지 전에 확인.

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

lidge-jun/codexclaw452026年10月9日 更新

Use for analytics and data pipelines. Triggers: ETL, ELT, data quality, SQL optimization, schema drift, backfill, 데이터 파이프라인, 데이터 품질, 백필.

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

lidge-jun/codexclaw452026年10月9日 更新

lidge-jun のスキルをすべて見る

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