मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग5.1k · #15137

omh-native-debugging

यह क्या करती है

यह क्रैश होने वाले नेटिव बाइनरी, जैसे सेगमेंटेशन फ़ॉल्ट या कोर डंप, के लिए परिकल्पना-आधारित डीबगिंग सेशन की योजना बनाती है, और सिर्फ़ प्रिंट स्टेटमेंट के बजाय डीबगर की ओर इशारा करती है। यह कंपाइल किए गए प्रोग्राम पर काम करने वाले डेवलपर के लिए है।

कब इस्तेमाल करें

  • ✓जब कोई नेटिव प्रोग्राम सेगमेंटेशन फ़ॉल्ट या कोर डंप के साथ क्रैश हो।
  • ✓जब कंपाइल किए गए प्रोग्राम में मेमोरी करप्शन का शक हो।
  • ✓जब प्रिंट स्टेटमेंट से अंदाज़ा लगाने के बजाय डीबगर सेशन की योजना चाहिए।

Skill का लिंक

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-native-debugging/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-native-debugging/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“यह बाइनरी तीसरे अनुरोध पर सेगमेंटेशन फ़ॉल्ट देती है। इसका कारण ढूँढने में मेरी मदद कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट क्रैश के तथ्य दर्ज करता है, प्रतिस्पर्धी परिकल्पनाएँ बनाता है, और ब्रेकपॉइंट व जाँचने वाली वैल्यू के साथ डीबगर सेशन की योजना बनाता है। डीबगर से नतीजा दिखने तक वह कारण का दावा नहीं करता।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Native Debugging

This is an OMH native-debugging workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

native-debugging closes OMH's zero-coverage low-level domain by preparing a hypothesis-driven, DAP-first debugging plan for native binaries, while OMH itself continues to execute nothing.

Do Not Use When

  • The failure is a build or CI failure rather than a runtime fault in a binary; use omh-build-failure-triage.
  • The subject is an agent or workflow misbehaving rather than a native binary; use omh-agent-debug.
  • The wrong result, flaky test, or lost update is in application code such as a Python or TypeScript service and needs its root cause reproduced; use omh-app-debugging.
  • The change is Rust source work whose risk is unsafe or UB discipline; use omh-rust.
  • The request is to judge whether a fix is verified rather than to find the fault; use omh-verification-gate.

Examples

Good example:

  • Prompt: This binary segfaults on the third request; help me debug it.
  • Expected behavior: Prepare native_fault_statement/v1, three competing hypotheses with distinguishing observations, and a debugger_session_plan/v1 naming the DAP adapter, breakpoints, and values to read.
  • Why: The request is a runtime fault in a native binary where the plan, not the guess, is what OMH can prepare.

Bad example:

  • Prompt: Add some printfs and tell me it is fixed once the crash stops.
  • Expected behavior: Name the DAP-driven observation plan, and keep reproduction, root cause, and fix as separate not_observed states.
  • Why: A disappearing symptom is not a root cause, and printf-via-rebuild is the fallback rather than the method.

Completion Checklist

  • The fault is stated as an observed symptom with a reproduction command, separate from any assumed cause.
  • At least three hypotheses span distinct axes and each carries its refuting observation.
  • The debugger session plan names the DAP adapter, breakpoints, watchpoints, threads, frames, and values to read.
  • The handoff says the executor drives the debugger and OMH executes nothing.
  • Reproduction, debugger output, root cause, and fix are reported as separate observed or not_observed states.
  • Any print-and-rebuild probe carried the session's probe tag, and an observed search for that tag returns nothing.

Recovery Notes

  • If the fault does not reproduce, make reproduction the first hypothesis and plan the observation that would establish it, rather than debugging a fault no one can trigger.
  • If no debug adapter or symbols are available, say so, plan the coarser evidence path, and keep root cause unclaimed instead of upgrading a guess.

When to Use

Use when Hermes should prepare low-level debugging of a native binary, crash, or memory fault: competing hypotheses, the distinguishing observation for each, and a DAP-driven evidence plan for the executor.

