improve-game

opusgamelabs/game-creator · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/opusgamelabs/game-creator --skill improve-game
0 commentsdiscussion
summary

Make your game better. This command deep-audits gameplay, visuals, code quality, performance, and player experience, then implements the highest-impact improvements. Run it as many times as you want — each pass finds the next most impactful thing to fix.

skill.md

Performance Notes

  • Take your time to do this thoroughly
  • Quality is more important than speed
  • Do not skip validation steps

Improve Game

Make your game better. This command deep-audits gameplay, visuals, code quality, performance, and player experience, then implements the highest-impact improvements. Run it as many times as you want — each pass finds the next most impactful thing to fix.

Instructions

Improve the game in the current directory. If $ARGUMENTS specifies a focus area (e.g., "gameplay", "visuals", "performance", "polish", "game-over"), weight that area higher but still audit everything.

Step 1: Deep audit

Read the entire game codebase to build a complete picture:

  • package.json — engine, dependencies, scripts
  • src/core/Constants.js — all configuration values
  • src/core/EventBus.js — all events and their usage
  • src/core/GameState.js — state shape and reset logic
  • src/core/Game.js (or GameConfig.js) — orchestrator and game loop
  • Every file in src/scenes/ or src/systems/ — gameplay logic
  • Every file in src/entities/ — game objects
  • Every file in src/ui/ — game over, overlays
  • Every file in src/audio/ — music and sound effects
  • index.html — markup, overlays, styles, viewport meta
  • src/systems/InputSystem.js — input handling, mobile support (gyro, joystick, touch)
  • tests/ — test coverage and quality

Don't skim. Read every file completely so you understand the full picture before making recommendations.

Step 2: Score and diagnose

Rate each area on a 1–5 scale (1 = broken/missing, 3 = functional but basic, 5 = polished and complete). Present a diagnostic table:

Area Score Diagnosis
Gameplay feel Is the core loop fun? Are controls responsive? Does difficulty ramp?
Visual polish Backgrounds, colors, particles, animations, screen effects
Game Over & UI Game over screen, transitions, restart flow, buttons
Audio BGM for each state, SFX for each action, volume balance, mute toggle
Code architecture EventBus, GameState, Constants, no circular deps
Restart safety Does GameState.reset() fully clean up? 3 restarts identical? No stale listeners/timers?
Performance Delta capping, object pooling, disposal, no leaks
Player experience Onboarding, feedback, difficulty curve, replayability
Mobile support Touch input, responsive layout, gyro/joystick, 44px touch targets
Play.fun safe zone All UI elements below SAFE_ZONE.TOP (~8% / 75px)? Nothing hidden behind Play.fun widget?
Gameplay invariants Can the player score? Can the player die? Do game-over buttons show text? Does render_game_to_text() return valid JSON?
Entity sizing Are characters large enough to read? Character-driven games need 12–15% of GAME.WIDTH. Proportional sizing (GAME.WIDTH * ratio), not fixed pixels?
Test coverage Boot, gameplay, scoring, restart, visual, perf tests

Overall score: X / 65

Step 3: Improvement plan

From the audit, identify the top 5–8 improvements ranked by player impact. For each one:

  1. Title — short name (e.g., "Add difficulty progression")
  2. Area — which category it improves
  3. Impact — why this matters to the player
  4. What to do — plain-English description of the change
  5. Files touched — which files will be created or modified

Format as a numbered list. Put the highest-impact items first.

Present the plan to the user and ask which improvements to implement. Options:

  • "All" — implement everything
  • Specific numbers — implement selected items
  • "Top 3" — just the most impactful

Wait for the user to choose before implementing.

Step 4: Implement

For each selected improvement, follow these rules:

  1. Constants first — add all new config values to Constants.js. Zero hardcoded values.
  2. Events next — add any new events to EventBus.js using domain:action naming.
  3. State if needed — add new state fields to GameState.js with proper reset.
  4. New files in proper directories — entities in entities/, systems in systems/, UI in ui/.
  5. Wire through orchestrator — register new systems in Game.js with proper lifecycle.
  6. EventBus for communication — modules never import each other directly.
  7. Match existing code style — same patterns, naming, formatting as the rest of the project.
  8. Don't break what works — existing gameplay, controls, and scoring must still function identically unless the improvement specifically targets them.

After implementing each improvement, run npm run build to catch errors immediately. Fix any build errors before moving to the next improvement.

Step 5: Verify

After all improvements are implemented:

  1. Run npm run build — confirm clean build with no errors
  2. Run npm test if tests exist — confirm all tests still pass
  3. If tests fail because of intentional changes (new scenes, changed elements), fix the tests to match the new behavior
  4. If the game has visual regression tests, update snapshots: npm run test:update-snapshots

Step 6: Report

Tell the user what changed:

