Canvas Performance Optimization
Use when an isometric Canvas game drops frames, to cut draw calls and allocations and hold a steady 60fps.
Install
npx skills add 0xheycat/isometric-game-skills --skill canvas-performance-optimizationgit clone --depth 1 https://github.com/0xheycat/isometric-game-skills.git /tmp/isometric-game-skills
mkdir -p ~/.claude/skills
cp -r /tmp/isometric-game-skills/skills/canvas-performance-optimization ~/.claude/skills/canvas-performance-optimizationPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Canvas Performance Optimization ## Overview Isometric games die by a thousand draw calls. This skill profiles the frame, culls off-screen tiles, batches from the atlas, and removes per-frame allocations to hit a stable 60fps. ## When to Use - Frame rate drops or stutters. - Large maps lag when panning. - You suspect GC pauses or overdraw. ## Process 1. Profile first - measure where the frame time actually goes. 2. Cull: only draw tiles/objects inside the viewport. 3. Batch draws from one atlas to minimize texture binds. 4. Cache static layers (ground) to an offscreen canvas; redraw only when it changes. 5. Eliminate per-frame allocations (reuse arrays/objects). 6. Avoid sub-pixel blits; snap to integer pixels. 7. Re-profile to confirm the fix, do not assume. ```text Profile -> Cull -> Batch -> Cache static layer -> Kill allocations -> Re-profile ``` ## Rationalizations (Stop Lying to Yourself) | Excuse | Reality | |---|---| | "I know what is slow without profiling" | Guessing wastes hours on the wrong thing. Profile first. | | "Redrawing the ground every frame is fine" | Static ground should be cached. Redraw only on change. | ## Red Flags - STOP if you catch yourself: - Optimizing before profiling. - Redrawing static layers every frame. - Allocating inside the render loop. ## Verification You are NOT done until every box is checked: - [ ] Frame time was profiled before and after. - [ ] Off-screen content is culled and static layers cached.
Details
- Skill name
canvas-performance-optimization- Repository
- 0xheycat/isometric-game-skills
- Path
skills/canvas-performance-optimization/SKILL.md- License
- MIT
- Repo updated
- 12 August 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Canvas Performance Optimization skill do?
Use when an isometric Canvas game drops frames, to cut draw calls and allocations and hold a steady 60fps.
How do I install the Canvas Performance Optimization skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add 0xheycat/isometric-game-skills --skill canvas-performance-optimization. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Canvas Performance Optimization popular?
It lives in 0xheycat/isometric-game-skills, which has 49 GitHub stars and 6 forks, and is included in 1 curated skill list.
Related skills
Animated Sprite Generation
490xheycat/isometric-game-skills
Use when creating looping animated isometric sprites (water, fire, windmills, flags) as frame strips that play back smoothly in-engine.
Asset Pipeline Automation
490xheycat/isometric-game-skills
Use when automating the path from generated sprites to a shipped atlas + map so re-generating art does not mean hours of manual rework.
Autotiling Transitions
490xheycat/isometric-game-skills
Use when making different terrain types (grass, water, sand) blend with automatic edge and corner transition tiles instead of hard seams.
Canvas2d Isometric Renderer
490xheycat/isometric-game-skills
Use when building a Canvas 2D renderer that draws an isometric tilemap and sprites efficiently with correct ordering.
Appsnap
65Yrzhe/claude-skills
Capture a Mac app window as agent context. Use when the user asks to snap, inspect, read, capture, summarize, or work from the current Mac window, a visible app, a selected window, or an app screenshot. Strongly prefer for Appshot-like requests, "what is on this window", "use this app as context", and "grab the window text". SKIP for remote websites/files that can be fetched directly, for controlling the UI, clicking, typing, automating actions, or extracting hidden Google Docs/Sheets/Slides/Gmail canvas text beyond what macOS Accessibility exposes.
Chef
65Yrzhe/claude-skills
Expert cooking assistant for Chinese and Western cuisine. Provides step-by-step recipes grounded in real data from scraped websites (xiachufang, allrecipes, BBC Good Food, etc.), free APIs (TheMealDB, Open Food Facts), and Kaggle datasets (Food.com, Epicurious). Use when user asks to cook a specific dish, wants suggestions based on ingredients they have, asks about technique/substitution/pairing, or wants nutrition info. Recipes are cached as Markdown files in data/recipes/ with YAML frontmatter — never re-fetch what's already there.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.