GizletAccount
All posts

The Gizlet skill: a guide for AI agents

For AI coding agents: what the Gizlet skill is, which repositories hold what, and how to interview the user, confirm a goal, then develop a game or app and publish it to the Gizlet Store.

Guides #skill#agents#developers

This page is written for AI coding agents. If a user sent you here, follow it to develop a game or app for them and publish it to the Gizlet Store. If you are a person, read Your first Gizlet in one sentence instead: it shows how to hand this page to your AI buddy.

What the Gizlet skill is

The Gizlet skill is a set of guides, templates and scripts that teach a coding agent how to make things for Gizlet. It holds three skills.

  • gizlet-dev creates, designs, builds, packages and publishes an original game or app, prepares its Store listing and art, and checks and upgrades an existing project. This is the one you need here. Its entry point is skills/gizlet-dev/SKILL.md.
  • gizlet-flash identifies a TF card and installs or updates Gizlet OS from the command line.
  • gizlet-desktop installs the Gizlet Launcher on macOS or Windows.

If you cannot read this page, read https://github.com/gizlet/skill directly. It has the same material.

The repositories

Gizlet is spread over several repositories. Open the one a question belongs to instead of guessing.

  • gizlet/skill: the skills above, with the guides, the project check skills/gizlet-dev/scripts/check-project.py and the Store CI template.
  • gizlet/gizlet: the Store and its API at gizlet.io. docs/gizlet-toml.md specifies gizlet.toml and the package manifest.
  • gizlet/os: Gizlet OS and its Launcher. The runtime guide says what an app can rely on.
  • gizlet/overeaten: a 3D game in Rust and raylib. Read it for 2D, input, build and release.
  • li3g/little-prince: a 3D game in Rust and raylib. Read it for 3D and quality settings.
  • gizlet/flutter_gizlet: the Flutter runner for controller-first apps.
  • gizlet/live: a Flutter app. Read it for focus navigation, gamepad input, media playback, CI and release.
  • gizlet/tailscale: a background service with its own settings program.

Instructions for the agent

The user wants a game or app developed and published to the Gizlet Store, and may not have said yet what it should be. Work through the steps in order, and report only what you actually checked. Do not create a repository, write code or publish anything until the user has confirmed the goal in step 3.

1. Get the skill

  • Read https://github.com/gizlet/skill. Resolve the default-branch commit and read the guides, templates and scripts from that same commit. Match the user's language.
  • Do not ask the user to install anything: read the skill from GitHub. If you cannot read GitHub, tell the user.

2. Ask the user what to build

  • Open your first reply with questions, and do not wait for the user to describe an idea. Start from what they already said and ask only questions whose answers change the project, up to three at a time: what they want to make, who it is for, what feeling they want, how long a session lasts. If they say "you decide", choose a coherent direction and state your assumptions. The skill's references/decision-tree.md and references/design.md guide this.
  • For an underspecified request, offer two or three concepts with different core decisions and recommend one. Build original characters, art and levels.
  • Unless told otherwise, the target is the R36S handheld: a 640×480 screen, the D-pad, A and B. Follow GIZLET_SWAP_AB for confirm and back, GIZLET_LANG for text and GIZLET_SAVE_DIR for saves, and give desktop keyboard equivalents.

3. Write the goal and get it confirmed

  • Write the goal as one short message the user can read in a minute: what you will build, for whom and when, the first slice and what is left out, the target device and stack, how you will check the result (on the desktop, in CI and in the Store, and what needs a real handheld), where it will be published, and every assumption you made for the user.
  • Ask the user to review it and wait. Only a clear approval counts. If they ask for changes, revise the goal and show it again.
  • Once they confirm, work to the goal without asking again. If a new fact would change it, tell the user what changed and get a new confirmation before going on. Keep the confirmed goal in the project's README.md or AGENTS.md.

4. Set up and build the project

  • Reuse the user's checkout if it already holds this Gizlet. Otherwise create a dedicated local Git repository on main, outside any unrelated checkout. Its first commit is a runnable skeleton with README.md, AGENTS.md, gizlet.toml and the licence the user chooses. See references/project-setup.md.
  • Choose the stack from the evidence in references/development.md. Rust and raylib suit 2D and lightweight 3D games, with Overeaten and The Little Prince as examples. Flutter with flutter_gizlet suits controller-first apps, with Live as the example. A background service also needs its own settings program, as Tailscale shows.
  • Give the project ./scripts/dev.sh run, build, test and package. package writes the .gzl files to dist/. Ship Windows and macOS packages alongside the Gizlet OS package unless the app cannot run there.
  • Take gizlet.toml and the runtime guide linked above as the source of truth for formats and limits.

5. Complete the Store listing

  • description: one or two sentences, at most 500 characters, leading with the experience. Add the Simplified Chinese descriptions (and names if the name is translated), plus other languages the UI supports.
  • Art: a full-bleed icon of at least 512×512, a 16:9 cover of at least 1280×720, three to eight real screenshots at 640×480 or 1280×960 in one UI language, and a color as #RRGGBB.
  • controls that match the real bindings, with Simplified Chinese actions, and about pages in English and Simplified Chinese.
  • Look at every image yourself. Run skills/gizlet-dev/scripts/check-project.py and fix every error before releasing. The details are in references/store-listing.md.

6. Publish

  • Check GitHub access early, while local work continues. Ask the user for the owner, name and visibility, then create the GitHub repository. If an account or sign-in is needed, guide the user through the browser.
  • Releases reach the Store from GitHub Actions, which publishes with its own identity. Use the skill's Store CI template and follow references/release.md.
  • Verify the exact release in the Store, then give the user its install link.

7. Report honestly

Say what you verified on the desktop, in CI and in the Store, and which checks still need a real handheld: the physical buttons, how readable the screen is, the sound, and saves. Do not claim a device test you did not run.