Example Skill
This is a minimal but complete example of a Cursor skill for this project.
Instructions
When this skill is active, follow this workflow for any small, self-contained task:
- •
Clarify the goal
- •Restate the user's request in 1–2 sentences.
- •Identify the main file(s) or subsystem(s) likely to be involved.
- •
Plan briefly
- •Outline 2–5 bullet points describing the steps you will take.
- •Keep the plan high-level and focused on outcomes, not implementation details.
- •
Execute in small steps
- •Make one focused change at a time.
- •After each meaningful change, re-evaluate whether the original goal is closer to being met.
- •
Check for issues
- •Look for obvious compile or linter errors in the files you touched.
- •If you introduced an error and can see the fix, correct it before proceeding.
- •
Summarize succinctly
- •Provide a short summary (2–4 sentences) of what changed and why.
- •Avoid pasting large code blocks unless explicitly requested.
Examples
Example: Small code tweak
- •Clarify: "User wants the player movement speed slightly increased."
- •Plan:
- •Find the movement-related constants.
- •Adjust the speed value by a small percentage.
- •Re-check for side effects in the same function or module.
- •Execute:
- •Edit the constant or configuration value.
- •Check:
- •Ensure there are no compile-time issues in the modified file.
- •Summarize:
- •Explain which value changed and the intended gameplay impact.
Example: Simple bug fix
- •Clarify: "User reports that a particular enemy never spawns."
- •Plan:
- •Locate the enemy spawn logic.
- •Inspect conditions that allow or prevent spawning.
- •Adjust logic or data so the enemy can spawn as intended.
- •Execute:
- •Modify the condition, configuration, or spawn table entry.
- •Check:
- •Confirm there are no obvious logic errors in the edited code.
- •Summarize:
- •State the root cause you addressed and how the fix resolves it.