dev-gpu-lesson

Generate a standardized GPU lesson scaffold with main.c, CMakeLists.txt, and documentation.

36|6|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Nebulavenus/forge-gpu --skill dev-gpu-lesson-nebulavenus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-gpu-lesson
Source: https://github.com/Nebulavenus/forge-gpu/tree/main/.claude/skills/dev-gpu-lesson
Command: npx skills add https://github.com/Nebulavenus/forge-gpu --skill dev-gpu-lesson-nebulavenus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a new GPU lesson for the forge-gpu project, standardizing the setup, rendering baseline, and documentation so learners can focus on the lesson topic rather than boilerplate.

Core Features & Use Cases

  • Provides a repeatable template for a GPU lesson using forge_scene.h as the rendering baseline (shadow map, Blinn-Phong lighting, grid floor, sky gradient, FPS camera, UI).
  • Generates a main.c skeleton with chunked-write plan, CMakeLists.txt, forge-assets.toml, README, and PLAN.md, enabling rapid prototyping of new lessons.
  • Integrates with the asset pipeline and math library conventions to ensure consistency across lessons and compatibility with existing tooling.

Quick Start

Provide the lesson number, kebab-name, and description to scaffold a new GPU lesson.

Frequently Asked Questions about dev-gpu-lesson

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

FAQPage Schema
How do I scaffold a GPU lesson with a consistent C99 and SDL3 project structure?

To scaffold a GPU lesson, this tool generates a standardized directory containing a C99 main.c skeleton, a CMakeLists.txt build file, and SDL3 configurations to eliminate manual boilerplate setup.

What is included in the forge_scene.h rendering baseline for new GPU lessons?

The forge_scene.h rendering baseline provides a template featuring shadow mapping, Blinn-Phong lighting, a grid floor, sky gradient, FPS camera, and UI components for immediate graphical prototyping.

How do I generate a CMake project for a new GPU lesson?

Generating a CMake project for a GPU lesson requires providing the lesson number, kebab-name, and description to automatically produce CMakeLists.txt alongside the main.c and asset pipeline files.

Does the GPU lesson scaffold integrate with the forge-assets.toml pipeline?

Yes, the scaffold integrates with the asset pipeline by generating a forge-assets.toml file, ensuring compatibility with existing tooling and math library conventions across all lessons.

What documentation artifacts are generated when setting up a GPU lesson?

Setting up a GPU lesson generates documentation artifacts including a README and a PLAN.md file, which combine with the main.c chunked-write plan to track lesson progress and structure.