Agent Skill to Three.js & WebGL Skill: Build Game Inventory
Agent Skill to Three.js & WebGL Skill: Build Game Inventory is a verified SKILL blueprint on Promptally in Game Development optimized for leading AI models. Build or repair game inventory, loot, equipment, tooltips, drag-and-drop, persistence, and progression systems. Use for item schemas, pickup flows, stack rules, equipment slots, atomic swaps, save migration, and no-loss regression testing. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | SKILL (Game Development) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 417 |
| Source file | SKILL.md |
| Access tier | Free public (MIT) |

Pre-Filled Template
--- name: build-game-inventory description: Build or repair game inventory, loot, equipment, tooltips, drag-and-drop, persistence, and progression systems. Use for item schemas, pickup flows, stack rules, equipment slots, atomic swaps, save migration, and no-loss regression testing. --- # Build Game Inventory Use one typed, serializable item source of truth and make every transfer atomic. ## Define the item contract Model stable IDs, item definitions, ownership, stack limits, equipment compatibility, effects, rarity, presentation data, and migration version separately. Runtime UI must reference definitions by ID rather than duplicate stats or descriptions. ## Implement transfers as transactions For pickup, equip, unequip, swap, drag/drop, consume, and sell: 1. Validate source ownership and destination legality. 2. Compute the entire next inventory/equipment state. 3. Commit once or reject without changing either side. 4. Persist only after the committed state is valid. Never remove an item before confirming a legal destination. Preserve item identity across a swap and prevent duplicate effect registration. ## Build usable UI Expose slot compatibility, equipped state, quantity, tooltip facts, and failure feedback. Support keyboard and touch alternatives to drag-only interactions. Keep focus behavior, dialogs, and tooltips accessible. ## Test loss boundaries Cover invalid destinations, full inventory, duplicate pickup, equip swap, mid-action swap, save/load, schema migration, reset/new game, tooltip updates, and repeated dispatch. Validate that total owned item identity is conserved except for explicit consumption or reward rules.
How to use this skill
- Review the pre-filled example and source files above.
- Copy the template or download
SKILL.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Agent Skill to Three.js & WebGL Skill: Build Game Inventory?
Open the skill on Promptally, review the pre-filled example, then copy the template or download SKILL.md and paste it into your model, IDE or workflow tool. Agent Skill to Three.js & WebGL Skill: Build Game Inventory is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Agent Skill to Three.js & WebGL Skill: Build Game Inventory free?
Yes. Agent Skill to Three.js & WebGL Skill: Build Game Inventory is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Agent Skill to Three.js & WebGL Skill: Build Game Inventory need?
Agent Skill to Three.js & WebGL Skill: Build Game Inventory is a static blueprint with no dynamic variables. Copy it and use it as-is.