All authors

Claude Skills by blit386
github.com/blit38647 skills0 installs53 views
- Deep ReviewComprehensive code review that combines automated checks, AI-powered analysis, and security auditing. Use this before pushing significant changes or creating pull requests.Votes: 0GitHub stars: 17
- Demos NewCreate a new demo in `packages/demos` following the project's slug, structure, and documentation rules.Votes: 0GitHub stars: 17
- Demos ShotsThe `/shots` page in `packages/demos` is both the capture engine (dev server only) and the gallery (every build, and live at next.demos.blit386.dev/shots). Captures are committed under `packages/demos/public/shots/`. The page source is `packages/demos/_shots/`: `shots.js` is the entry, `capture.js` the engine, `capture-mode.js` the dev-only wiring, and `review-mode.js` the review aids (diff, findings).Votes: 0GitHub stars: 17
- FormatFormat code files using the project's formatters and verify results.Votes: 0GitHub stars: 17
- Kit AuditNothing syncs `packages/kit` / `packages/create-blit386` from `packages/blit386` automatically. The kit docs and shipped skills are hand-authored beginner prose, so they drift silently when the engine changes.Votes: 0GitHub stars: 17
- PerfUse this skill when the task involves: - adding or extending `*.bench.ts` files in `packages/blit386` - benchmarking a new hot method or allocation pattern - working on the local baseline/compare workflow For visual correctness verification (not performance), use `/test blit386 visual` - see the Visual Regression Tests section in `packages/blit386/CLAUDE.md`.Votes: 0GitHub stars: 17
- PrCreate a pull request with automatic quality checks and a proper commit message.Votes: 0GitHub stars: 17
- PreflightRun comprehensive quality checks before committing or pushing code.Votes: 0GitHub stars: 17
- Release ReviewA release punch list is written once and read months later. Between those two moments the scope moves, features land without anyone ticking a box, issues get pushed to the next milestone, and stated counts go stale. This skill makes the ticket trustworthy again so `/release` can be run against it. Requires the Linear MCP tools (`get_issue`, `list_issues`, `save_issue`, `list_milestones`). Without them, stop and say so - there is no useful repo-only subset of this skill.Votes: 0GitHub stars: 17
- ReleaseOne release procedure, because BT-410 moved all three publishable packages to a single lockstep version: one tag series, one GitHub Release, no separate per-package flow to pick between.Votes: 0GitHub stars: 17
- ReviewReview the branch's changes against project rules and quality standards.Votes: 0GitHub stars: 17
- Security RunDeterministic security workflow for the monorepo. Use before comprehensive security scans, hardening passes, or when MCP scanner availability is uncertain.Votes: 0GitHub stars: 17
- SpellcheckRun the package's spellcheck, then fix all reported errors.Votes: 0GitHub stars: 17
- TestRun the package's test suite with various options.Votes: 0GitHub stars: 17
- Add Crt EffectStack fullscreen effects (CRT curvature, scanlines, bloom, glitch) on top of the finished frame. These run on WebGPU only.Votes: 0GitHub stars: 17
- Add SpriteLoad a PNG sprite sheet, put its colors into the palette, and draw pieces of it.Votes: 0GitHub stars: 17
- Add TextShow text with the built-in font (no setup), or load a custom bitmap font.Votes: 0GitHub stars: 17
- Animate The PaletteCreate motion and mood without redrawing anything by animating palette slots: cycling, fading, flashing, swapping.Votes: 0GitHub stars: 17
- Ask The DocsLook up BLIT386 detail the project's own files do not cover, using the live documentation at blit386.dev.Votes: 0GitHub stars: 17
- Design A SoundThe engine can build a sound out of nothing - no files, no recording. The six presets in `BT.synthPreset` are the quick way (see the `play-a-sound` skill). This skill is the slow way: describing a sound yourself, knob by knob, with `AudioClip.synth()`.Votes: 0GitHub stars: 17
- Draw A PanelDraw a bordered box of any size from one small piece of panel art. A nine-slice cuts the art into 4 corners, 4 edges, and a center: corners stay 1:1, edges and center stretch or tile to fill the box. For a plain filled box with no art, `BT.drawRectFill` is enough (draw-shapes skill).Votes: 0GitHub stars: 17
- Draw ShapesDraw rectangles, lines, and pixels, and clear the screen - all with palette slot numbers, all inside `render()`.Votes: 0GitHub stars: 17
- FixDiagnose and fix a BLIT386 game error using the local docs.Votes: 0GitHub stars: 17
- Keep It FastFind and fix slow frames: stop making new objects every frame, batch sprites by sheet, skip what is off screen, and stay inside the engine's per-frame drawing budget. Use when the game stutters, drops frames, feels slow, gets slower the longer it runs, when sprites mysteriously vanish, or when the user asks how to make the game run faster.Votes: 0GitHub stars: 17
- MigrateUpdate a game after a BLIT386 upgrade renamed parts of the API: let `blit migrate` make the safe renames, then handle the rest by hand.Votes: 0GitHub stars: 17
- Move And TimeUse the engine's frame clock to move things smoothly, repeat actions on a schedule, and ease motion.Votes: 0GitHub stars: 17
- Play A SoundThe engine has sound built in: short sound effects, looping music, and a synth that makes retro beeps out of thin air. No sound files needed to start.Votes: 0GitHub stars: 17
- Read GamepadRead face buttons, shoulders, sticks, and triggers from up to four controllers.Votes: 0GitHub stars: 17
- Read KeyboardRead keyboard keys and face buttons in update(). Use for keyboard movement, jumping, menus, typed text, or remapping keys, "press any key" screens (isAnyKeyPressed), including raw key codes like 'KeyW', the default key mapping (W, A, S, D for player 0, arrow keys for player 1), and making the arrow keys steer player 0 in a one-player game (keyboardLayout: 'single').Votes: 0GitHub stars: 17
- Read PointerMouse, touch, and pen share one "pointer" API with up to four slots. Slot 0 is the mouse or first touch.Votes: 0GitHub stars: 17
- RunStart the BLIT386 dev server and open the game in a browser.Votes: 0GitHub stars: 17
- Save A ScreenshotCapture the rendered frame as a PNG - download it, or get a Blob to use yourself.Votes: 0GitHub stars: 17
- Scroll With CameraMove a single global offset so a world larger than the screen scrolls, then keep it inside the world's edges.Votes: 0GitHub stars: 17
- Share The Game`{{pmRunDev}}` runs the game on your own computer while you make it. To let other people play, you make a "production build" - a folder of plain files - and upload that folder to a free hosting site. The game is just files, so there is no server or database to set up.Votes: 0GitHub stars: 17
- Show A Loading Screen`BT.loadingAssetsCount` is the combined count of in-flight image, audio and font loads. Poll it each frame and draw a spinner (or a "Loading..." label) until it returns to `0`. Font loads count from engine 1.9.0; on an older engine the count covers only images and audio, so upgrade `blit386` if a font must be part of the wait.Votes: 0GitHub stars: 17
- Show Debug OverlayThe engine draws a built-in overlay (FPS, backend, resolution, and your own rows). Turn parts on in `configure()` and feed it rows from your game.Votes: 0GitHub stars: 17
- Smooth The MotionYour game thinks at a fixed speed (60 times a second) but the screen may draw much faster than that - 120 or 144 times a second on a modern monitor. So some drawn frames land in between two thinking steps, and the engine has to guess where things are. `BT.renderAlpha` is that guess, and using it is what turns stepped, jerky motion into smooth motion.Votes: 0GitHub stars: 17
- Structure A GameBLIT386 draws pixels, reads input, and plays sound. It does NOT include physics, collision, enemies, or a scene system - you write that game logic yourself. This skill shows the shape to put it in.Votes: 0GitHub stars: 17
- Test The GameOpen the game, press keys, and read the game's numbers to check that it does what you expect. The game draws everything into one `<canvas>`, so a page snapshot or accessibility tree shows nothing useful: there are no buttons or text on the page to read. Read the game's state through JavaScript instead of guessing from pixels. There are two ways to do that, with the same results: a browser tool that can run JavaScript in the page and press keys (such as the browser pane in the Claude desktop a...Votes: 0GitHub stars: 17
- Use Dev Mode`BT.isDevMode` tells you whether the game is running as a development build or a release build, so you do not have to invent your own signal for it.Votes: 0GitHub stars: 17
- Use Hot ReloadEdit, save, keep playing. The `blit386/vite` plugin (engine 1.4.0+) injects hot reload into the starter so method edits and `public/` asset edits update the running game instead of wiping state with a full page reload.Votes: 0GitHub stars: 17
- Use NoiseNoise and coordinate hashing answer the question "what is at this spot in the world" without storing a map. Same coordinates and same seed always give the same answer, so a world can be enormous, generated on demand, and still identical every time the player walks back. This is the opposite tool to the `use-random` skill. `BT.random` is a getter for a shared generator - calling a method on it (`BT.random.int()`, ...) draws the _next_ value in a sequence. Noise and hashing are _stateless looku...Votes: 0GitHub stars: 17
- Use PaletteBLIT386 is palette-first: fill numbered color slots once, then draw with the slot numbers. Change a slot and everything drawn with it changes.Votes: 0GitHub stars: 17
- Use Random`BT.random` is the engine's random number generator. It does everything `Math.random()` does, plus the things games actually need - pick from a list, shuffle, weighted drops, a random direction - and it can be seeded so a run plays out identically every time. For terrain, caves, clouds, or procedural textures, use the `use-noise` skill instead. That is a different tool: `noise` answers "what is at this coordinate", `random` answers "give me the next value".Votes: 0GitHub stars: 17
- Blit386 DocsBLIT386 is a palette-first WebGPU pixel engine for TypeScript, inspired by RetroBlit. It defaults to WebGPU with an automatic Canvas 2D software fallback. All engine functionality is accessed through the static `BT` namespace.Votes: 0GitHub stars: 17
- Audit Fix`/audit` files the tickets; this skill lands them. The main thread is a manager: it never edits code. Each sub-ticket gets one fresh implementer subagent that reads `brief.md` (next to this file) and the ticket, works on its own branch, and merges its own PR. The manager sequences tickets, approves plans, checks every report against the transcript and Linear, and carries notes from one ticket to the next. The first run was the 2026-11-08 umbrella BT-751: 22 tickets, 22 ticket PRs plus one pos...Votes: 0GitHub stars: 17
- AuditA diff review (`/review`, `/deep-review`) looks at what changed. This skill looks at what is there: every non-test source and prose unit, against the repo's own rules, with the over-engineering pass on top. The output is Linear tickets, never edits - the fixes get their own sessions from each ticket's starting prompt. The first run was the 2026-11-08 audit, umbrella BT-751, 31 module tickets (BT-753 to BT-783). Its shape is the one below; read a couple of those tickets before writing new ones...Votes: 0GitHub stars: 17