hyperdot
AGENTS.md1 starsChanged yesterdayApache-2.0View on GitHub
This repository is a toolkit that lets AI coding agents build, test, export and plan Godot 4.7 games (GDScript or C#), for any genre. One PowerShell 7 script runs locally on Windows and, packed into a workflow, on GitHub Linux runners. - ci/godot/hyperdot.ps1 entry point: test build export setup detect doctor init plan bench shot status audio soak credits sfx playtest help deck telemetry calendar brief promo clip, all with -Json. - ci/godot/lib/*.ps1 one concern per file: Common, Setup, Detect,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository56 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- algorithmsSkill
- animationSkill
- anti-cheatSkill
- asset-pipelineSkill
- automation-hooksSkill
- calendarSkill
- cameraSkill
- console-certSkill
- debug-toolsSkill
- determinismSkill
- game-aiSkill
- game-audioSkill
- game-dataSkill
- game-designSkill
- game-juiceSkill
- game-planSkill
- game-playtestSkill
- gameSkill
- game-telemetrySkill
- godot-addonsSkill
- godot-diagnoseSkill
- godot-editor-bridgeSkill
- godot-export-releaseSkill
- godot-pitfallsSkill
- godot-shaders-vfxSkill
- godot-test-loopSkill
- inputSkill
- kit-reviewSkill
- kitSkill
- legalSkill
- llmSkill
- localizationSkill
- lookSkill
- mathSkill
- mobile-webSkill
- moddingSkill
- multiplayerSkill
- narrativeSkill
- new-gameSkill
- patternsSkill
- performanceSkill
- procgenSkill
- progressionSkill
- release-readinessSkill
- retroSkill
- savesSkill
- serversSkill
- steamSkill
- store-pageSkill
- typographySkill
- ui-accessibilitySkill
- ui-flowsSkill
- verify-before-doneSkill
- weekly-reviewSkill
- xrSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
Never Write-Output from helpers.
- Very specific: line 64
Verify with the examples: pwsh ci/godot/hyperdot.ps1 test -Project examples/csharp/game and -Project examples/gdscript must be green, and …
- Very specific: line 69
Run the self-test for what you change (table below.
- Distinctive: line 75
Commit as the repository owner.
- Distinctive: line 76
After a push or a merge, list the queued and in-progress workflow runs and cancel the ones a newer push has made redundant: older runs of …
- Distinctive: line 80
Do not rewrite pushed history.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md
This repository is a toolkit that lets AI coding agents build, test, export and plan Godot 4.7 games (GDScript or C#), for any genre. One PowerShell 7 script runs locally on Windows and, packed into a workflow, on GitHub Linux runners.
Layout
ci/godot/hyperdot.ps1entry point:test build export setup detect doctor init plan bench shot status audio soak credits sfx playtest help deck telemetry calendar brief promo clip, all with-Json.ci/godot/lib/*.ps1one concern per file: Common, Setup, Detect, Report, Runners, Doctor, Init, Plan, Measure, Status, Architecture, Juice, Audio, Assets, Localization, Soak, Data, TextSize, Layout, Credits, Store, Web, Platforms, Sfx, Playthrough, Version, Steam, Context, Addons, Playtest, Palette, BuildSize, Help, Deck, Placement, Telemetry, Workflow, WorkingTree, Calendar, Brief, Promo, Clip, Art.ci/godot/workflow.jsonthe rules behindstatus'ssuggestedCommandsand the table indocs/workflow.md(when to run which command).ci/godot/tools/validate.gd,flows.gd,bench.gd,shot.gd,textsize.gd,layout.gd,placement.gd,notices.gd,glyphs.gd(run inside Godot),web-smoke.mjs(Node.js and Playwright, forexport -Runof Web presets),Sfxr.cs(bfxr2's sound synth in C#, compiled bysfxwithAdd-Type; Apache-2.0 and MIT),Heatmap.cs(PNG heat maps forplaytest, compiled withAdd-Type),Palette.cs(PNG reader and CIEDE2000 palette check, compiled byshotwithAdd-Type),Test-Skills.ps1(skill validator),Initialize-HyperdotGame.ps1(sets the kit up for a game from local copies of the kit and Godot and makes a worktree for a parallel chat; docs/usage.md),Update-Changelog.ps1(assembles thechangelog.d/fragments intoCHANGELOG.mdat release),Update-Versions.ps1,Update-AddonStatus.ps1andInvoke-Canary.ps1(the weekly check against new releases, and of the add-ons inci/godot/addons-status.json, the known-status listdoctorreads), release/PR-comment tools.tests/self-tests, most with a deliberately broken fixture (tests/<name>-fixture); the table under "Self-tests" says what each covers and needs.ci/godot/templates/filesinit,plan,/gameand the architect copy into a game (plan.json,plan-jam.jsonforplan -Do init -Profile jam,AGENTS.md,GDD.md,GDD-jam.mdfor jams,ADR.md,ARCHITECTURE.md(kept by the architect),STYLE.md,TECH-DEBT.md,TRAILER.md,kit-notes.md,placement_check.gd, a test a game copies to check where levels place things, andxr_math.gdandxr_rig.gd, thexrskill's tested numbers and origin script),ci/godot/templates/addons/hyperdot_report_pins/(an editor add-on a game copies:bug_report.gdsaves a report with its scene, place and view, and the add-on pins each on its scene),ci/godot/templates/playtest-events.json(the playtest telemetry schemaplaytestreads and games copy),ci/godot/templates/licences/(SPDX textscreditsships for MIT, ISC, BSD, Apache-2.0, MPL-2.0, OFL-1.1 and Zlib), andgenres-uw.json(University of Washington, CC BY-NC-SA 4.0 with permission) andgenres.json(Wikidata, CC0), the genre vocabularies..agents/skills/*/SKILL.mdthe skills shipped to games (init -Agentsenables the plugin that loads them;-CopySkillscopies them for a host without plugins)..claude-plugin/,agents/,hooks/the Claude Code plugin: manifest and marketplace, thegodot-verifierandgodot-architectsubagents, the Stop hook.evals/claude plugin evalcases (with and without the plugin);docs/research.mdthe measurements behind them.benchmark/the token benchmark (Invoke-TokenBenchmark.ps1; programmestoken-benchmark.json, Hyperdot's own code, andgame-benchmark.json, work on a small game graded by its tests, with hidden tests inbenchmark/game/; the staged game programme ofPLAN.mdinGameProgramme.ps1, priced bycost-model.json; sessions as a separate user inIsolation.ps1; the private field test on an owner's game inFieldTest.ps1andfield-test.json); each real run costs money,-DryRundoes not.Get-HyperdotLabel.ps1andlabel-scale.jsonrate a version from its runs, like the EU energy label, one class per programme (docs/label.md). Nothing outsidebenchmark/,docs/token-benchmark.md,docs/label*and their tests may name a benchmark task or profile: the sessions must not be able to recognise the test..github/actions/godot,.github/workflows/godot.ymlcomposite action and reusable workflow;.github/workflows/self-test.ymland.github/scripts/Select-Jobs.ps1decide what runs for a change (docs/ci.md)..github/workflows/promo.ymlthe reusable weekly marketing brief (promo);init -Promowrites its caller into a game..github/workflows/release-pr.ymlkeeps the release pull request (release/next,.github/scripts/Update-ReleasePr.ps1) up to date after each green push to main; merging it is the release:.github/workflows/release.ymlthen tags the new changelog section and publishes it (also run by hand), with.github/scripts/Get-ChangelogSection.ps1for the notes (docs/ci.md).examples/csharp(C#, every framework) andexamples/gdscript(GUT): the integration fixtures.docs/per-topic documentation;docs/json.mdis the output contract;docs/help.mdis the text ofhelpand/kit(a new command, skill or subagent needs an entry there).site/the GitHub Pages site:Build-Site.ps1builds it fromREADME.md,CHANGELOG.mdanddocs/**/*.md(Markdig, as inConvertFrom-Markdown, with GitHub's extensions) into_site(ignored) withtemplate.html,site.cssandsite.js;.github/workflows/pages.ymlpublishes it (docs/site.md).
Working here
- PowerShell 7.6+, strict mode 3.0,
$ErrorActionPreference = 'Stop'. Wrap results that may be empty or single in@(...)and iterate withforeach; never index a pipeline result (PowerShell unrolls one-item arrays). Under strict mode.Counton a scalar or$nullthrows, and so does dot access to a missing key or property:@(...).Count,$h['k'],.ContainsKey(). - Short helper names collide with built-in aliases (
ris Invoke-History,rpis Remove-ItemProperty,his Get-History): use Verb-Noun names. In array literals,binds tighter than+:@(1, 2 + 3)is(1, 2) + 3, three items1, 2, 3; write@(1, (2 + 3))for1, 5. Overwrite a zip withCompress-Archive -Forceinstead of deleting wildcard paths. Windows machines have no Python: keep tooling in PowerShell or GDScript. - Never
Write-Outputfrom helpers; return values are the pipeline. Logs go throughWrite-CiLog/Write-Console(stderr in-Json): in a childpwshevery stream but Error reaches stdout, so a directWrite-Host, a warning or aConvertTo-Jsonwithout-Depth(it truncates at 2 and warns) breaks the JSON. Arrays go out as-InputObject @(...), dictionaries as[ordered]. - Fail with
Stop-GodotCi "message" 'stable-code'. Codes are API: add todocs/json.md, never rename. Never pass-ErrorAction SilentlyContinueto the kit's own functions or lower$ErrorActionPreference(athrowis skipped), and nevercontinueorbreakinForEach-Object/Where-Object/.ForEach(): it ends the script with exit code 0; usereturn. - A native program's non-zero exit code never throws: read
$LASTEXITCODEon the next line. Pass arguments as an array, quote variables ("$v": Linux globs them) and start child PowerShell aspwsh -NoProfile -NonInteractive -File. - Paths from data take
-LiteralPath(-Pathreads[ ]as a wildcard and finds nothing, silently); .NET file APIs get absolute paths. Machine-read numbers and dates use[cultureinfo]::InvariantCulture. Never read and write one file in one pipeline. The rest, with sources: docs/powershell.md; PSScriptAnalyzer andTest-PowerShellPatterns.ps1hold part. $script:JsonDocis the-Jsonresult; add fields withSet-JsonField. The-Jsonswitch and state must not share a name (PowerShell variables are case-insensitive).- Scripts run inside Godot (
-s tools/x.gd) cannot see the scene's_readyuntil the first frame:await process_frameafteradd_childbefore reading anything the scene sets up. bench,shotandaudio -Mixneed a display (andaudioneeds ffmpeg). Here, startXvfb :99 &and setDISPLAY=:99; do not usexvfb-run, which merges stderr into stdout and breaks-Json.- The
.gdignorefiles at the repository root and inci/godot/keep the kit out of a game it is placed inside (Godot neither imports nor exports it, andFind-ProjectFilesskips folders that have one). Do not remove them. - Verify with the examples:
pwsh ci/godot/hyperdot.ps1 test -Project examples/csharp/gameand-Project examples/gdscriptmust be green, anddoctormust report no problems on both (each example keeps one gamepad warning). The examples have no plan, soplanon them givesno-planas expected; checkplanthe way the Plan step of.github/workflows/self-test.ymldoes: copyexamples/gdscriptto a temporary folder,git initit, runplan -Do init -Project <copy>, thenplan -Json -Project <copy>(phaseconcept, at least one next action). Changing a version matrix entry means re-running both on that Godot. - Run the self-test for what you change (table below;
.github/workflows/self-test.ymlruns them all). For skills,pwsh ci/godot/tools/Test-Skills.ps1andpwsh tests/Test-SkillFixtures.ps1must pass. A skill description says only when to use it, never how. Commands, flags, error codes and versions quoted in a skill are checked against the real script,docs/json.mdandexamples/csharp. - Changelog: add a fragment,
changelog.d/<slug>.md, whose first line isAdded|Changed|Fixed|Removed|Deprecated|Security: <entry>, instead of editingCHANGELOG.md(every pull request would conflict on its top lines); the format is inchangelog.d/README.md. - Commit as the repository owner. Do not add AI attribution trailers to commits or PR descriptions.
- After a push or a merge, list the queued and in-progress workflow runs and cancel the ones a newer push has made redundant: older runs of the same branch or pull request, and push runs of main commits that a later merge supersedes. Keep the run of the newest head and the one that gates a pending merge. Redundant runs crowd the runners and delay the checks that matter; say what you cancelled.
- Do not rewrite pushed history.
- Code is written in the main conversation; a subagent is for volume or for independence, not for "it is code" (docs/research.md: many agents cost about 15 times the tokens and suit coding poorly). Delegate (1) watching CI and reading its logs, and any other read whose output is large and whose answer is short; (2) the review of a finished change, to an agent that has not seen the reasoning behind it; (3) issues that do not touch the same files, each in its own worktree and branch. The brief says what is already ruled out; the answer comes back as a verdict with its evidence, not as the log.
- Blocked access (a site, tool, credential or permission out of reach) is never a reason to drop a good idea: ask the
owner for help, do what does not depend on it, and write down what could not be done and why in
docs/roadmap.md.
Self-tests
Each runs as pwsh tests/<script>; docs/self-tests.md says what each covers and needs (add a row for a new one),
and .github/workflows/self-test.yml runs them all. Run the ones for what you change. After adding a command, error code, lib file, tool,
skill, subagent or workflow job, run tests/Get-CoverageMap.ps1: it writes docs/coverage.md, and Test-CoverageMap.ps1 fails on a missing or stale row.
Targets
Godot 4.7.2 mono, .NET 8, PowerShell 7.6+. gdUnit4.api 5.0.0, gdUnit4.test.adapter 3.0.0, Chickensoft.GoDotTest 2.0.49, GUT v9.7.1, coverlet.collector 10.1.0.
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.

