Skip to main content

header-self-containment

Enforce strict header self-containment so that every header file compiles independently. Use this skill when creating or modifying C++ header files.

معلومات المصدر

المستودع
google/filament
آخر نشاط في المصدر
٢٦ مايو ٢٠٢٦ في ٠٧:٢٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢٠٬٦٠٤
التفرعات
٢٬٢٨٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
header-self-containment
description
Enforce strict header self-containment so that every header file compiles independently. Use this skill when creating or modifying C++ header files.
# Strict Header Self-Containment Every header file (`.h`) in Filament **must be fully self-contained** and compile independently. * **Rule:** Never assume a header's type dependencies (like `FrameGraphHandle`) are pre-declared by preceding includes in a `.cpp` file. * **Action:** Always explicitly `#include` the declaring header (e.g., `fg/FrameGraphId.h`) inside the header itself.
عرض على GitHub