Moodle External API Development

Create custom external web service APIs for Moodle LMS. Use when implementing web services for course management, user tracking, quiz operations, or custom plugin functionality. Covers parameter validation, database operations, error handling, service registration, and Moodle coding standards.

514 stars 146 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill moodle-external-api-development
Manual install
git clone --depth 1 https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.git /tmp/Agent-Skills-4-Vibe-Coding-CLI
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills-4-Vibe-Coding-CLI/.agent/skills/moodle-external-api-development ~/.claude/skills/moodle-external-api-development

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Moodle External API Development

This skill guides you through creating custom external web service APIs for Moodle LMS, following Moodle's external API framework and coding standards.

## When to Use This Skill

- Creating custom web services for Moodle plugins
- Implementing REST/AJAX endpoints for course management
- Building APIs for quiz operations, user tracking, or reporting
- Exposing Moodle functionality to external applications
- Developing mobile app backends using Moodle

## Core Architecture Pattern

Moodle external APIs follow a strict three-method pattern:

1. **`execute_parameters()`** - Defines input parameter structure
2. **`execute()`** - Contains business logic
3. **`execute_returns()`** - Defines return structure

## Step-by-Step Implementation

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [Step 1: Create the External API Class File](./sub-skills/step-1-create-the-external-api-class-file.md)
### 2. [Step 2: Define Input Parameters](./sub-skills/step-2-define-input-parameters.md)
### 3. [Step 3: Implement Business Logic](./sub-skills/step-3-implement-business-logic.md)
### 4. [Step 4: Define Return Structure](./sub-skills/step-4-define-return-structure.md)
### 5. [Step 5: Register the Service](./sub-skills/step-5-register-the-service.md)
### 6. [Step 6: Implement Error Handling & Logging](./sub-skills/step-6-implement-error-handling-logging.md)
### 7. [Complex Database Operations](./sub-skills/complex-database-operations.md)
Read the full skill on GitHub

Details

Skill name
moodle-external-api-development
Path
.agent/skills/moodle-external-api-development/SKILL.md
Repo updated
11 June 2026

FAQ

What does the Moodle External API Development skill do?

Create custom external web service APIs for Moodle LMS. Use when implementing web services for course management, user tracking, quiz operations, or custom plugin functionality. Covers parameter validation, database operations, error handling, service registration, and Moodle coding standards.

How do I install the Moodle External API Development skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill moodle-external-api-development. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Moodle External API Development popular?

It lives in Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI, which has 514 GitHub stars and 146 forks.

Related skills

Address Github Comments

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.

Git & Code Review146

Agent Memory MCP

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

AI, LLMs & Agents146

API Documentation Generator

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

Software Development146

Nodejs Best Practices

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Node.js development principles and decision-making.

Software Development146

Monorepo Architect

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use PROACTIVELY for monorepo setup,

Software Development146

Personal Tool Builder

514

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Expert in building custom tools that solve your own problems first. The best products often start as personal tools - scratch your own itch, build for yourself, then discover others have the same itch. Covers rapid prototyping, local-first apps, CLI tools, scripts that grow into products, and the art of dogfooding. Use when: build a tool, personal tool, scratch my itch, solve my problem, CLI tool.

Software Development146

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.