godothub/godot-minigame / skills
godot-wechat-minigame-adapter
UnverifiedApply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout. Use when the user wants to port official Godot to WeChat Mini Game, refresh a nearby 4.6-based port, or inspect the shipped patch/source bundle for WXMEMFS, `wx.request`, audio cleanup, display/input, WXGLX dual-path rendering, `.wasm.br`, and `wx.exitMiniProgram`. This skill is version-locked to the bundled upstream base and must not be described as a generic “Godot 4.x” patch dump.
patches/fixes/4.7-webgl-context/README.md
View on GitHub# Godot 4.7 WebGL Context Correction
This incremental patch targets the adapted `citizenll/godot` 4.7 engine at
`a71c910992`, used by template `minigame4.7.0.7.tpz`. It is included in
`minigame4.7.0.8.tpz`. Do not add it to the version-locked 4.6 bundle or
apply it to unmodified upstream Godot.
Engine fix: [df3cdd9bc9](https://github.com/citizenll/godot/commit/df3cdd9bc9).
GLX builds disable `OFFSCREEN_FRAMEBUFFER`. Requesting explicit swaps when
such a build starts in standard WebGL mode makes Emscripten reject context
creation, even when WebGL 2 is supported. Keep implicit swaps for both runtime
modes in GLX builds; preserve explicit swaps for standard-only builds.
The existing WeChat frame wrapper must still flush and commit after
Emscripten returns `INVALID_TARGET` on the implicit standard path.
From the adapted engine root, replace `<patch>` with this directory's
`001-context-swap-control.patch` path:
```sh
git apply --check <patch>
git apply <patch>
node platform/web/js/tests/test_wechat_webgl_context_attributes.js
node platform/web/js/tests/test_godot_process_commit_frame.js
node platform/web/js/tests/test_wechat_glx_runtime.js
```
Rebuild and post-process using the [GLX adaptation guide](../../../references/wxglx-adaptation.md).
The context test covers GLX builds in both runtime modes and standard-only
builds. The frame test covers presentation even when Emscripten returns an
error code. Validate startup and scene rendering on target devices; the
4.7.0.8 template was also verified on macOS by the reporter.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |