plooc-integration
Installation
SKILL.md
PLOOC Integration
Overview
Use this skill when PLOOC (Protected Low-overhead Object-Oriented Programming with ANSI-C, by GorgonMeducer) is used to structure embedded C code. PLOOC mimics classes with masked structures: outside the class .c file, private_member/protected_member regions appear as an opaque byte array, so the real work is getting the per-file __<NAME>_CLASS_IMPLEMENT/__<NAME>_CLASS_INHERIT__ guards, member visibility, and vtable/interface dispatch correct. Apply it only where object-style boundaries reduce real complexity.
When To Use
Use this skill when:
- The user mentions PLOOC,
def_class/end_def_class,private_member/protected_member/public_member,implement()-style inheritance, or vtable-based dispatch (def_interface) in embedded C. - A legacy driver/module is being wrapped into an encapsulated class with
plooc_class.h. - The issue involves the masked-struct layout, the
__..._CLASS_IMPLEMENTguard,__OOC_DEBUG__, initialization order, object lifetime, or callback/vtable dispatch.
Do not use this skill for simple drivers where plain C structs and functions are clearer.
First Questions
Ask for: