brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.…
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Claude Code
$ npx -y skills add Cmochance/codex-app-transfer --skill systematic-debugging --agent claude-code
Codex
$ npx skills add Cmochance/codex-app-transfer --skill systematic-debugging -a codex -y
Cursor
$ npx skills add Cmochance/codex-app-transfer --skill systematic-debugging -a cursor -y
Gemini CLI
$ npx skills add Cmochance/codex-app-transfer --skill systematic-debugging -a gemini-cli -y
GitHub Copilot
$ npx skills add Cmochance/codex-app-transfer --skill systematic-debugging -a github-copilot -y
OpenCode
$ npx skills add Cmochance/codex-app-transfer --skill systematic-debugging -a opencode -y
Windsurf
$ npx skills add Cmochance/codex-app-transfer --skill systematic-debugging -a windsurf -y
name: systematic-debugging description: Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Random fixes waste time and create new bugs. Quick patches mask underlying issues.
**Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
**Violating the letter of this process is violating the spirit of debugging.**
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
If you haven't completed Phase 1, you cannot propose fixes.
Use for ANY technical issue:
**Use this ESPECIALLY when:**
**Don't skip when:**
You MUST complete each phase before proceeding to the next.
**BEFORE attempting ANY fix:**
1. **Read Error Messages Carefully**
2. **Reproduce Consistently**
3. **Check Recent Changes**
4. **Gather Evidence in Multi-Component Systems**
**WHEN system has multiple components (CI → build → signing, API → service → database):**
**BEFORE proposing fixes, add diagnostic instrumentation:**
For EACH component boundary:
- Log what data enters component
- Log what data exits component
- Verify environment/config propagation
- Check state at each layer
Run once to gather evidence showing WHERE it breaks
THEN analyze evidence to identify failing component
THEN investigate that specific component**Example (multi-layer system):**
# Layer 1: Workflow
echo "=== Secrets available in workflow: ==="
echo "IDENTITY: ${IDENTITY:+SET}${IDENTITY:-UNSET}"
# Layer 2: Build script
echo "=== Env vars in build script: ==="
env | grep IDENTITY || echo "IDENTITY not in environment"
# Layer 3: Signing script
echo "=== Keychain state: ==="
security list-keychains
security find-identity -v
# Layer 4: Actual signing
codesign --sign "$IDENTITY" --verbose=4 "$APP"**This reveals:** Which layer fails (secrets → workflow ✓, workflow → build ✗)
5. **Trace Data Flow**
**WHEN error is deep in call stack:**
See `root-cause-tracing.md` in this directory for the complete backward tracing technique.
**Quick version:**
**Find the pattern before fixing:**
1. **Find Working Examples**
2. **Compare Against References**
3. **Identify Differences**
4. **Understand Dependencies**
**Scientific method:**
1. **Form Single Hypothesis**
2. **Test Minimally**
3. **Verify Before Continuing**
4. **When You Don't Know**
**Fix the root cause, not the symptom:**
1. **Create Failing Test Case**
2. **Implement Single Fix**
3. **Verify Fix**
4. **If Fix Doesn't Work**
5. **If 3+ Fixes Failed: Question Architecture**
**Pattern indicating architectural problem:**
**STOP and question fundamentals:**
简体中文 | English | Changelog | Code Graph Codex App Transfer 是一个面向 OpenAI Codex APP 的轻量桌面配置 + 转发工具。它在本机起一个网关,把 Codex APP 发出的 Responses API 请求(HTTP 流式 / 非流式 + /responses )翻译成 Chat Completions 等格式,转发到你选择的供应商,用桌面 UI 管理供应商、模型映射、转发端口、日志面板,让 Codex APP 无缝使用第三方
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.…
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of…
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically…
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.