Strong routing signals: `native-debugging`, `native debugging`, `native binary`, `segfault`, `segmentation fault`, `core dump`, `stack corruption`, `memory corruption`, `heap corruption`, `use after free`, `null pointer dereference`, `stripped binary`, `disassembly`, `lldb`, `gdb`, `dap debugger`, `breakpoint`, `watchpoint`, `backtrace`, `セグメンテーション違反`, `コアダンプ`, `メモリ破壊`, `ヒープ破壊`, `解放後使用`, `逆アセンブル`, `네이티브 디버깅`, `세그폴트`, `코어 덤프`, `메모리 손상`, `역어셈블`, `중단점`, `段错误`, `核心转储`, `内存破坏`, `释放后使用`, `反汇编`, `bantu debug segfault ini`, `analisis core dump`, `telusuri penyebab use after free`, `debug crash pada binary native`, `giúp debug lỗi segfault này`, `phân tích core dump`, `truy nguyên nhân use after free`, `debug crash trên binary native`

Catalog Metadata

Category: verification Phase: native-debugging Quality tier: native-debug-evidence-gated Reasoning demand: standard

Quality bar:

  • State the fault as an observed symptom with its reproduction command before naming any cause.
  • Load references/native-debug-loop.md and follow its hypothesis, observation, and escalation order rather than improvising a search.
  • Write at least three hypotheses on distinct axes, each with the single observation that would refute it and the exact place to read that observation.
  • Plan the debugger session concretely: adapter, breakpoints, watchpoints, threads, frames, and the values read at each stop — the executor should not have to invent the session.
  • Prefer debugger-observed state over added print statements; a rebuild-and-print loop is the
अक्सर पूछे जाने वाले सवाल

क्या यह डीबगर खुद चलाती है?

यह सेशन की योजना बनाती है और डीबगर के कदम माँगती है; देखे गए नतीजे के बिना कारण का दावा नहीं करती।

क्या यह वेब ऐप के बग के लिए है?

नहीं। ऐप कोड के बग एक अलग ऐप डीबगिंग स्किल देखती है।

क्या यह असफल बिल्ड के लिए है?

नहीं। असफल बिल्ड की जाँच एक बिल्ड फ़ेल्योर ट्रायेज स्किल करती है।

जानकारी

लेखक का मूल विवरण

[omh] Native program crashes or corrupts memory: prepare hypothesis-driven debugging of native binaries and instruct the executor to drive a DAP debugger instead of printf. Use when the user says: native-debugging, native debugging, native binary, segfault, segmentation fault, core dump, stack corruption, memory corruption.

repo: rlaope/oh-my-hermes

लोकप्रियता

GitHub स्टार
5.1k
रैंकिंग में स्थान
#15137
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

omh-accessibility-audit

5.1k

यह आपके एजेंट को किसी स्क्रीन या फ़्लो में एक्सेसिबिलिटी की कमियाँ जाँचने में मदद करती है, जैसे कीबोर्ड उपयोग, स्क्रीन रीडर लेबल, कंट्रास्ट और टच टारगेट का आकार।

कोडिंगटेस्टिंग

omh-adversarial-consensus

5.1k

यह आपके एजेंट को किसी तकनीकी प्रस्ताव पर प्रतिबद्ध होने से पहले उस पर कई स्वतंत्र नज़रियों से हमला करवाने देती है, फिर देखती है कि क्या बचता है।

AI और एजेंटएजेंट

omh-agent-debug

5.1k

यह आपके एजेंट को पता लगाने में मदद करती है कि कोई दूसरा AI एजेंट क्यों अटका है, लूप में है या भटक रहा है, और सबसे छोटा सुरक्षित सुधार सुझाती है।

AI और एजेंटएजेंट

omh-agent-instructions

5.1k

यह आपके एजेंट को वह निर्देश फ़ाइल लिखने या अपडेट करने में मदद करती है, जैसे AGENTS.md या CLAUDE.md, जो बताती है कि AI टूल किसी प्रोजेक्ट में कैसे काम करें।

AI और एजेंटप्रॉम्प्ट और LLM

मिलती-जुलती skills