跳到正文
cccskills
免费在 GitHub 公开

cxc-dev-debugging

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

中文简介正在准备中。当前显示原文说明。

集成工具Playwright
查看安装方法

包含的文件(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(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年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/codexclaw472026年10月9日 更新

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

中文简介正在准备中。当前显示原文说明。

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

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

中文简介正在准备中。当前显示原文说明。

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

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

中文简介正在准备中。当前显示原文说明。

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

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

中文简介正在准备中。当前显示原文说明。

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

查看 lidge-jun 的全部技能

报告此技能的问题