用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/glawson6/jaiclaw --skill systematic-debugging命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
This skill should be used when the user asks to "draw a diagram", "show a status box", "render ASCII art", "make a callout", "wrap text in a box", "plot these numbers", or any request involving boxed messages, two-box-and-arrow diagrams, scatter plots, or tables rendered as ASCII. Uses JBang to invoke the JaiClaw ASCII renderer; do not hand-draw borders character-by-character.
Render domain objects (events, tasks, tickets, orders, …) as framed monospaced ASCII via the render_response tool. Follow the fidelity rules exactly — do not paraphrase, transliterate, forge, or strip borders from tool output.
End-to-end validation of JaiClaw bootstrap, scaffolding, build, runtime, and Docker CLI images. Tests quickstart.sh, project creation from Maven releases, provider connectivity, CLI launcher, and Docker image builds.
基于 SOC 职业分类
正在显示 SKILL.md
| name | systematic-debugging |
| description | Root-cause investigation methodology before applying fixes |
| alwaysInclude | false |
| requiredBins | [] |
| platforms | ["darwin","linux"] |
| version | 1.0.0 |
| tenantIds | [] |
Follow a structured investigation process to find root causes before applying fixes. Never guess-and-check — gather evidence, form hypotheses, and verify before changing code.
1. REPRODUCE → 2. ISOLATE → 3. DIAGNOSE → 4. FIX → 5. VERIFY
Establish a reliable reproduction before investigating.
# Reproduce and capture full output
ShellExec: command_that_fails 2>&1 | tee /tmp/debug-output.txt
Do not proceed until you can reliably trigger the bug.
Narrow down the problem space.
# Check recent changes
ShellExec: git log --oneline -20
ShellExec: git diff HEAD~5 -- path/to/suspected/file.py
# Bisect if the bug is a regression
ShellExec: git bisect start
ShellExec: git bisect bad HEAD
ShellExec: git bisect good v1.2.0
Form and test hypotheses about the root cause.
For each hypothesis:
| Category | Examples |
|---|---|
| State | Uninitialized variable, stale cache, race condition |
| Input | Unexpected null, encoding mismatch, off-by-one |
| Environment | Missing env var, wrong version, path issue |
| Timing | Race condition, timeout, async ordering |
| Resources | Memory exhaustion, file descriptor leak, disk full |
| Dependencies | Breaking API change, version conflict, missing module |
Apply the smallest correct change.
Confirm the fix is correct and complete.
# Run the specific failing test
ShellExec: pytest tests/test_module.py::test_that_was_failing -x
# Run the full suite
ShellExec: pytest tests/ -x
Maintain a running log during investigation:
## Bug: [Short description]
### Reproduction: [How to trigger]
### Hypothesis 1: [Description]
- Prediction: [What I expect to see]
- Evidence: [What I actually observed]
- Result: CONFIRMED / REFUTED
### Hypothesis 2: ...
### Root Cause: [Final diagnosis]
### Fix: [What was changed and why]