Claude Code hook
Claude Moodle Dev
Moodle development toolkit for AI coding assistants. Skills for XMLDB, Hooks API, PHPUnit, Behat, AMD, privacy/GDPR, security, accessibility. Native Claude Code plugin + adapters.
Install
/plugin marketplace add https://github.com/SaadRahman01/claude-moodle-devFound in the project README. Check it for setup steps after installing.
git clone https://github.com/SaadRahman01/claude-moodle-dev.gitFrom the README
moodle-dev The most complete Moodle development toolkit for AI coding assistants — skills, slash commands, and subagents that turn your assistant into a Moodle expert. Native plugin for Claude Code; ships with adapters for Cursor, GitHub Copilot, Aider, Continue, and a paste-anywhere bundle. Scaffolds plugins, writes XMLDB upgrades, audits privacy/security, generates PHPUnit + Behat tests, builds AMD modules, reviews PRs — all following official Moodle coding standards (PSR-4, frankenstyle, MOODLE_INTERNAL, GPL headers, get_string, $DB). 🔌 Companion MCP server: moodle-mcp — live moodledev.io documentation search inside Claude Desktop / Code, Cursor, Continue, Cline. pipx install moodle-mcp. Why this plugin Claude already knows PHP. It does not know: - Moodle's frankenstyle conventions (local_, mod_, block_, ...) - XMLDB editor workflow + upgrade_plugin_savepoint rules - Privacy API contracts (null_provider vs request\plugin\provider) - Capability + sesskey + require_login security pattern - Moodle 4.4+ Hooks API vs legacy lib.php callbacks - pluginfile.php file-serving callback - Behat + PHPUnit Moodle harness (resetAfterTest, generators, tags) - AMD/RequireJS + grunt build - Mobile app remote templates + get_remote_addons This plugin teaches Claude all of it. Auto-activates when Claude detects Moodle work. Install Claude Code (native plugin) (If git@github.com SSH auth fails, use the full https:// URL as shown above.) Local dev: /plugin marketplace add /absolute/path/to/claude-moodle-dev. Verify: /plugin list. One-liner installer (any non-Claude assistant) Defaults to current directory. Or copy manually as below. Cursor Copy adapters/cursor/.cursor/ into your project (or ~/.cursor/ for global use). Each skill becomes an on-demand rule; agents and commands…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- SaadRahman01/claude-moodle-dev
- Type
- Hooks
- Language
- Python
- License
- MIT
- Last updated
- 22 June 2026
- Topics
- ai-coding-assistantclaudeclaude-plugincluade-aiedtechlmsmoodlemoodle-pluginphp
FAQ
What is Claude Moodle Dev?
Moodle development toolkit for AI coding assistants. Skills for XMLDB, Hooks API, PHPUnit, Behat, AMD, privacy/GDPR, security, accessibility. Native Claude Code plugin + adapters. It is a hook for Claude Code, from SaadRahman01/claude-moodle-dev on GitHub.
How do I install Claude Moodle Dev?
Run /plugin marketplace add https://github.com/SaadRahman01/claude-moodle-dev inside Claude Code, then follow the setup in the README.
Is Claude Moodle Dev popular?
SaadRahman01/claude-moodle-dev has 42 GitHub stars and 7 forks. It was last updated on 22 June 2026.
More hooks
Claude Code Plugins
44FlorianBruniaux/claude-code-plugins
Production-ready Claude Code plugins: skills, hooks, agents, slash commands, and MCP templates.
Claude Playbook
44smartwhale8/claude-playbook
Production-ready .claude/ scaffolding for enforcing professional software engineering standards with Claude Code. Rules, skills, agents, and hooks — ready to use as a GitHub template.
armorClaude
47armoriq/armorClaude
Intent-based security plugin for Claude Code - registers a plan per prompt and enforces policy on every tool call via hooks.
Tool Gate Hook
41kornysietsma/tool-gate-hook
A PreToolUse hook for Claude Code for more granular permission controls
Pm AI Playbook
42fimoklei/pm-ai-playbook
A product manager's tested playbook for working with AI — skills, workflows, hooks, and rules from daily use of Claude Code
Founder OS
24cloudrepo-io/founder-os
Run your company with an AI team. No complex tooling—just markdown files and Claude.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.