systematic-debugging
Investigate a failure with an unclear cause, repeated unsuccessful fixes, or a cross-component boundary. Use existing reproduction evidence for a localized bug; not a mandatory multi-stage ritual for every edit.
- License 许可
- MIT
- 所属仓库
- compozy/compozy
- 最近更新
- 2026-11-12
- Stars
- ★ 2.9k
- Forks
- 188
01 前言 Front Matter
- name
- systematic-debugging
- description
- Investigate a failure with an unclear cause, repeated unsuccessful fixes, or a cross-component boundary. Use existing reproduction evidence for a localized bug; not a mandatory multi-stage ritual for every edit.
02 资源文件 10
- 脚本condition-based-waiting-example.ts4.9 KB
- 参考文档condition-based-waiting.md3.6 KB
- 参考文档CREATION-LOG.md4.2 KB
- 参考文档defense-in-depth.md3.6 KB
- 脚本find-polluter.sh1.5 KB
- 参考文档root-cause-tracing.md5.2 KB
- 参考文档test-academic.md653 B
- 参考文档test-pressure-1.md1.9 KB
- 参考文档test-pressure-2.md2.2 KB
- 参考文档test-pressure-3.md2.6 KB
03 SKILL.md 正文
Diagnose Before Repair
For a clear localized failure, use the short path: read the diagnostic and relevant change, reproduce or reuse its evidence, locate the owning cause, repair it, and verify the symptom in the existing suite/probe.
Expand investigation when the evidence does not explain the failure:
- Trace the bad value or lifetime to its source; compare relevant working code and contracts.
root-cause-tracing.mddescribes backward tracing when the call chain is unclear. - Instrument only the unresolved boundary, using safe summaries rather than dumping credentials or whole environments. Gather enough evidence to distinguish hypotheses.
- Test a concrete causal hypothesis with the smallest useful experiment. After a failed attempt, update the hypothesis from the result; an arbitrary attempt count does not itself require an architecture meeting.
- Use
condition-based-waiting.mdfor readiness/timing problems.defense-in-depth.mdapplies when independently trusted boundaries need validation, not as a reason to duplicate checks throughout domain code.
Add a focused regression where no existing check owns the invariant. A failing production regression is fixed in production; an invalid test needs contract evidence before its expectation changes. Preserve required compatibility adapters and avoid unrelated cleanup.
Run the affected check and required project gates. Reuse evidence for unchanged inputs; widen only for relevant changes, failures, or unresolved risk. If reproduction is unavailable, state the evidence and uncertainty and continue useful investigation. Ask only for a decision or information that actually blocks progress.
For external defects, isolate the necessary handling and its removal condition with no-workarounds. Do not claim a causal fix or completion beyond the available evidence.
04 同仓库更多 Skills
security-review
Security code review for vulnerabilities. Use when asked to "security review", "find vulnerabilities", "check for security issues", "audit security", "OWASP review", or review code for injection, XSS, authentication, authorization, cryptography issues. Provides systematic review with confidence-based reporting.
lesson-learned
Extract evidence-backed engineering lessons from recent changes or incidents. Use for requested reflection, lesson updates, or retiring an obsolete workflow rule.
compozy
Operate CompozyOS. Use when working with CompozyOS sessions, agents, native tools, skills, tasks, Loops, Goals, Terminal, desktops and windows, automation, extensions, or configuration. Don't use for unrelated projects.
remotion-upgrade
Upgrade Remotion, and related packages
remotion-studio
Preview a Remotion video
remotion-saas
Build an app with Remotion