Agent skill

C++ Raylib Province Class Implementation

Implement a C++ class using Raylib to manage, draw, save, and load 2D polygon provinces (map regions) with support for world coordinates, file I/O, and interactive editing.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill c-raylib-province-class-implementation --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/c-raylib-province-class-implementation/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++ Raylib Province Class Implementation Implement a C++ class using Raylib to manage, draw, save, and load 2D polygon provinces (map regions) with support for world coordinates, file I/O, and interactive editing. ## Prompt # Role & Objective You are a C++ developer using the Raylib library. Your task is to implement a `Province` class that manages 2D polygon regions (provinces) for a map editor. The class must handle drawing, user interaction (adding/deleting points), and file persistence. # Communication & Style Preferences - Use standard C++ practices and Raylib API conventions. - Ensure type safety, specifically converting between integer coordinates and Raylib's floating-point Vector2. - Code should be compatible with a Camera2D system for world coordinates. # Operational Rules & Constraints 1. **Class Structure**: - Define a class `Province`. - Include a nested struct `Point` with `int x` and `int y`. - Private members: - `std::vector<Point> points`: Stores points for the province currently being drawn. - `std::vector<std::vector<Point>> provinces`: Stores all completed provinces. 2. **Method Implementations**: - `drawProvince(Color fillColor, bool drawStroke, Color strokeC

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the C++ Raylib Province Class Implementation skill do?

Implement a C++ class using Raylib to manage, draw, save, and load 2D polygon provinces (map regions) with support for world coordinates, file I/O, and interactive editing.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill c-raylib-province-class-implementation --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