Skip to main content
Run any Skill in Manus
with one click
$pwd:

agh-cleanup-failure-paths

// Audits Go functions with multi-step setup or teardown for cleanup discipline on every error return: cancel any context created or extended, close every opened resource, release every claim or lease, stop every spawned subprocess, drain every HTTP body. Forbids http.DefaultClient in production code paths. Use when editing functions in internal/acp, internal/session, internal/scheduler, internal/coordinator, internal/extension, internal/automation, internal/store, internal/memory, internal/api, or any subprocess or registry handler. Do not use for read-only helpers, pure data structures, or tests.

$ git log --oneline --stat
stars:127
forks:6
updated:May 12, 2026 at 18:12
File Explorer
3 files
SKILL.md
readonly