improving-game-quality
Skill378 starsChanged 4 months agoApache-2.0View on GitHub
Ensures games created have a good quality user experience and follow best practices. Use when creating or modifying a game.
In this repository59 other files it gives its agents.
- codelabs/ai-toolkit-lab-2/hackathon-judge/frontend/.agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- codelabs/ai-toolkit-lab-2/hackathon-judge/frontend/.agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- batch-executing-test-suitesSkill
- circuit-breaker-reporterSkill
- generating-mock-imagesSkill
- making-forms-demoSkill
- multi-step-workflow-reporterSkill
- go-project-setupSkill
- latest-software-versionSkill
- video-descriptionSkill
- adk-memory-bank-initializerSkill
- agent-containerizerSkill
- cloud-run-agent-architectSkill
- gcp-agent-eval-engine-runnerSkill
- gcp-agent-eval-metric-configuratorSkill
- gcp-agent-golden-dataset-builderSkill
- gcp-agent-model-armor-shieldSkill
- gcp-agent-safety-gatekeeperSkill
- gcp-agent-sdp-template-factorySkill
- gcp-agent-shadow-deployerSkill
- gcp-agent-tool-trajectory-evaluatorSkill
- gcp-production-secret-handlerSkill
- mcp-connector-generatorSkill
- go-architectSkill
- go-backend-devSkill
- go-reviewerSkill
- go-test-expertSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- brand-guidelinesSkill
- knowledge_catalog_governanceSkill
- banana-breadSkill
- cheese-breadSkill
- drawingsSkill
- paintingsSkill
- photographySkill
- adding-easter-eggSkill
- building-platformer-gamesSkill
- creating-a-gameSkill
- ensuring-arcade-visualsSkill
- handling-user-inputSkill
- helping-the-userSkill
- messaging-game-overSkill
- playing-the-gameSkill
- adversarial-verificationSkill
- auditing-api-contractsSkill
- auditing-business-logicSkill
- auditing-data-modelsSkill
- auditing-paritySkill
- auditing-ui-archeologySkill
- generating-api-testsSkill
- generating-database-seederSkill
- orchestrating-greenfield-migrationSkill
- scaffolding-api-routesSkill
- scaffolding-data-layerSkill
- scaffolding-nextjs-foundationSkill
- scaffolding-test-foundationSkill
- scaffolding-ui-and-pagesSkill
- ping_pong_pairingSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Follow these steps when creating or modifying a game:
- Distinctive: line 11
Ensure the UI (text, score, lives, etc) is always rendered with a margin within the view port of the game screen – not flush to the edges.
- Distinctive: line 14
Ensure the game loop is always running and that the game is always in a state where it can be played.
- Distinctive: line 15
Ensure the game loop always contains a reachable "lose" condition.
- Distinctive: line 18
Ensure the game always has some kind of background particle that makes sense for the game world (e.g.
- Distinctive: line 21
Ensure the game always has some kind of screen shake when things happen (e.g.
- Distinctive: line 25
Use smaller particles for less significant events (e.g.
- Distinctive: line 26
Use larger particles for more significant events (e.g.
- Distinctive: line 33
If useful to explain the game's objective, the objective may be improved to include the new behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Game Quality
Follow these steps when creating or modifying a game:
- UI placement: Ensure the UI (text, score, lives, etc) is always rendered with a margin within the view port of the game screen – not flush to the edges.
- Game loop:
- Ensure the game loop is always running and that the game is always in a state where it can be played.
- Ensure the game loop always contains a reachable "lose" condition.
- Background visuals: Ensure the game always has some kind of background particle that makes sense for the game world (e.g. stars in space, rain in a city, wind in a forest, etc.)
- Game feel: Ensure the game always has some kind of screen shake when things happen (e.g. explosions, collisions, etc.)
- Apply particle effects:
- Whenever enemies are destroyed, explosions should occur. Use the particle emitter to spawn particles at the location of the explosion. Limit the number of particles to 5-10.
- Use smaller particles for less significant events (e.g. bullet hitting a wall, or character landing on the ground in a platformer).
- Use larger particles for more significant events (e.g. enemies being destroyed, or character dying).
- Update Game config.json:
The game's config.json, found in the game's root folder (e.g.
<game-folder>/config.json) contains acontrolssection that defines the labels for buttonsA,B,X, andY. These arew the only 4 buttons allowed in the config.
When the game is created or modified, this config.json file should be updated to reflect the correct labels for each button. For example, if a code edit adds business logic so that the B enables the player to jump, set the label to "Jump". Labels must be short and limited to one word, or two words at most and MUST be an action (e.g. "Jump", "Run", "Fire", "Crawl", "Climb", etc.). There is limited space where the label will render in the UI so it must remain short.
If useful to explain the game's objective, the objective may be improved to include the new behavior.
Example:
{
"title": "Space Pilot",
"objective": "Navigate your spaceship while evading obstacles. Destroy them for points.",
"controls": {
"A": "Shoot",
"B": "Evade",
"X": "Roll Ship",
"Y": ""
}
}Verification
- Game has UI layer with score and lives
- Game has a valid game loop
- Game has background particles (e.g. stars, rain, etc.)
- Game has a screen shake effect
- Game emits particles for effects (e.g. collisions, explosions, etc.)
- Updated config.json if necessary
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