Improvement report

Score: X/65 → Y/65 (+Z points)

Implemented:

  1. [Title] — [one-sentence summary of what changed]
  2. [Title] — [one-sentence summary of what changed] ...

Files created: [list new files] Files modified: [list changed files]

How to test: Run npm run dev and try:

  • [specific thing to look for]
  • [specific thing to look for]

Next improvements: Run /game-creator:improve-game again to find the next batch.

Focus areas

When $ARGUMENTS includes a focus area keyword, weight these specific checks:

"gameplay" — core loop, controls, difficulty progression, enemy variety, power-ups, risk/reward, pacing, level design

"visuals" — load the game-designer skill and apply its full design audit (backgrounds, palette, animations, particles, transitions, typography, juice)

"performance" — delta capping, object pooling, geometry/material disposal, event listener cleanup, requestAnimationFrame usage, draw call count, texture atlas usage

"polish" — screen shake, hit pause, squash/stretch, easing curves, sound timing, button feedback, score popups, death animations, transition smoothness

"game-over" — game over screen appeal, restart flow, button styling, score display, best score display, animations. Button text must be visible — verify the createButton() pattern uses Container + Graphics + Text (Graphics first, Text second, Container interactive). If button labels are invisible, the pattern is broken. Note: games do not have title/menu screens by default (Play.fun handles the chrome). Only add a title screen if the user explicitly requests one. Score HUD is handled by the Play.fun widget — do not add a separate in-game score display. All game-over UI must be below SAFE_ZONE.TOP.

"audio" — load the game-audio skill. Check BGM coverage (every game state should have music), SFX coverage (every player action should have feedback), volume mixing, transition smoothness between tracks

"mobile" — touch input implemented (tap zones, virtual joystick, or gyroscope), responsive canvas (Phaser.Scale.FIT or CSS width:100%), 44px minimum touch targets, virtual joystick or tap zones for movement, gyroscope support for tilt games, no hover-only interactions, tested on mobile viewport (Pixel 5 emulation). Read InputSystem.js, all scene/system update() methods, index.html viewport meta, and Constants.js for touch target sizes.

"ux" — onboarding (does the player know what to do?), feedback (does every action have a response?), difficulty curve (is it too hard/easy?), replayability (is there a reason to play again?)

Example Usage

General improvement

/improve-game

Result: Deep audit → scores 38/65 → identifies top 6 improvements (difficulty progression, screen shake, better game-over, particle effects, mobile touch, restart safety) → asks which to implement → implements selected → score rises to 52/65.

Focused improvement

/improve-game gameplay

Result: Weights gameplay checks higher → finds enemy variety is low and difficulty is flat → adds 3 enemy types with distinct behaviors, progressive speed ramp, and score-based difficulty tiers.

Troubleshooting

Improvements break existing gameplay

Cause: Changes to shared systems (physics, scoring) have cascading effects. Fix: Test each improvement individually. Run existing tests after each change. Revert if a change breaks core gameplay.

Too many changes at once

Cause: Audit identified 10+ issues and all were implemented simultaneously. Fix: Prioritize top 3-5 improvements. Ship incrementally. Verify after each change.

Tips

This command is designed for iterative improvement. Run it multiple times:

  • First pass: fix the biggest gaps (missing features, broken UX)
  • Second pass: add polish (particles, transitions, juice)
  • Third pass: fine-tune (difficulty curve, timing, balance)

Each run picks up where the last left off — previously fixed areas will score higher, surfacing new priorities.

For targeted work, use the focus area: /game-creator:improve-game gameplay or /game-creator:improve-game visuals

how to use improve-game

How to use improve-game on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add improve-game
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/opusgamelabs/game-creator --skill improve-game

The skills CLI fetches improve-game from GitHub repository opusgamelabs/game-creator and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/improve-game

Reload or restart Cursor to activate improve-game. Access the skill through slash commands (e.g., /improve-game) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.638 reviews
  • Chaitanya Patil· Dec 16, 2024

    improve-game has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Anika Thompson· Dec 12, 2024

    Useful defaults in improve-game — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Isabella Ndlovu· Dec 8, 2024

    We added improve-game from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Omar Farah· Nov 27, 2024

    Useful defaults in improve-game — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Piyush G· Nov 7, 2024

    Solid pick for teams standardizing on skills: improve-game is focused, and the summary matches what you get after install.

  • Anaya Jackson· Nov 3, 2024

    We added improve-game from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Shikha Mishra· Oct 26, 2024

    We added improve-game from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Anika Patel· Oct 22, 2024

    Solid pick for teams standardizing on skills: improve-game is focused, and the summary matches what you get after install.

  • Chinedu Verma· Oct 18, 2024

    improve-game has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Rahul Santra· Sep 9, 2024

    improve-game reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 38

1 / 4