> defold-api-fetch
Fetches Defold API documentation. Use when working with Defold engine APIs, looking up Lua/C++ functions, or needing API reference for game development.
curl "https://skillshub.wtf/indiesoftby/defold-agent-config/defold-api-fetch?format=md"Defold API Reference
Fetch documentation from the links below (the URLs point to plain Markdown files).
Lua APIs (Most Common)
Lua Standard Library
| Namespace | URL |
|---|---|
| base (Base) | https://defold.com/llms/apis/base-lua.md |
| coroutine (Coroutine) | https://defold.com/llms/apis/coroutine-lua.md |
| debug (Debug) | https://defold.com/llms/apis/debug-lua.md |
| io (Io) | https://defold.com/llms/apis/io-lua.md |
| math (Math) | https://defold.com/llms/apis/math-lua.md |
| os (Os) | https://defold.com/llms/apis/os-lua.md |
| package (Package) | https://defold.com/llms/apis/package-lua.md |
| string (String) | https://defold.com/llms/apis/string-lua.md |
| table (Table) | https://defold.com/llms/apis/table-lua.md |
| bit (BitOp) | https://defold.com/llms/apis/bit-lua.md |
| socket (LuaSocket) | https://defold.com/llms/apis/socket-lua.md |
| zlib (Zlib) | https://defold.com/llms/apis/zlib-lua.md |
Box2D Physics
| Namespace | URL |
|---|---|
| b2d | https://defold.com/llms/apis/b2d-lua.md |
| b2d.body | https://defold.com/llms/apis/b2d.body-lua.md |
Editor Scripting
| Namespace | URL |
|---|---|
| editor (Editor) | https://defold.com/llms/apis/editor-lua.md |
Extension APIs
Note: Extension APIs (
extension-*) require the corresponding extension to be added as a dependency ingame.project. To learn how to install and configure a specific extension, use thedefold-docs-fetchskill to look up its documentation page.
C++ Native Extension APIs
Usage
When you need API documentation:
- Identify the namespace (e.g.,
go,gui,vmath) - Fetch the corresponding URL (all URLs are plain Markdown — fetch and read the raw content)
- Example: fetch
https://defold.com/llms/apis/go-lua.md
> related_skills --same-repo
> xmath-usage
Provides xmath API reference and in-place math optimization patterns for Defold. Use when writing performance-critical math code, optimizing vector/quaternion/matrix operations, or when the user mentions xmath, zero-allocation math, or reducing Lua GC pressure.
> monarch-screen-setup
Organizes screens and popups in a Defold game using Monarch screen manager. Use when creating new screens, popups, or setting up navigation between them.
> defold-skill-maintain
Maintains Defold agent skills. Use when asked to update link lists in api-fetch/docs-fetch/examples-fetch skills, create or update proto file references, or fetch proto schemas.
> defold-shaders-editing
Creates and edits Defold shader files (.vp, .fp, .glsl). Use when asked to create, modify, or configure any Defold vertex shader, fragment shader, or GLSL include file.