writing-cmodules

Community

Guidance for creating and testing C modules.

Authorgerph
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Development notes and procedures for working with RISC OS modules. Describes the layout of the project, how to build and tests, common patterns with SWIs and Vectors. Use when creating RISC OS modules, creating SWI implementations, claiming vectors, or writing service handlers.

Core Features & Use Cases

  • Provides project structure guidance for RISC OS C modules, including CMHG layout, c/ and h/ directories, Makefiles, and templates.
  • Documents essential module lifecycle components (Mod_Init, Mod_Final), vector handling, and SWI interfaces.
  • Offers build and test workflows to streamline development, validation, and maintenance.

Quick Start

Create a new C module project with riesgos-project create --name <project> --type cmodule --skeleton and then build it to verify the setup.

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: writing-cmodules
Download link: https://github.com/gerph/riscos-agent-skills/archive/main.zip#writing-cmodules

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 471,000+ vetted skills library on demand.