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

stackalloc-pooled-fallback

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

Introduces a stackalloc fallback to ArrayPool<T>.Shared for hot-path C# methods that need variable-size stack buffers. Use this skill whenever a method uses a naked stackalloc that should gracefully fall back to a pooled array for larger inputs, or when adding this pattern from scratch to a method that processes variable-length data. Triggers on: stackalloc, ArrayPool, Span<T> buffer allocation, avoiding stack overflow for variable buffers, or any request to make a stack allocation safe for large inputs.

التثبيت

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

SKILL.md
readonly