use-template
Originally fromopusgamelabs/game-creator
Installation
SKILL.md
Use Template
Clone a game template from the gallery into a new project. This is a fast copy — working code in seconds, not an AI pipeline.
Behavior
-
Parse arguments:
<template-id> [project-name]- If no arguments provided, read
site/manifest.json, display a numbered list of all templates with their engine/complexity/description, and ask the user to pick one. template-idis required.project-namedefaults totemplate-id.
- If no arguments provided, read
-
Look up template in
site/manifest.jsonbyid. If not found, show available IDs and abort. -
Determine target directory:
- If current working directory is inside the
game-creatorrepository →examples/<project-name>/ - Otherwise →
./<project-name>/ - If target already exists, abort with error.
- If current working directory is inside the