mcpField
D
defold-skill-maintain

defold-skill-maintain

github.com/indiesoftbyAgent workflows10446 installsUpdated 27w ago
Repository

About defold-skill-maintain

A maintenance skill for Defold skills that fetch documentation or examples. It provides procedures to refresh their link tables from official indexes and manage proto-file references.

Key features

  1. 01Refresh documentation link tables
  2. 02Use official API and manual indexes
  3. 03Keep example links synchronized
  4. 04Manage proto-file references
  5. 05Fetch stable SDK proto schemas

Use cases

  1. 01Updating Defold API skill links
  2. 02Refreshing manual and example indexes
  3. 03Maintaining proto references
  4. 04Downloading missing proto schemas

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/indiesoftby/defold-agent-config --skill defold-skill-maintain

After installing, type/defold-skill-maintainin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/proto/
particle_ddf.proto
rig_ddf.proto
assets/proto/ddf/
ddf_extensions.proto
ddf_math.proto
assets/proto/engine/
engine_ddf.proto
assets/proto/gameobject/
gameobject_ddf.proto
lua_ddf.proto
properties_ddf.proto
assets/proto/gamesys/
atlas_ddf.proto
buffer_ddf.proto
camera_ddf.proto
gamesys_ddf.proto
gui_ddf.proto
label_ddf.proto
mesh_ddf.proto
model_ddf.proto
physics_ddf.proto
sound_ddf.proto
sprite_ddf.proto
texture_set_ddf.proto
tile_ddf.proto
assets/proto/graphics/
graphics_ddf.proto
assets/proto/render/
font_ddf.proto
material_ddf.proto
render_ddf.proto
assets/proto/resource/
liveupdate_ddf.proto
resource_ddf.proto
assets/proto/script/
ddf_script.proto
lua_source_ddf.proto
sys_ddf.proto

Details

From the project README

Defold Skill Maintenance

Handles maintenance tasks for other Defold skills: updating link indexes and managing proto file references.

Read guide first about the best practices for Agent Skills: references/The-Complete-Guide-to-Building-Skill-for-Claude.md.

Capability 1: Updating link lists in fetch skills

The defold-api-fetch, defold-docs-fetch, and defold-examples-fetch skills contain hardcoded link tables. These tables should be kept in sync with the official Defold index files.

Index sources
  • API index: https://defold.com/llms/apis.md — links to per-namespace API Markdown files
  • Manuals index: https://defold.com/llms/manuals.md — links to per-manual Markdown files
  • Examples index: https://defold.com/llms/examples.md — links to per-example Markdown files
Procedure: update link lists
  1. Fetch the relevant index page(s) by downloading the URL content.
  2. Parse the Markdown content. Each index page contains links in the form [Title](url) grouped by sections.
  3. Compare parsed links against the current SKILL.md of the target skill.
  4. Update the SKILL.md link tables to match the index, preserving the table structure and the ## Usage footer section.
Target skill files
  • .agents/skills/defold-api-fetch/SKILL.md — updated from apis.md
  • .agents/skills/defold-docs-fetch/SKILL.md — updated from manuals.md
  • .agents/skills/defold-examples-fetch/SKILL.md — updated from examples.md
Rules
  • Keep the YAML frontmatter (--- block) unchanged.
  • Keep the intro line Fetch documentation from the links below (the URLs point to plain Markdown files). unchanged.
  • Keep the ## Usage section at the bottom unchanged.
  • Replace the link tables between frontmatter and Usage section with the parsed content from the index.
  • Preserve section grouping and table formatting style that already exists in each skill.

Capability 2: Managing proto file references

For detailed instructions on creating, updating, and maintaining proto file references for the defold-proto-file-editing skill, see references/proto-reference-guide.md.

Scripts

  • scripts/fetch_proto.py — downloads proto schemas from the stable Defold SDK into .agents/skills/defold-skill-maintain/assets/proto/. Run when proto schemas are missing or need updating: python .agents/skills/defold-skill-maintain/scripts/fetch_proto.py

Comments

Markdown supported