cocos-ui-node-retrofit
Classify and plan safe Cocos UI node retrofits such as text changes, SpriteFrame swaps, or converting a label-only control into an image-backed button with…
Skill by FunplayAI
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/funplayai-cocos-ui-node-retrofit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cocos-ui-node-retrofit
What's inside
- Skill name
cocos-ui-node-retrofit- Description
- Classify and plan safe Cocos UI node retrofits such as text changes, SpriteFrame swaps, or converting a label-only control into an image-backed button with overlay text.
- License
- MIT
- Instructions
- 38 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- classify-retrofit.mjs · scripts/
SKILL.md (first lines)
# Cocos UI Node Retrofit Use this skill for targeted edits to existing Cocos UI nodes, especially when replacing text-only controls with image-backed controls, adding overlay text/icons, or fixing a clickable node so the real target owns Sprite, Button feedback, hit size, and handler proof. ## Classify First Run the classifier or classify manually: ```bash node <path-to-this-skill>/scripts/classify-retrofit.mjs --intent "<requested change>" --component cc.Label --source-asset assets/ui/button.png ``` Classifications: - `property-edit`: change an existing component property, such as `cc.Label.string`. - `resource-swap`: keep structure and replace an existing `cc.Sprite.spriteFrame`. - `structure-retrofit`: change component mix or add children, such as converting label-only text into Sprite body plus Label overlay. ## Preferred Shape For an image-backed actionable control: - target node - `cc.UITransform` - `cc.Sprite` - `cc.Button` when actionable - child overlay node - `cc.Label` or `cc.Sprite` ## Guardrails - Query the selected target before mutation; do not guess node structure. - Keep the actual selected node as the authority. Do not create a duplicate runtime-only button to satisfy the request. - Do not hand-edit `.prefab` or `.scene` JSON. - Do not guess SpriteFrame UUIDs or patch `.meta` files. - If Cocos authoring tools cannot prove the mutation, report the structured blocker instead of weakening the proof.
From FunplayAI/funplay-skill, MIT.
More from FunplayAI/funplay-skill
- 0.545score
commercial-unity-game
FunplayAI
Use this when designing, building, or auditing a commercial-grade Unity mobile/F2P game beyond prototype scope, including architecture, save data, data-driven…
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
canvas-page-popup-removal
FunplayAI
Check blockers and safely remove existing Cocos page or popup canvas nodes without silently deleting prefab, script, or runtime assets.
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
workbench-asset-replace
FunplayAI
Plan safe replacement of an existing Cocos or Studio visual with a Workbench image, preserving source asset identity, canvas bounds, static versus runtime…
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
game-ui-asset-brief
FunplayAI
Build a compact game UI asset brief with generation prompts, asset roles, cutout requirements, and validation checks for backgrounds, buttons, panels, icons…
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
minigame-subpackage-rules
FunplayAI
Validate and explain Cocos WeChat/Douyin minigame subpackage rules, keeping project-owned rule authority in profiles/v2/packages/project.json rather than…
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
playable-game-build-flow
FunplayAI
Build a small playable browser-game vertical slice through intent capture, a pillar contract, scoped implementation, and a P0 self-check.
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
game-concept-brief
FunplayAI
Turn an early game idea or creative inspiration into a compact GDD-lite concept brief with creative north star, MDA framing, MVP scope, and first-playable…
SkillCFreshness: C★ 10Claude Code +9 - 0.538score
canvas-page-popup-bootstrap
FunplayAI
Safely create or inspect new Cocos page, popup, or HUD canvas entries with canonical entry paths, parent and flow wiring, and authored-source guardrails.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
unity-mcp-workflow
FunplayAI
Use Funplay Unity MCP to edit, import, compile, inspect, and test Unity projects safely.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
using-funplay-skills
FunplayAI
Learn how to discover, choose, and apply FunPlay Skill workflows in an agent session.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
sprite-sheet
FunplayAI
Slice a sprite sheet into single-frame PNG files.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
audio-format-convert
FunplayAI
Convert audio files between WAV, OGG, and MP3 with ffmpeg.
SkillCFreshness: C★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Jun 2, 2026 (4 months ago)
- Last release
- May 22, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/FunplayAI/funplay-skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from FunplayAI
- 0.801score
Funplay Cocos MCP
FunplayAI
stdio bridge for the local Cocos Creator Editor MCP server from FunplayAI/funplay-cocos-mcp.
ConnectorAFreshness: ALocal★ 356Claude Code +5 - 0.726score
Funplay Unity MCP
FunplayAI
stdio bridge for the local Unity Editor MCP server from FunplayAI/funplay-unity-mcp.
ConnectorAFreshness: ALocal★ 267Claude Code +5 - 0.669score
Funplay Godot MCP
FunplayAI
stdio bridge for the local Godot Editor MCP server from FunplayAI/funplay-godot-mcp.
ConnectorAFreshness: ALocal★ 45Claude Code +5 - 0.550score
Funplay Unreal MCP
FunplayAI
stdio bridge for the local Unreal Editor MCP server from FunplayAI/funplay-unreal-mcp.
ConnectorCFreshness: CLocal★ 7Claude Code +5 - 0.545score
commercial-unity-game
FunplayAI
Use this when designing, building, or auditing a commercial-grade Unity mobile/F2P game beyond prototype scope, including architecture, save data, data-driven…
SkillCFreshness: C★ 10Claude Code +9 - 0.542score
canvas-page-popup-removal
FunplayAI
Check blockers and safely remove existing Cocos page or popup canvas nodes without silently deleting prefab, script, or runtime assets.
SkillCFreshness: C★ 10Claude Code +9
Cite this page
cocos-ui-node-retrofit skill. Agent Mart. https://agentmart.dev/skills/funplayai-cocos-ui-node-retrofit (last updated 2026-10-24)