By Citronetic
Turn a prompt into a playable Phaser web game. Installs the swipi 6-phase workflow, archetype-aware skills, slash commands, and a debug subagent.
Classify a game idea into one of the five swipi archetypes using physics-first logic. Returns the archetype JSON without scaffolding anything.
Generate a playable Phaser web game end-to-end from a prompt using the swipi 6-phase workflow.
Scaffold an empty swipi project for a given archetype (core template + module code + docs). Does not classify or generate a GDD.
Run the swipi debug protocol on the current project — pre-build consistency checks plus the verify→diagnose→repair loop.
Reference for generating game assets (sprites, backgrounds, tilemaps, audio) and wiring them into asset-pack.json. Invoked by the swipi-workflow skill during Phase 3, or any time the user asks Claude to add, replace, or debug game assets.
Pick the correct swipi game archetype (platformer, top_down, grid_logic, tower_defense, ui_heavy) from a user prompt using physics-first logic. Invoke from the swipi-workflow skill during Phase 1, or any time you need to decide which template module a game belongs to.
Pre-build consistency checklist and verify→diagnose→repair loop for swipi games. Invoke during Phase 6 of the swipi-workflow, or any time a build/test/dev command fails, or whenever the user reports that a generated game does not run.
Universal 6-section Game Design Document schema used by every swipi archetype. Invoke during Phase 2 of the swipi-workflow before writing GAME_DESIGN.md, or any time the user asks for the structure of a swipi GDD.
Design rules, template API, and implementation guide for grid_logic-archetype games (discrete grid + turn-based or step-based motion — Sokoban, Fire Emblem, Match-3, Pikachu-grid puzzles). Invoke during Phase 2 for GDD drafting and Phase 5 as the reading-list index.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Turn a one-line prompt into a playable Phaser web game. An agentic framework on top of Claude that handles the full pipeline: classify the game → scaffold a project → write a Game Design Document → generate assets → wire config → implement code → verify it builds and runs.
Three ways to use it. Pick whichever fits your workflow.
Install once from inside Claude Code:
/plugin marketplace add Citronetic/swipi-engine
/plugin install swipi-engine@swipi-engine
Then, in an empty directory, drive game generation with slash commands:
| Command | What it does |
|---|---|
/swipi-engine:swipi-new "<game idea>" | End-to-end: classify → scaffold → GDD → assets → config → code → verify. Drops a playable Phaser project into the current directory. |
/swipi-engine:swipi-classify "<game idea>" | Just returns the archetype (platformer, top_down, grid_logic, tower_defense, ui_heavy) and physics profile. No filesystem changes. |
/swipi-engine:swipi-scaffold <archetype> | Copy the template for a specific archetype into the current directory. No GDD, no asset generation. |
/swipi-engine:swipi-verify [--dev] | Run the pre-build consistency checks and the verify→diagnose→repair loop. Launches npm run dev if --dev is passed. |
Example:
/swipi-engine:swipi-new "Build a Snake clone with WASD controls and a dark theme"
When it finishes:
npm install
npm run dev # opens at http://localhost:5173
The plugin also exposes a proactive swipi-debugger subagent that Claude delegates to automatically when a build or runtime error shows up during a session.
Full plugin reference: packages/plugin-claude-code/README.md.
@swipi/core)Call the game-generation engine directly from your own code — no Claude Code, no agent runtime required.
npm install @swipi/core @anthropic-ai/sdk
import path from 'node:path';
import { AnthropicLLMClient, runClassifyScaffoldGDD } from '@swipi/core';
const result = await runClassifyScaffoldGDD(
"Build a Snake clone with WASD controls and a dark theme",
{
llm: new AnthropicLLMClient({ apiKey: process.env.ANTHROPIC_API_KEY }),
sharedDir: path.resolve('./swipi-shared'), // templates/ + docs/
workspaceDir: path.resolve('./games/my-snake'),
onPhaseStart: (p) => console.log(`[${p}] start`),
onPhaseComplete: (p) => console.log(`[${p}] done`),
},
);
console.log(result.classification.archetype); // "grid_logic"
console.log(result.gddPath); // "./games/my-snake/GAME_DESIGN.md"
Individual tools are also exposed directly for finer-grained control: classifyGame, generateGDD, generateAssets, generateTilemap, plus the Template Skill and Debug Skill evolution pipelines.
The library is provider-agnostic — ship a Claude adapter out of the box, but any LLMClient implementation works (OpenRouter, DashScope, local models via the included OpenAICompatClient, or your own).
Full library reference: packages/core/README.md.
@swipi/api)Expose the same engine over HTTP — useful for CI pipelines, web UIs, or integrating with other agent platforms.
git clone https://github.com/Citronetic/swipi-engine.git
cd swipi-engine
npm install
npm run build --workspaces
export ANTHROPIC_API_KEY=sk-ant-...
npm run start --workspace=@swipi/api
# swipi-api listening on http://0.0.0.0:3000
| Method | Path | Purpose |
|---|---|---|
GET | /healthz | Liveness probe. |
POST | /generate | Start a run. Body: { prompt, archetype? }. Returns 202 { runId, links }. |
GET | /runs/:id | Current run state (JSON). |
GET | /runs/:id/events | Server-Sent Events stream: phase-start → phase-complete → done. |
GET | /runs/:id/artifact.zip | Download the generated project as a zip. |
# Kick off a run
curl -s -X POST http://localhost:3000/generate \
-H 'Content-Type: application/json' \
-d '{"prompt":"A Snake clone with WASD controls and a dark theme"}'
# → { "runId": "...", "status": "queued", "links": { ... } }
# Tail progress (Ctrl-C after you see kind:"done")
curl -N http://localhost:3000/runs/<runId>/events
# Download the generated project
curl -o game.zip http://localhost:3000/runs/<runId>/artifact.zip
unzip game.zip -d game && cd game && npm install && npm run dev
Full API reference: packages/api/README.md.
npx claudepluginhub citronetic/swipi-engine --plugin swipi-engineHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Superpowers Plus core skills library for Claude Code: planning, execution routing, TDD, debugging, and collaboration workflows
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review