rea-analysis-optimization
MOmorluto/rea485k近 7 天新增 7,690 个 star
Load this skill first when a program crashes, hangs, leaks, runs slowly or returns a wrong or flaky result. Inspect runtime state, profile costs and replay the fix.
Inspect surviving evidence before restarting a live process. For wrong results, find the first divergent state. For performance, identify what the measurement counts. CPU samples show running code, wall time includes waits, and allocation churn differs from retention. If the program works but the assistant keeps choosing the same tool, octocode-agentic inspects the decision loop.
debugger; statements, logs and unsupported experimental edits, and keep the evidence the answer cites.Before a capture, check installed tools and their --help for supported events and permissions; do not install profilers or change host permissions implicitly. Preserve the raw recording and its diagnostics.
In reference commands, $skill is this skill's absolute folder, $out an existing capture directory, $pid a verified target and $seconds the observation window (an experiment parameter, not an application timeout).
| What you’re investigating | Where to look |
|---|---|
| A wrong value, exception, hang or crash | Debugger techniques, dumps, replay · Experiments, reproductions, bisecting |
| A flaky or load-only failure | List every wall-clock bound (timeouts, deadlines, sleeps), shared or global state and first-run or I/O cost (cold caches, process start, disk) on the failing path; then replay N times under induced load (parallel copies, CPU or I/O stress) and count failures, before and after the fix. Experiments |
| CPU, I/O, waits or latency | Profiling loop, comparable runs (compare-runs.mjs compares builds), reading a measurement, platform, JVM and .NET captures or trace a full-stack request |
| Growing memory or host load | Allocation versus retention or the process using the machine (host-usage.mjs), then one process |
| Browser frames or GPU stalls | Browser and GPU timelines |
| Native, Rust or Go target | Native debugger and crashes or hangs, Rust profiler, memory and async tracing, or Go tools; native-capture.sh samples a verified PID |
| Node or Python target | Node debugger (node-break.mjs), DevTools attach, profiler (profile-top.mjs) or allocation and metrics timeline; Python debugger, profiler or async and allocation growth. |
| A long log, test run or CI output | Save it under the workspace; search known markers with localSearch, and use clasify for a typed question exact search cannot narrow. |
| The code behind a frame, log line or symbol | localSearch for the text, localFetch at the line, lspSearch callers or references for who reaches it. |
| Sharing a finding | Output options · HTML renderer |
Done when the evidence answers the question or names a concrete blocker; a requested fix also needs a replay check. Tie the diagnosis to observed state or cost, and report uncertainty and unrun checks.
MOmorluto/rea485k近 7 天新增 7,690 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star