Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentAvançado

Develop Web Game

poropenai·openai· v1.0.0 · atualizado em 2026-04-10
79
Score

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

web-game-developmentplaywrighttestingjavascripthtmlgame-developmentfrontend-testing
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mddevelop-web-game/workflow
1
Pick a goal. — Define a single feature or behavior to implement.
2
Implement small. — Make the smallest change that moves the game forward.
3
Ensure integration points. — Provide a single canvas and `window.render_game_to_text` so the test loop can read state.
4
Add `window.advanceTime(ms)`. — Strongly prefer a deterministic step hook so the Playwright script can advance frames reliably; without it, automated tests can be flaky.
5
Initialize progress.md. — If `progress.md` exists, read it first and confirm the original user prompt is recorded at the top (prefix with `Original prompt:`). Also note any TODOs and suggestions left by the previous agent. If missing, create it and write `Original prompt: <prompt>` at the top before appending updates.
6
Verify Playwright availability. — Ensure `playwright` is available (local dependency or global install). If unsure, check `npx` first.
7
Run the Playwright test script. — You must run `$WEB_GAME_CLIENT` after each meaningful change; do not invent a new client unless required.
8
Use the payload reference. — Base actions on `$WEB_GAME_ACTIONS` to avoid guessing keys.
9
Inspect state. — Capture screenshots and text state after each burst.
10
Inspect screenshots. — Open the latest screenshot, verify expected visuals, fix any issues, and rerun the script. Repeat until correct.
11
Verify controls and state (multi-step focus). — Exhaustively exercise all important interactions. For each, think through the full multi-step sequence it implies (cause → intermediate states → outcome) and verify the entire chain works end-to-end. Confirm `render_game_to_text` reflects the same state shown on screen. If anything is off, fix and rerun.
Examples of important interactions: move, jump, shoot/attack, interact/use, select/confirm/cancel in menus, pause/resume, restart, and any special abilities or puzzle actions defined by the request. Multi-step examples: shooting an enemy should reduce its health; when health reaches 0 it should disappear and update the score; collecting a key should unlock a door and allow level progression.
12
Check errors. — Review console errors and fix the first new issue before continuing.
13
Reset between scenarios. — Avoid cross-test state when validating distinct features.
14
Iterate with small deltas. — Change one variable at a time (frames, inputs, timing, positions), then repeat steps 7–13 until stable.
Example command (actions required):
```
node "$WEB_GAME_CLIENT" --url http://localhost:5173 --actions-file "$WEB_GAME_ACTIONS" --click-selector "#start-btn" --iterations 3 --pause-ms 250
```
Example actions (inline JSON):
```json
{
"steps": [
{ "buttons": ["left_mouse_button"], "frames": 2, "mouse_x": 120, "mouse_y": 80 },
{ "buttons": [], "frames": 6 },
{ "buttons": ["right"], "frames": 8 },
{ "buttons": ["space"], "frames": 4 }
]
}
```

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Similar aMarkdown to Docs
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
78
Similar aImage Optimizer
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
76
Similar aReact Component Generator
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
89
Similar a ←use_figma — Figma Plugin API Skill
40%
Hebbian Synapse
Composite0.400
w = 0.3·α + 0.5·β + 0.2·γ
82
Co-executedMarkdown to Docs
47%
Hebbian Synapse
Composite0.475
w = 0.3·α + 0.5·β + 0.2·γ
78
Co-executedImage Optimizer
49%
Hebbian Synapse
Composite0.488
w = 0.3·α + 0.5·β + 0.2·γ
76
Co-executedReact Component Generator
47%
Hebbian Synapse
Composite0.475
w = 0.3·α + 0.5·β + 0.2·γ
89

Árvore do Skill

Develop Web Game
develop-web-game
Fases Cognitivas5
1.SENSE
2.CONTEXTUALIZE
3.ACT
4.EVALUATE
5.REFLECT
Triggers7
develop a web gamebuild a web game with HTML and JavaScriptimplement a feature in a web gametest a web game using Playwrightiterate on a web gamedebug a web gameadd functionality to a web game

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança48%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download develop-web-game
$ synaptic skills detail develop-web-game
$ synaptic skills live develop-web-game

Dependências

playwrightnode

Links

GitHub Repository