MinLeeV5/devkeel / .harness/skills/systematic-debugging
systematic-debugging
Verified系统化诊断和修复 Bug、测试或构建失败、异常行为、集成故障与性能回归。先建立可判定的反馈信号、追踪根因并逐一验证可证伪假设;仅在现有错误、测试、日志、diff、debugger 或 profiler 无法区分假设,且临时写入已获授权时使用定向 HTTP 插桩。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.0 KB |
| agents/openai.yaml | config | 236 B |
| assets/Hdbg.java | other | 3.6 KB |
| assets/hdbg-node.cjs | script | 1.2 KB |
| assets/hdbg-web.js | script | 1.3 KB |
| references/diagnosis.md | markdown | 3.7 KB |
| references/instrumentation.md | markdown | 2.6 KB |
| references/java8-http.md | markdown | 1.3 KB |
| references/javascript-http.md | markdown | 2.3 KB |
| scripts/bootstrap.js | script | 1.1 KB |
| scripts/cleanup.js | script | 12.0 KB |
| scripts/debug-server.js | script | 10.9 KB |
scripts/bootstrap.js
View on GitHub#!/usr/bin/env node
/**
* Start the temporary HDBG collector with environment-based configuration.
*/
const { spawn } = require('child_process');
const path = require('path');
const serverPath = path.join(__dirname, 'debug-server.js');
const nodeMajor = Number.parseInt(process.versions.node.split('.')[0], 10);
if (nodeMajor < 14) {
console.error('HDBG collector requires Node.js 14 or higher.');
process.exit(1);
}
const env = {
...process.env,
DEBUG_HOST: process.env.DEBUG_HOST || '127.0.0.1',
DEBUG_PORT: process.env.DEBUG_PORT || '9876',
};
console.log(`[HDBG] Starting collector from ${serverPath}`);
const server = spawn(process.execPath, [serverPath], {
stdio: 'inherit',
env,
});
server.on('error', (error) => {
console.error(`[HDBG] Failed to start collector: ${error.message}`);
process.exit(1);
});
server.on('exit', (code, signal) => {
if (signal) process.exit(0);
process.exitCode = code === null ? 1 : code;
});
function forward(signal) {
if (!server.killed) server.kill(signal);
}
process.on('SIGINT', () => forward('SIGINT'));
process.on('SIGTERM', () => forward('SIGTERM'));
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |