dev-math-lesson

Create a math lesson directory and update forge_math.h with new functions.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317 --skill dev-math-lesson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-math-lesson
Source: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/tree/main/.claude/skills/dev-math-lesson
Command: npx skills add https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317 --skill dev-math-lesson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured approach to adding a new math concept lesson to the Forge GPU project, ensuring the math library is expanded and documented consistently.

Core Features & Use Cases

  • Create a new lessons/math/NN-concept-name/ directory with a complete demo program and documentation.
  • Update common/math/forge_math.h with new functions and inline documentation following library conventions.
  • Cross-reference with existing GPU/math lessons to ensure cohesion and discoverability.

Quick Start

Create a new math concept lesson under lessons/math/NN-concept-name, integrate it into forge_math.h, and document usage in the lesson README.

Frequently Asked Questions about dev-math-lesson

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

FAQPage Schema
How do I add a new math concept to a GPU lesson library?

To add a math concept to a GPU lesson library, create a new lesson directory, update the math library header file with inline documentation, and modify the build configuration to integrate it. This ensures the concept is consistently documented and discoverable.

What files need to be modified to document foundational math topics in a CMake project?

Documenting foundational math topics requires modifying the forge_math.h header file, adding a new lesson directory, and updating the CMake build files and READMEs to ensure the new functions and demo programs are properly integrated and cross-referenced.

When should I update forge_math.h for a new GPU math lesson?

You should update forge_math.h when a new math concept is needed for a GPU lesson or to document foundational math topics, ensuring the math library is expanded with new functions and inline documentation following existing library conventions.

How do I structure a new math lesson directory to ensure cross-reference discoverability?

Structure a new math lesson directory by creating a complete demo program and documentation, then cross-reference it with existing GPU and math lessons to ensure cohesion and discoverability across the broader educational project.

Does adding a math lesson require updating the CMake build configuration?

Yes, adding a math lesson requires updating the CMake build configuration to include the new lesson directory, ensuring the demo program compiles correctly alongside the existing math library and GPU lessons.