Skip to content
Development
Skill

/runner-new

Scaffold a new endless-runner game folder from a control template (ski|moto|ski-side|wing|loop). Trigger `/runner-new <slug> --template <id>`.

From plugin
agentic-awesome-kits
932 skills
Install
$ npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill runner-new --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/runner-new

Context preview

The summary Claude sees to decide when to auto-load this skill.

Scaffold a new endless-runner game folder from a control template (ski|moto|ski-side|wing|loop). Trigger `/runner-new <slug> --template <id>`.

SKILL.md

runner-new.SKILL.md
name: runner-new
description: Scaffold a new endless-runner game folder from a control template (ski|moto|ski-side|wing|loop). Trigger `/runner-new <slug> --template <id>`.
user-invocable: true
argument-hint: "<slug> --template <id> [--title \"NAME\"]"

/runner-new — Scaffold a game

Goal

Create `games/{slug}/index.html` + `game.js` from the closest demo/template, with unique storage keys and themed CSS variables.

Input examples

/runner-new skate --template wing --title "SKATE RUSH"
/runner-new toboggan --template ski
/runner-new night-lane --template moto --title "NIGHT LANE"

Process

1. Resolve `--template` (required). Unknown → list ids and stop. 2. Slugify name; refuse if `games/{slug}/` already exists unless user confirms overwrite (L2). 3. **L1 plan** — list files (`@../../rules/approval-gate.md`). 4. Copy structure from:

  • Live engine demos: `demos/runner-kit-3d/games/{template}/` when present in repo, **or**
  • Kit `_templates/` stubs + fill from `@../../../references/control-patterns.md`

5. Replace title, CSS `--accent` / `--bg`, storage keys (`{slugcompact}-scores`, `-best`, `-name`). 6. Ensure `game.js` imports from `../../kit/index.js` (or correct relative path). 7. Report next steps: `npm run dev`, open `/games/{slug}/`, optional hub card.

Output

games/{slug}/
  index.html
  game.js

Mandatory rules

  • Unique leaderboard keys
  • No mid-game mesh allocation patterns
  • Keep `window.__game` for debug if template had it
  • Fonts: Be Vietnam Pro + Outfit (Vietnamese-safe)

References

  • @../../rules/runner-conventions.md
  • @../../rules/naming-conventions.md
  • @../../rules/approval-gate.md
  • @../../../_templates/
  • @../../../references/control-patterns.md
Read more
Ships withagentic-awesome-kits

Reusable AI Skill Kits for coding agents (Claude Code and any other subagent/slash-command-compatible tool).

Get the whole plugin
Stats
9
Stars
3
Forks
Maintained
Maintenance
Python
Language
1mo ago
Last commit
2mo ago
Created

Repo: KhaiTrang1995/agentic-awesome-kits

Other skills on agentic-awesome-kits.