n2c-context-gatherer

Parse Unreal Engine header files to extract include paths and base class signatures.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/buihuuloc/universal-ue-skills --skill n2c-context-gatherer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n2c-context-gatherer
Source: https://github.com/buihuuloc/universal-ue-skills/tree/main/skills/n2c-context-gatherer
Command: npx skills add https://github.com/buihuuloc/universal-ue-skills --skill n2c-context-gatherer

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the complex and time-consuming process of gathering essential context for C++ code generation in Unreal Engine projects, reducing manual effort and potential errors.

Core Features & Use Cases

  • Include Path Resolution: Automatically finds the correct header file paths for project types.
  • Base Class Signature Extraction: Parses base class headers to identify virtual methods and member variables.
  • API Pattern Detection: Identifies common Unreal Engine API usage patterns and potential conflicts.
  • Use Case: When generating a new gameplay ability, this Skill can provide all necessary include paths and the signature of the base class, ensuring the generated code compiles correctly.

Quick Start

Use the n2c-context-gatherer skill to gather context for the base class USipherGameplayAbilityRuntime using the provided JSON input.

Frequently Asked Questions about n2c-context-gatherer

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

FAQPage Schema
How do I gather C++ code generation context for Unreal Engine projects?

To gather C++ code generation context for Unreal Engine, you must resolve include paths, extract base class signatures, and detect API patterns. Automating this process analyzes source files and plugins to resolve type dependencies and identify coding conventions.

How do I extract virtual methods and member variables from C++ header files?

Extracting virtual methods and member variables from C++ header files requires parsing base class headers. This process identifies the exact method signatures and variables needed to ensure newly generated Unreal Engine code compiles correctly and adheres to project conventions.

Does this context gathering approach work with Unreal Engine plugins?

Yes, this context gathering approach supports automated analysis of Unreal Engine plugins. It scans plugin source files to resolve type dependencies and identify specific API usage patterns, ensuring accurate code generation across your entire project structure.

Why does generated C++ code fail to compile in Unreal Engine?

Generated C++ code often fails to compile in Unreal Engine due to missing include paths, unresolved type dependencies, or API pattern conflicts. Resolving these dependencies and verifying base class signatures beforehand ensures the generated code compiles correctly.

What is the best way to identify common Unreal Engine API usage patterns?

The best way to identify common Unreal Engine API usage patterns is through automated analysis of project source files. This detects standard API conventions and potential conflicts, providing the necessary context for accurate and safe C++ code generation.