t1k:cocos:base:gamedev-adapter
| Field | Value |
|---|---|
| Module | base |
| Version | 4.51.9 |
| Effort | low |
| Tools | — |
Keywords: cocos adapter manifest, cocos engine adapter, engine slots for gamedev skills, gamedev adapter, gamedev-adapter.json
How to invoke
Section titled “How to invoke”/t1k:cocos:base:gamedev-adapter[capability]Cocos adapter for theonekit-gamedev (primary slice)
Section titled “Cocos adapter for theonekit-gamedev (primary slice)”The neutral process skills in theonekit-gamedev never name an engine. Their Step 0 asks one question,
bun .claude/scripts/gamedev-adapter.cjs resolve --capability <cap> --engine cocosand this skill is the answer: gamedev-adapter.json next to this file (schema t1k-gamedev-adapter/1, id cocos,
slice primary). It is data. Nothing here runs by itself and the resolver never executes a command it prints.
Contract and field meanings: theonekit-gamedev t1k-gamedev-base-engine-adapter-contract.
What it declares
Section titled “What it declares”| Capability | Status | Answers for | Where the facts live |
|---|---|---|---|
test | supported | t1k-gamedev-testing-red-proof | Vitest from the Cocos project root, .tests/ colocated; t1k-cocos-base-clean-architecture |
arch | partial | architecture checks | feature-module layout only; a playable-ad project uses t1k-cocos-base-engine-decouple |
debug | partial | t1k-gamedev-testing-debug-loop | editor-doctor.cjs preflight, known-lies table, diagnostic chains in t1k-cocos-base-debugger |
x-knowledge | supported | t1k-gamedev-reuse-loop | t1k-cocos-base-knowledge-sweep |
x-assets | supported | t1k-gamedev-assets-import-pipeline | t1k-cocos-base-asset-import |
x-mapping | supported | t1k-gamedev-architecture-system-mapping | conventions skills and Cocos grep traps |
x-dupcensus | unsupported | t1k-gamedev-reuse-duplicate-census | no census command in this kit; the reason is in the manifest |
The page runtime (runtime.page), perf and build belong to the playable module and ship as the extension slice
in t1k-cocos-playable-gamedev-adapter; a base-only install answers them as not declared (exit 6 from the resolver).
Rules for editing the manifest
Section titled “Rules for editing the manifest”- A capability appears in one slice only; this file and the playable slice never repeat a key.
- Flip a capability to
supportedonly with a real command that has no placeholder token;partialandunsupportedcarry areason. Never fake support to make a neutral skill run. - Every
skillit names must exist in this kit. Check withbun .claude/scripts/adapter-conformance.cjs <kit root>(theonekit-gamedevbase);tests/gamedev-adapter-manifest.test.cjsin this skill pins the same file facts locally. - Commands use the consumer layout (
.claude/skills/<skill>/...), because the neutral skills run in consumer projects.