defold-project-build

Build Defold projects via the editor HTTP API and return structured results.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/zarkua/Defolancer --skill defold-project-build-zarkua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defold-project-build
Source: https://github.com/zarkua/Defolancer/tree/main/.agents/skills/defold-project-build
Command: npx skills add https://github.com/zarkua/Defolancer --skill defold-project-build-zarkua

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds and runs Defold projects by leveraging the running editor's HTTP API to compile and launch the game, streamlining the development workflow.

Core Features & Use Cases

  • Build and validate a Defold project by posting to the editor's /command/build endpoint.
  • Retrieve and report build results, including a list of issues with severity and resource references.
  • Automatically launch the game on a successful build and provide console outputs for runtime debugging.

Quick Start

Open the Defold editor with your project running and send a POST to the editor's /command/build endpoint to trigger the build.

Frequently Asked Questions about defold-project-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate building a Defold project via the editor API?

You can automate a Defold project build by sending a POST request to the editor's /command/build HTTP endpoint. This triggers the compilation process directly through the running Defold editor, streamlining your game development workflow.

What do I need to use the Defold editor API for automated builds?

To use the Defold editor API for automated builds, you need the Defold editor running with your project open. The automation reads the editor port from the .internal/editor.port file to locate the active HTTP API instance.

How does the Defold editor API report build errors during automation?

The Defold editor API reports build errors by returning a structured JSON response after the build attempt. This JSON contains a success field and an issues list detailing severity and resource references for any build errors encountered.

Can I automatically launch my Defold game after a successful API build?

Yes, you can automatically launch your Defold game after a successful API build. The automation workflow triggers the build via the HTTP API and automatically launches the game on success, providing console outputs for runtime debugging.

Why is my Defold project build automation unable to connect to the editor API?

Defold build automation fails to connect if the editor is not running or the project is not open. The automation specifically reads the editor port from the .internal/editor.port file, which is only generated when the editor is actively running your project.

Does the Defold editor API support validating game builds without launching?

Yes, the Defold editor API supports validating builds without launching by posting to the /command/build endpoint. You can retrieve the build results and review the structured JSON for issues and severities before deciding to launch the game.