CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

51

Quality

56%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/moodle-external-api-development/SKILL.md

The canonical home for this skill is moodle-external-api-development in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is highly actionable with executable Moodle external-API code and a clear build sequence, but it is a long, redundant monolith whose write-operation workflow lacks integrated validation checkpoints. Splitting reference material into bundle files would improve both conciseness and progressive disclosure.

Suggestions

Split the advanced patterns, common-tables reference, and full examples into files under references/ and link to them one level deep, fixing the missing create_quiz_from_categories.php reference.

Deduplicate by collapsing the two execute() examples and removing the Guidelines section that restates the Critical Steps.

Add explicit validation checkpoints inside the Step 1–6 flow (e.g., 'after registering the service, purge caches and verify the function resolves before testing') to satisfy the feedback-loop requirement for write operations.

DimensionReasoningScore

Conciseness

Mostly Moodle-specific reference that earns its place, but redundancy pads it out (two execute() examples, a Guidelines section restating the Critical Steps, and Pitfalls restating earlier guidance).

3 / 5

Actionability

Provides complete, copy-paste-ready PHP classes, curl, JavaScript AJAX, and services.php registration covering common cases; the only gap is the referenced attached file create_quiz_from_categories.php which is not present in the bundle.

4 / 5

Workflow Clarity

A clear Step 1–6 implementation sequence exists, but for write/database operations the validation checkpoints are not integrated as gates within the build flow—testing and pitfalls live in separate sections—so the feedback-loop cap applies.

3 / 5

Progressive Disclosure

Headers give decent structure, but the ~600-line file inlines reference tables, advanced patterns, and full examples that belong in separate files, and its one 'attached file' reference is broken.

3 / 5

Total

13

/

20

Passed

Description

56%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description clearly scopes the skill to Moodle external web service APIs but lacks any explicit "when to use" trigger guidance and slips into second-person voice. Trigger-term coverage is good but the action description is thin.

Suggestions

Add a 'Use when…' clause listing concrete triggers (e.g., 'Use when creating web services or REST/AJAX endpoints for Moodle plugins').

Replace second-person phrasing ('guides you through') with third-person voice ('Guides creation of…') to align with the rubric.

Expand the action list beyond 'creating' to specific verbs like 'define, register, and test external API methods'.

DimensionReasoningScore

Specificity

Names the Moodle external-API domain and one concrete action ("creating custom external web service APIs"), but the rest ("following Moodle's external API framework and coding standards") is generic; base 3 reduced by 1 because "guides you through" is second-person voice.

2 / 5

Completeness

The "what" is clear, but there is no "Use when…" clause or equivalent explicit trigger guidance, so completeness is capped at 3 per the rubric guideline.

3 / 5

Trigger Term Quality

Natural terms like "Moodle LMS", "external web service APIs", and "web service" map to what a user would say, though synonyms such as REST or Moodle plugin are absent.

4 / 5

Distinctiveness Conflict Risk

Moodle external web service APIs is a specific niche with minimal overlap risk against other skills, though closely related Moodle-development skills could share some triggers.

4 / 5

Total

13

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (601 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.