moodle-external-api-development

Community

Build Moodle external APIs quickly and securely.

Authorjokken79
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach for creating Moodle external web service APIs, enabling secure, standards-compliant integration with external systems while reducing boilerplate.

Core Features & Use Cases

  • Three-method pattern: execute_parameters, execute, and execute_returns to define, implement, and return API data.
  • Safety and access control: parameter validation, context checks, and capability enforcement to ensure proper permissions.
  • Service registration & consumption: guidance for registering functions, exposing REST/AJAX endpoints, and mobile service usage.
  • Best practices: error handling, logging, transactions, and coding standards for Moodle plugins.

Quick Start

Create a new external API class following the three-method pattern and register it in services.php to expose the API.

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: moodle-external-api-development
Download link: https://github.com/jokken79/YuKyuDATA-app1.0v/archive/main.zip#moodle-external-api-development

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.