Review a change to a carnival game for the house rules in AGENTS.md that keep every game on the shared midway base, its registry, its score board and its theme. Use as one lens in a code review run on src/games.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Review changes under src/games/ for whether each game still plugs into the carnival's shared base instead of working around it. AGENTS.md at the repository root states the rules; read its "House rules" section before the diff.
src/games/<game-id>/game.ts does not have its CarnivalGame as the default export, or is reached any other way than src/games/index.ts finding it there.recordScore(<game>.id, score) call from src/carnival, a call that can run again for the same round (per hit, per frame, on every redraw of the game over screen), an id written as a string that can drift from the game's id, or a game that reads or writes browser storage itself or keeps its own best score or high score table.rgb(), rgba(), hsl(), hsla(), hwb() or color()), a font written as a string, or a font size or canvas size that restates a value theme already has, where theme and canvasFont from src/carnival/theme.ts should be used.Start from each changed game's game.ts and follow its start function: where it draws, where a round ends, and what it does at the end of a round. For scores, trace every path that ends a round, including restarting from the game over screen, and count the recordScore calls each one can make. For colours and fonts, read every value passed to the canvas context (fillStyle, strokeStyle, font, shadowColor, gradient stops) back to where it comes from.
Report a change that breaks one of these three rules in a game's code.
Do not report:
id that does not match its folder or is not kebab-case: src/games/index.test.ts and createRegistry already fail on those.bestScore or topScores from src/carnival to show a score; only keeping a separate copy is a breach.theme.canvas.game.test.ts or other tests, which do not draw.start, the game README, one game per change), and anything outside src/games/. Other lenses and reviewers cover those.recordScore call and where the round ends, the theme.colors entry or canvasFont(...) size to use, the default export. When the theme has no colour close enough, say that adding one to src/carnival/theme.ts is its own change.Cornebidouille/tessl-carnival
38d7205
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.