About defold-api-fetch
defold-api-fetch is a reference skill for Defold developers and coding agents. It maps Lua, C++, Box2D, editor, and extension APIs to raw Markdown documentation URLs for lookup.
Key features
- 01API namespace-to-documentation URL index
- 02Lua and standard library references
- 03Box2D and editor API references
- 04Extension and C++ API references
- 05Instructions for fetching raw Markdown
Use cases
- 01Looking up a Defold Lua API during development
- 02Finding C++ native extension API documentation
- 03Checking an extension API after adding its dependency
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ indiesoftby/ defold-agent-config --skill defold-api-fetchAfter installing, type/defold-api-fetchin Claude Code to confirm it loaded.
Details
From the project READMEDefold 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
Comments
Markdown supported