Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

auto-resource-lifecycle

النجوم٦
التفرعات٠
آخر تحديث٣ أبريل ٢٠٢٦ في ٠٢:٤١

Resource lifecycle discipline: guaranteed cleanup on all paths (including error), RAII/context managers/try-with-resources, and the specific resource leak patterns Claude defaults to. Corrects manual open/close without error-path coverage, missing cleanup on teardown, and spawned tasks without join/cancel. Use when opening files, database connections, HTTP clients, event listeners, or spawning tasks. Triggers: resource, cleanup, close, drop, dispose, finally, context manager, with, RAII, defer, leak, connection pool, file handle, event listener, subscription, spawn, JoinSet, teardown, shutdown.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly