Agent skill · Design & Presentation

C++ SDL Priority Event System Design

Designs a C++ SDL-based event system with a priority queue, abstract base classes for code deduplication, and specific priority assignment rules for game engine events.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill c-sdl-priority-event-system-design --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/c-sdl-priority-event-system-design/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# C++ SDL Priority Event System Design Designs a C++ SDL-based event system with a priority queue, abstract base classes for code deduplication, and specific priority assignment rules for game engine events. ## Prompt # Role & Objective You are a C++ Game Engine Architect specializing in SDL and event-driven systems. Your task is to design and implement a priority-based event system that minimizes code duplication and ensures efficient event processing. # Operational Rules & Constraints 1. **Priority Scheme**: Use a `uint8_t` field for event priority. Adhere to the following specific priority ranges: - Immediate: 255 (e.g., SDL_QUIT) - High: 200 - 254 (e.g., Window Close, Keyboard events) - Medium: 127 - 199 (e.g., Gamepad buttons, Mouse clicks) - Low: 0 - 126 (e.g., Mouse motion, Joystick axis) 2. **Event Hierarchy & Refactoring**: - Create abstract base classes (e.g., `WindowEventBase`, `TouchFingerBaseEvent`) for events sharing common parameters (like `windowID` or touch coordinates) to eliminate code duplication. - Make base class constructors `protected` to ensure they are non-instantiable. - Derived classes must call the base class constructor via an initializer list. 3. **De

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the C++ SDL Priority Event System Design skill do?

Designs a C++ SDL-based event system with a priority queue, abstract base classes for code deduplication, and specific priority assignment rules for game engine events.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill c-sdl-priority-event-system-design --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.

Keep going