defold-project-setup

Download Defold project dependencies into .deps/ from game.project.

93|9|Updated Feb 17, 2018
One-click install
npx skills add https://github.com/selimanac/defold-daabbcc --skill defold-project-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defold-project-setup
Source: https://github.com/selimanac/defold-daabbcc/tree/main/.agents/skills/defold-project-setup
Command: npx skills add https://github.com/selimanac/defold-daabbcc --skill defold-project-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Downloads Defold project dependencies into the .deps/ folder and suggests baseline game.project settings to get developers started quickly.

Core Features & Use Cases

  • Automatically resolve and fetch declared dependencies from game.project, extract only the required include_dirs into .deps, and fetch engine builtins to ensure a consistent read-only context for module resolution.
  • Validate and normalize dependency setup for new projects or after updates to dependencies, ensuring .deps exists before tasks run.
  • Use case: When starting a new Defold project, run this skill to populate .deps with the necessary libraries and builtins.

Quick Start

Run the Defold project setup script from the project root to fetch dependencies and apply recommended game.project settings.

Frequently Asked Questions about defold-project-setup

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

FAQPage Schema
How do I automate downloading Defold dependencies into the .deps folder?

To automate downloading Defold dependencies, run the setup script from your project root to fetch declared libraries from game.project and extract required include_dirs directly into .deps. This ensures your environment is ready for module resolution.

Why is my Defold project missing required libraries in the .deps folder?

If your .deps folder is missing or outdated, running a dependency setup script fetches the required zips and extracts only the declared include_dirs. This refreshes the context and ensures builtins are present for consistent module resolution.

What's the best way to set up a new Defold project with multiple dependencies?

The best way to set up a new Defold project is to run an automated dependency fetcher that reads game.project, downloads each declared zip, and organizes builtins and include_dirs into .deps. This provides a ready-to-use context without manual downloads.

Does the Defold dependency setup process fetch engine builtins alongside declared libraries?

Yes, the Defold dependency setup process fetches engine builtins alongside your declared libraries. This ensures a consistent read-only context for module resolution and validates that .deps exists before any project tasks run.

How do I update include_dirs in Defold when modifying game.project dependencies?

To update include_dirs after modifying game.project dependencies, run the setup script to validate and normalize the setup. It downloads the updated dependency zips and extracts only the newly declared include_dirs into the .deps folder.

When should I refresh the .deps folder in my Defold game project?

You should refresh the .deps folder when creating a new Defold project, updating game.project dependencies, or if .deps is missing. Running the setup script re-downloads dependencies and builtins to maintain a consistent environment.