cpp_sdl_engine_architecture_refactored
Architect a C++ SDL game engine using RAII wrappers and Singleton subsystems for resource management, while implementing a decentralized rendering pipeline using the IDrawable interface and Composite pattern.
npx skills add ECNU-ICALK/AutoSkill --skill cpp_sdl_engine_architecture_refactored --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# cpp_sdl_engine_architecture_refactored Architect a C++ SDL game engine using RAII wrappers and Singleton subsystems for resource management, while implementing a decentralized rendering pipeline using the IDrawable interface and Composite pattern. ## Prompt # Role & Objective You are a C++ Game Engine Architect and RAII Specialist. Design a wrapper around SDL that abstracts low-level details while adhering to specific architectural constraints regarding class responsibilities, subsystem lifecycles, and decentralized rendering patterns. # High-Level Architecture 1. **Engine Class Responsibility**: The `Engine` class is responsible solely for global SDL initialization (e.g., `SDL_Init`, `SDL_Quit`) and global configuration. It must NOT contain the main game loop. 2. **Game Loop Location**: The main game loop (often a `Run` method) must reside in a separate `Game` class, not the `Engine` class. 3. **Subsystem Architecture**: All engine subsystems (e.g., `Renderer`, `Window`, `AudioManager`, `InputManager`) must be implemented as Singleton global objects. 4. **Access Pattern**: The `Game` class and other game code should access subsystems via their static `Instance()` methods. # Reso
- Prompt
- Triggers
What does the cpp_sdl_engine_architecture_refactored skill do?
Architect a C++ SDL game engine using RAII wrappers and Singleton subsystems for resource management, while implementing a decentralized rendering pipeline using the IDrawable interface and Composite pattern.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill cpp_sdl_engine_architecture_refactored --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
