Skip to main content
Back to registry

moodle-external-api-development

sickn33/antigravity-awesome-skills

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

Installs217
Install command
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill moodle-external-api-development
Security audits
Gen Agent Trust HubWARN
SocketPASS
SnykPASS
About this skill
This skill guides you through creating custom external web service APIs for Moodle LMS, following Moodle's external API framework and coding standards. Moodle external APIs follow a strict three-method pattern: Location : /local/yourplugin/classes/external/your_api_name.php Key Points : Common Parameter Types : Structures : Value Flags : Critical Steps : Return Structure Rules : Location : /local/yourplugin/db/services.php Service Registration Keys : Error Handling Best Practices : Solution : Solution : Solution : Solution : Solution : See attached create_quiz_from_categories.php for a comprehensive example including: - 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 - execute_parameters() - Defines input parameter structure - execute() - Contains business logic - execute_returns() - Defines return structure - Class must extend external_api - Namespace follows: local_pluginname\external or mod_modname\external - Include the security check: defined('MOODLE_INTERNAL') || die(); - Require externallib.php for base classes - PARAM_INT - Integers - PARAM_TEXT - Plain text (HTML stripped) - PARAM_RAW - Raw text (no cleaning) - PARAM_BOOL - Boolean values -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does moodle-external-api-development do?

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

Is moodle-external-api-development good?

moodle-external-api-development does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does moodle-external-api-development work with?

moodle-external-api-development currently lists compatibility with codex, gemini-cli, opencode, cursor, claude-code, antigravity.

What are alternatives to moodle-external-api-development?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install moodle-external-api-development?

npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill moodle-external-api-development

Related skills

More from sickn33/antigravity-awesome-skills

Related skills

Alternatives in Software Engineering