[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75G5BZ2TN6HAEVVDNYSD07N":3,"skill-same:01M75G5BZ2TN6HAEVVDNYSD07N":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75G5BZ2TN6HAEVVDNYSD07N","non-linear-debugging",null,"Triggered when the agent needs to debug complex errors, analyze obscure runtime failures, find subtle bugs, or trace system anomalies using non-linear, multidimensional hypothesis graphs, backward-forward triangulation, behavioral state inversion, and dynamic perturbation instead of slow sequential linear step-by-step debugging.","RudyCity\u002Fsuperagent","RudyCity","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82188919?v=4","01M75FP5X8AW8ACBH0SH34WS7M","01M75FP5YAHJK8M1Q52BWXB82K",70,"MIT","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnon-linear-debugging\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: non-linear-debugging\ndescription: >-\n  Triggered when the agent needs to debug complex errors, analyze obscure runtime failures, find subtle bugs, or trace system anomalies using non-linear, multidimensional hypothesis graphs, backward-forward triangulation, behavioral state inversion, and dynamic perturbation instead of slow sequential linear step-by-step debugging.\n---\n\n# Non-Linear Debugging & Bug Discovery Engine\n\nEnables the AI agent to systematically diagnose, analyze, and resolve complex software errors, obscure bugs, race conditions, memory\u002Fstate leaks, and system anomalies using **non-linear, graph-based cognitive methodologies** instead of sequential, line-by-line debugging.\n\n---\n\n## When to Use This Skill\n\n- Trigger keywords: \"non-linear debug\", \"debug error\", \"analyze error\", \"find bug\", \"cari bug\", \"investigasi error\", \"non linear bug finding\", \"root cause triangulation\", \"complex failure analysis\".\n- When a bug involves asynchronous event loops, multi-service communication (e.g. t-line ↔ SuperAgent bridge), race conditions, state synchronization mismatches, or multi-component failure cascades.\n- When traditional step-by-step linear tracing fails or is too slow due to missing or noisy error logs.\n- When facing ambiguous symptoms where multiple independent factors might be interacting.\n\n---\n\n## Core Non-Linear Debugging Paradigms\n\n```text\n               ┌───────────────────────────────────────┐\n               │    Forward Tracing (Source ──►)      │\n               └───────────────────┬───────────────────┘\n                                   │\n                                   ▼\n┌──────────────────┐    ┌─────────────────────┐    ┌──────────────────┐\n│ Hypothesis H₁    │───►│   COLLISION NODE    │◄───│ Hypothesis H₃    │\n│ (State \u002F Timing) │    │   (Root Cause Δ)    │    │ (Config \u002F IPC)   │\n└──────────────────┘    └─────────────────────┘    └──────────────────┘\n                                   ▲\n                                   │\n               ┌───────────────────┴───────────────────┐\n               │    Backward Tracing (◄── Sink\u002FCrash) │\n               └───────────────────────────────────────┘\n```\n\n### 1. Bidirectional Cause-Effect Triangulation (Backward-Forward Tracing)\n- **Backward Tracing ($\\leftarrow \\text{Crash Sink}$)**: Trace upstream from where the exception is thrown, state is mutated, or process crashes.\n- **Forward Tracing ($\\text{Input Source} \\rightarrow$)**: Trace downstream from initial request, user trigger, or state payload entry.\n- **Collision Node Identification ($\\otimes$)**: Identify the exact intersection node where valid forward state violates backward invariants.\n\n### 2. Multi-Hypothesis Superposition ($H_{1..N}$)\nSimultaneously evaluate multiple orthogonal root-cause hypotheses in parallel rather than sequentially testing one by one:\n- **$H_{\\text{Lifecycle}}$**: Process startup, race conditions, port binding, auto-restart loops.\n- **$H_{\\text{State\u002FContract}}$**: Unhandled promise rejections, type mismatch, null dereference, stale cache.\n- **$H_{\\text{Transport\u002FIPC}}$**: Socket disconnect, HTTP proxy timeout, payload serialization, stream buffering.\n- **$H_{\\text{Environment\u002FConfig}}$**: Missing env vars, malformed JSON config, path resolution errors.\n\n### 3. Differential State Inversion (Negative Space Analysis)\n- Analyze execution paths that **succeed** vs paths that **fail**.\n- Isolate the **Minimal Differential Delta ($\\Delta$)**: What exact invariant changes between the working scenario and the breaking scenario?\n\n### 4. Maximum-Information-Gain Probing (Non-Linear Bisection)\nDesign diagnostic probes (log extraction, targeted grep, type checks, state inspection) that eliminate multiple hypotheses in a single pass:\n- **Rule**: Never run a diagnostic step that tests only 1 narrow hypothesis if a broader probe can rule out half of $H_{1..N}$ at once.\n\n### 5. Entropy & Multi-Symptom Cascade Compression\nCompress complex error chains (e.g., `ECONNREFUSED` $\\to$ `WebSocket closed` $\\to$ `React Unhandled Rejection` $\\to$ `UI freeze`) into a **Single Root-Cause Singularity**. Do not treat downstream symptoms as separate bugs.\n\n---\n\n## 5-Pass Non-Linear Debugging Protocol\n\n### Pass 1: Vectorized Symptom Intake & Graph Assembly\nConstruct a symbolic dependency graph of the failure rather than reading code top-to-bottom:\n```text\n[Source: UI Click \u002F WS Message] ──► [Bridge: superAgentBridge.ts] ──► [HTTP Port 7888] ──► [Crash \u002F Error Sink]\n```\nIdentify all active error signatures, logs, exit codes, and broken expectations.\n\n### Pass 2: Hypotheses Superposition Matrix\nFormulate 3–5 parallel hypotheses ($H_1, H_2, H_3, H_4$) spanning different subsystem dimensions. Assign an initial confidence score and high-gain verification test for each.\n\n```markdown\n| Hypothesis | Subsystem | Failure Mechanism | High-Gain Verification Probe |\n|---|---|---|---|\n| **H₁: Lifecycle Race** | Backend Bridge | Process spawned before port 7888 is ready | Check startup timing & ping response logs |\n| **H₂: Session Key Mismatch** | REST \u002F WS | `x-workspace-path` missing in headers | Grep `resolveSession` call parameters |\n| **H₃: Transport Timeout** | HTTP Proxy | Proxy timeout reached during long LLM pass | Verify `timeoutMs` settings in bridge request |\n```\n\n### Pass 3: High-Information-Gain Bisecting Probes\nExecute targeted diagnostic commands or code inspections to test $H_{1..N}$ concurrently.\n- Inspect exact log traces, stack traces, and status endpoints.\n- Narrow down the hypothesis space in $O(\\log N)$ steps.\n\n### Pass 4: Root-Cause Collision Node Pinpointing\nIdentify the exact file, line range, or async timing window where the invariant breaks.\nValidate with empirical evidence (exact error line, type violation, or execution trace).\n\n### Pass 5: Minimalist Fix & Invariant Guarding\nApply the fix following `pragmatic-minimalism`:\n1. Fix the root cause at the collision node.\n2. Add a defensive guard or fallback mechanism to prevent regression.\n3. Validate by compiling, building, or testing.\n\n---\n\n## Execution Checklist & Core Invariants\n\n- [ ] **No Blind Guesses**: Diagnosis must be justified by empirical log lines, stack traces, or verified code inspection.\n- [ ] **Symptom Masking Forbidden**: Never wrap errors in empty `try\u002Fcatch` or return dummy fallbacks to hide failures.\n- [ ] **Multi-Symptom Collapse**: Treat failure cascades as 1 bug with 1 root cause.\n- [ ] **Empirical Verification**: Run build\u002Ftest commands to confirm the fix before declaring completion.\n","# Non-Linear Debugging & Bug Discovery Engine\n\nEnables the AI agent to systematically diagnose, analyze, and resolve complex software errors, obscure bugs, race conditions, memory\u002Fstate leaks, and system anomalies using **non-linear, graph-based cognitive methodologies** instead of sequential, line-by-line debugging.\n\n---\n\n## When to Use This Skill\n\n- Trigger keywords: \"non-linear debug\", \"debug error\", \"analyze error\", \"find bug\", \"cari bug\", \"investigasi error\", \"non linear bug finding\", \"root cause triangulation\", \"complex failure analysis\".\n- When a bug involves asynchronous event loops, multi-service communication (e.g. t-line ↔ SuperAgent bridge), race conditions, state synchronization mismatches, or multi-component failure cascades.\n- When traditional step-by-step linear tracing fails or is too slow due to missing or noisy error logs.\n- When facing ambiguous symptoms where multiple independent factors might be interacting.\n\n---\n\n## Core Non-Linear Debugging Paradigms\n\n```text\n               ┌───────────────────────────────────────┐\n               │    Forward Tracing (Source ──►)      │\n               └───────────────────┬───────────────────┘\n                                   │\n                                   ▼\n┌──────────────────┐    ┌─────────────────────┐    ┌──────────────────┐\n│ Hypothesis H₁    │───►│   COLLISION NODE    │◄───│ Hypothesis H₃    │\n│ (State \u002F Timing) │    │   (Root Cause Δ)    │    │ (Config \u002F IPC)   │\n└──────────────────┘    └─────────────────────┘    └──────────────────┘\n                                   ▲\n                                   │\n               ┌───────────────────┴───────────────────┐\n               │    Backward Tracing (◄── Sink\u002FCrash) │\n               └───────────────────────────────────────┘\n```\n\n### 1. Bidirectional Cause-Effect Triangulation (Backward-Forward Tracing)\n- **Backward Tracing ($\\leftarrow \\text{Crash Sink}$)**: Trace upstream from where the exception is thrown, state is mutated, or process crashes.\n- **Forward Tracing ($\\text{Input Source} \\rightarrow$)**: Trace downstream from initial request, user trigger, or state payload entry.\n- **Collision Node Identification ($\\otimes$)**: Identify the exact intersection node where valid forward state violates backward invariants.\n\n### 2. Multi-Hypothesis Superposition ($H_{1..N}$)\nSimultaneously evaluate multiple orthogonal root-cause hypotheses in parallel rather than sequentially testing one by one:\n- **$H_{\\text{Lifecycle}}$**: Process startup, race conditions, port binding, auto-restart loops.\n- **$H_{\\text{State\u002FContract}}$**: Unhandled promise rejections, type mismatch, null dereference, stale cache.\n- **$H_{\\text{Transport\u002FIPC}}$**: Socket disconnect, HTTP proxy timeout, payload serialization, stream buffering.\n- **$H_{\\text{Environment\u002FConfig}}$**: Missing env vars, malformed JSON config, path resolution errors.\n\n### 3. Differential State Inversion (Negative Space Analysis)\n- Analyze execution paths that **succeed** vs paths that **fail**.\n- Isolate the **Minimal Differential Delta ($\\Delta$)**: What exact invariant changes between the working scenario and the breaking scenario?\n\n### 4. Maximum-Information-Gain Probing (Non-Linear Bisection)\nDesign diagnostic probes (log extraction, targeted grep, type checks, state inspection) that eliminate multiple hypotheses in a single pass:\n- **Rule**: Never run a diagnostic step that tests only 1 narrow hypothesis if a broader probe can rule out half of $H_{1..N}$ at once.\n\n### 5. Entropy & Multi-Symptom Cascade Compression\nCompress complex error chains (e.g., `ECONNREFUSED` $\\to$ `WebSocket closed` $\\to$ `React Unhandled Rejection` $\\to$ `UI freeze`) into a **Single Root-Cause Singularity**. Do not treat downstream symptoms as separate bugs.\n\n---\n\n## 5-Pass Non-Linear Debugging Protocol\n\n### Pass 1: Vectorized Symptom Intake & Graph Assembly\nConstruct a symbolic dependency graph of the failure rather than reading code top-to-bottom:\n```text\n[Source: UI Click \u002F WS Message] ──► [Bridge: superAgentBridge.ts] ──► [HTTP Port 7888] ──► [Crash \u002F Error Sink]\n```\nIdentify all active error signatures, logs, exit codes, and broken expectations.\n\n### Pass 2: Hypotheses Superposition Matrix\nFormulate 3–5 parallel hypotheses ($H_1, H_2, H_3, H_4$) spanning different subsystem dimensions. Assign an initial confidence score and high-gain verification test for each.\n\n```markdown\n| Hypothesis | Subsystem | Failure Mechanism | High-Gain Verification Probe |\n|---|---|---|---|\n| **H₁: Lifecycle Race** | Backend Bridge | Process spawned before port 7888 is ready | Check startup timing & ping response logs |\n| **H₂: Session Key Mismatch** | REST \u002F WS | `x-workspace-path` missing in headers | Grep `resolveSession` call parameters |\n| **H₃: Transport Timeout** | HTTP Proxy | Proxy timeout reached during long LLM pass | Verify `timeoutMs` settings in bridge request |\n```\n\n### Pass 3: High-Information-Gain Bisecting Probes\nExecute targeted diagnostic commands or code inspections to test $H_{1..N}$ concurrently.\n- Inspect exact log traces, stack traces, and status endpoints.\n- Narrow down the hypothesis space in $O(\\log N)$ steps.\n\n### Pass 4: Root-Cause Collision Node Pinpointing\nIdentify the exact file, line range, or async timing window where the invariant breaks.\nValidate with empirical evidence (exact error line, type violation, or execution trace).\n\n### Pass 5: Minimalist Fix & Invariant Guarding\nApply the fix following `pragmatic-minimalism`:\n1. Fix the root cause at the collision node.\n2. Add a defensive guard or fallback mechanism to prevent regression.\n3. Validate by compiling, building, or testing.\n\n---\n\n## Execution Checklist & Core Invariants\n\n- [ ] **No Blind Guesses**: Diagnosis must be justified by empirical log lines, stack traces, or verified code inspection.\n- [ ] **Symptom Masking Forbidden**: Never wrap errors in empty `try\u002Fcatch` or return dummy fallbacks to hide failures.\n- [ ] **Multi-Symptom Collapse**: Treat failure cascades as 1 bug with 1 root cause.\n- [ ] **Empirical Verification**: Run build\u002Ftest commands to confirm the fix before declaring completion.\n",{"name":5,"description":7},"main","62c7af5ced2c21355d148c243edb6d5921cca1a6",".agents\u002Fskills\u002Fnon-linear-debugging",8,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent","https:\u002F\u002Fgithub.com\u002FRudyCity","2026-11-14 22:58:49",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add RudyCity\u002Fsuperagent --skill non-linear-debugging",{"tool":36,"command":37},"bunx","bunx skills add RudyCity\u002Fsuperagent --skill non-linear-debugging",{"tool":39,"command":40},"pnpm","pnpm dlx skills add RudyCity\u002Fsuperagent --skill non-linear-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnon-linear-debugging\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M75GP28CM6QCSXSHKFF3NNKS","telegram_bot","Use Telegram Bot when the user asks for Telegram Bot or this provider's API.","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002Fmuse-bridge-kit\u002Fskills\u002Ftelegram-bot\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75GNZGZYM7NWDV6MBP3HS14","superagent-bridge","Operate the Muse\u003C->superagent Telegram bridge: poll the private group for task_request\u002Ftask_result envelopes, validate senders, and reply with task_batch\u002Ftask_done as Muse (the remote brain).","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002Fmuse-bridge-kit\u002Fskills\u002Fsuperagent-bridge\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M75GNHN19HJWZ7NAPM5E5JCV","Writing Skills","TDD for process documentation - test with subagents before writing, iterate until bulletproof","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75GNCQEKVRA4FH161NZPZNB","writing-shape","Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M75GNAF9NAYCSTBDZDGMK0DZ","Writing Plans","Create detailed implementation plans with bite-sized tasks for engineers with zero codebase context","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M75GN72EV0V5NQAW9CSPFRFH","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[]]