orion-code-style

Enforce Unreal Engine C++ formatting and project style rules.

16|3|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/OrionUE/Orion_FreeEdition --skill orion-code-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orion-code-style
Source: https://github.com/OrionUE/Orion_FreeEdition/tree/main/.agents/skills/orion-code-style
Command: npx skills add https://github.com/OrionUE/Orion_FreeEdition --skill orion-code-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents inconsistent Unreal Engine code formatting and style drift by enforcing project-specific coding standards during creation, editing, refactoring, and review workflows.

Core Features & Use Cases

  • Unreal C++ Style Enforcement: Applies rules for.h,.cpp, Build.cs, and Target.cs files including includes, indentation, naming, comments, and generated header placement.
  • Project Convention Validation: Ensures CRLF endings, Tab indentation, copyright header handling, dependency placement, and formatting consistency through validation tooling.
  • Use Case: When adding a new Unreal gameplay module or refactoring existing systems, use this Skill to keep touched files aligned with Orion's engineering standards.

Quick Start

Use the orion-code-style skill to review and format my Unreal Engine C++ changes according to the project coding conventions.

Frequently Asked Questions about orion-code-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce consistent C++ code formatting in Unreal Engine?

To enforce consistent C++ code formatting in Unreal Engine, apply project-specific style rules to newly created or modified .h and .cpp files. This includes validating Tab indentation, CRLF line endings, copyright headers, and generated header placement through a dedicated validation script.

What Unreal Engine file types are covered by C++ code style validation?

C++ code style validation covers Unreal Engine .h and .cpp source files, as well as Build.cs and Target.cs configuration files. It checks include management, naming conventions, comments, dependency placement, and generated header ordering to ensure production-ready consistency.

How do I validate Build.cs and Target.cs coding conventions for Unreal modules?

To validate Build.cs and Target.cs coding conventions, run the project style validation script against these Unreal Engine configuration files. This verifies dependency placement, formatting consistency, and naming rules to keep your module definitions aligned with engineering standards.

Does Unreal Engine C++ formatting require Tab indentation and CRLF line endings?

Yes, Unreal Engine C++ formatting requires Tab indentation and CRLF line endings to maintain project consistency. The style validation script checks these specific line ending and indentation requirements across .h, .cpp, Build.cs, and Target.cs files.

When do I need to run Unreal C++ style validation during development?

You should run Unreal C++ style validation when adding a new gameplay module, refactoring existing systems, or reviewing code changes. This ensures all touched files remain aligned with project coding conventions and prevents style drift across the codebase.

Why does generated header ordering matter in Unreal C++ code style?

Generated header ordering matters in Unreal C++ code style because it maintains include management consistency and prevents compilation issues. The validation script checks that generated headers are placed correctly according to Orion framework standards across modified source files.