
Moodle theme development
Guides building Moodle themes: Boost child themes, SCSS hooks, layouts and templates
Moodle theme development is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 44
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Moodle theme development
This skill walks an agent through creating a Moodle theme as a child of the bundled Boost theme, so branding changes sit on top of core rather than replacing it. It covers the theme folder layout, the config.php manifest, and how lib.php wires SCSS together, with pre-Boost variables and post-Boost overrides.
The guidance also covers theme settings in settings.php, layout file overrides, Mustache template overrides, and renderer overrides activated through the theme renderer factory. It explains development-only theme designer mode, cache purging after SCSS edits, and per-category theme assignment. A short table lists common mistakes and their fixes.
The skill expects a Moodle codebase where the agent can edit files under theme/ and run the Moodle CLI scripts for cache purging and CSS building. The examples are PHP, Mustache and SCSS.
When your agent uses it
Use when developing Moodle themes — Boost child themes, theme/yourtheme/config.php, SCSS pre/post hooks, layouts, Mustache template overrides, theme settings, $OUTPUT renderer overrides, and theme designer mode.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the moodle-dev plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add SaadRahman01/claude-moodle-dev
/plugin install moodle-dev@moodle-devOr copy only this skill to ~/.claude/skills/moodle-theme-development:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/moodle-theme-development &&
cp -R "$tmp/skills/moodle-theme-development" ~/.claude/skills/moodle-theme-development &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/moodle-theme-development inside it instead.
Copy the skill folder to ~/.agents/skills/moodle-theme-development to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/moodle-theme-development &&
cp -R "$tmp/skills/moodle-theme-development" ~/.agents/skills/moodle-theme-development &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/moodle-theme-development inside it instead.
Copy the skill folder to ~/.cursor/skills/moodle-theme-development to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/moodle-theme-development &&
cp -R "$tmp/skills/moodle-theme-development" ~/.cursor/skills/moodle-theme-development &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/moodle-theme-development inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/SaadRahman01/claude-moodle-dev.git --path skills/moodle-theme-developmentOr copy the folder to ~/.gemini/skills/moodle-theme-development yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/moodle-theme-development:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/moodle-theme-development &&
cp -R "$tmp/skills/moodle-theme-development" ~/.copilot/skills/moodle-theme-development &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/moodle-theme-development inside it instead.
Get the folder:
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.gitThen copy claude-moodle-dev/skills/moodle-theme-development into your agent's skills folder as moodle-theme-development. Agents that support SKILL.md read one folder per skill.
What it does
- Boost child theme setup
- Covers the theme folder skeleton and the config.php manifest that inherits from Boost.
- SCSS pre and post hooks
- Explains how variables are injected before Boost styles and overrides added after them.
- Theme settings pages
- Shows admin settings for colours, logos and raw SCSS in settings.php.
- Layout and template overrides
- Describes replacing layout files and core Mustache templates from the theme.
- Renderer override pattern
- Demonstrates extending the Boost core renderer and enabling it in config.php.
- Cache and designer mode
- Explains development-only theme designer mode and purging theme caches.
Good for
- Rebrand a Moodle site with custom colours and a logo
- Override the navbar template in a Moodle theme
- Add a theme setting that admins can configure
- Change the favicon through a Moodle theme renderer
- Assign a different theme to a course category
Moodle theme development FAQ
What does Moodle theme development need to be useful?
It assumes a Moodle codebase where you can edit files under theme/ and run the Moodle CLI scripts for purging caches and building theme CSS.
Should I edit the Boost theme directly?
No. The skill says to create a child theme that inherits from Boost and override only what changes.
When should theme designer mode be used?
Only in development. It disables CSS caching and rebuilds SCSS on every page, which hurts performance, so it should not be used in production.
What should I do after changing SCSS on a live site?
Purge the theme caches from Site administration under Development, or run the purge_caches CLI script.
How do I install Moodle theme development in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/moodle-theme-development to use it in all your projects, or to .claude/skills/moodle-theme-development in one project. Or install the moodle-dev plugin, which includes it: /plugin marketplace add SaadRahman01/claude-moodle-dev, then /plugin install moodle-dev@moodle-dev.
Does Moodle theme development run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Moodle theme development?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Moodle theme development?
The closest alternatives to Moodle theme development are Moodle plugin development, Moodle accessibility, Moodle phpunit testing, Moodle behat testing and Moodle performance.
Where this comes from
- Description: from the skill's own SKILL.md.
More from SaadRahman01/claude-moodle-dev

Guides building and calling Moodle web services: external functions, tokens and schemas
- Open source
- 44 GitHub stars
- Developer tools

Guides agents to build Moodle plugin UI that meets WCAG 2.1 AA accessibility rules
- Open source
- 44 GitHub stars
- Developer tools

Guides writing Moodle browser JavaScript as AMD modules with grunt builds and tests
- Open source
- 44 GitHub stars
- Developer tools

Guides writing and running Behat acceptance tests for Moodle plugins
- Open source
- 44 GitHub stars
- Developer tools

Guides building and migrating Moodle 4.4+ hook classes, listeners and tests
- Open source
- 44 GitHub stars
- Developer tools

Guides building Moodle plugin UI that renders inside the Moodle Mobile app
- Open source
- 44 GitHub stars
- Developer tools

