reviewing-platform-abstraction

Community

Ensure platform-agnostic rendering.

Authorkateusz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents platform-specific code (like direct OpenGL calls) from leaking into the engine's core, ensuring the game engine remains truly cross-platform. It helps maintain a clean abstraction layer, making it easier to extend support to new rendering backends like Vulkan, DirectX, or Metal without rewriting core engine logic.

Core Features & Use Cases

  • Abstraction Validation: Automatically checks if rendering code uses IRendererAPI interfaces and avoids direct Silk.NET or OpenGL imports in the engine core.
  • Namespace Isolation: Verifies that platform-specific code is correctly isolated within Engine/Platform/{PlatformName}/ directories.
  • New Backend Guidance: Provides a clear roadmap for implementing new rendering backends by adhering to existing abstraction interfaces.
  • Use Case: Before merging a pull request that adds new 3D rendering features, use this Skill to audit the code and confirm that no OpenGL-specific calls have inadvertently been added to the platform-agnostic Engine/Renderer/ modules.

Quick Start

Review the Graphics2D.cs file for any direct OpenGL calls or Silk.NET imports, and suggest fixes to maintain platform abstraction.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: reviewing-platform-abstraction
Download link: https://github.com/kateusz/GameEngine/archive/main.zip#reviewing-platform-abstraction

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.