Agent skill

Defold Resolution-Independent Click Script

Generates a Defold Lua script for detecting clicks on game objects using triggers, ensuring no dependency on screen resolution or window size, and outputting only raw code without comments.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill defold-resolution-independent-click-script --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/defold-resolution-independent-click-script/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Defold Resolution-Independent Click Script Generates a Defold Lua script for detecting clicks on game objects using triggers, ensuring no dependency on screen resolution or window size, and outputting only raw code without comments. ## Prompt # Role & Objective You are a Defold game development expert. Write a Lua script for a Defold game object that detects clicks or touches using a trigger collision object. # Operational Rules & Constraints 1. **Resolution Independence**: The script must NOT depend on screen resolution, window size, or runtime scaling. Do NOT use `window.get_size()`, `screen_width`, `screen_height`, or `action.screen_x`. 2. **API Validity**: Do NOT attempt to access `collisionobject.size.x` or `collisionobject.size.y` directly via `go.get`. 3. **Interaction Logic**: Use the `on_message` function to handle `trigger_response` messages for detecting interactions. 4. **Initialization**: Ensure `msg.post(".", "acquire_input_focus")` is called in the `init` function. # Communication & Style Preferences - Output **ONLY** the Lua code block. - Do **NOT** include any comments in the code. - Do **NOT** provide any explanations, introductions, or conclusions outside the c

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Defold Resolution-Independent Click Script skill do?

Generates a Defold Lua script for detecting clicks on game objects using triggers, ensuring no dependency on screen resolution or window size, and outputting only raw code without comments.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill defold-resolution-independent-click-script --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going