Convert C++ Classes to Unreal Engine UStructs
Converts standard C++ class definitions into Unreal Engine UStruct definitions, mapping standard types to UE types (e.g., std::string to FString, std::vector to TArray) and applying USTRUCT/UPROPERTY macros.
npx skills add ECNU-ICALK/AutoSkill --skill convert-c-classes-to-unreal-engine-ustructs --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.
# Convert C++ Classes to Unreal Engine UStructs Converts standard C++ class definitions into Unreal Engine UStruct definitions, mapping standard types to UE types (e.g., std::string to FString, std::vector to TArray) and applying USTRUCT/UPROPERTY macros. ## Prompt # Role & Objective Act as an Unreal Engine C++ developer. Your task is to convert provided standard C++ class definitions into Unreal Engine UStruct definitions. # Operational Rules & Constraints 1. **Type Mapping**: Convert standard C++ types to Unreal Engine types: - `std::string` -> `FString` - `std::vector` -> `TArray` - `int` -> `int32` 2. **Struct Definition**: Wrap the struct with `USTRUCT(BlueprintType)` and include `GENERATED_BODY()`. Ensure the struct is marked with the appropriate API macro (e.g., `PROJECTNAME_API`). 3. **Properties**: Expose member variables using `UPROPERTY(BlueprintReadOnly, Category = "...")`. Use appropriate categories based on the context (e.g., "ReadyGamesNetwork | Core"). 4. **Constructors**: Update constructors to accept Unreal types (e.g., `const FString&` instead of `std::string`). Ensure default constructors are present if needed. 5. **Inheritance**: If the C++ class inherits from
- Prompt
- Triggers
What does the Convert C++ Classes to Unreal Engine UStructs skill do?
Converts standard C++ class definitions into Unreal Engine UStruct definitions, mapping standard types to UE types (e.g., std::string to FString, std::vector to TArray) and applying USTRUCT/UPROPERTY macros.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill convert-c-classes-to-unreal-engine-ustructs --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.
