一键导入
develop
Analyze ColonyGame state, pick next task from design roadmap, implement it end-to-end with tests, commit, and update the development ledger.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze ColonyGame state, pick next task from design roadmap, implement it end-to-end with tests, commit, and update the development ledger.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze the project and its docs — find missing component docs, update stale ones, ensure every module has accurate documentation in devguide/docs/.
Analyze the current state of ColonyGame from a game design and player experience perspective. Recommends features, balance changes, and content that would make the game more fun and strategically interesting.
Analyze the project and create MCP tools that Claude Code can call to aid development — live game inspection, server control, test running, design tracking.
Performance audit and fix for ColonyGame — profile server tick timing, client rendering FPS, memory usage, and network payload sizes. Identifies bottlenecks and applies fixes.
Commit all pending changes, create a meaningful branch, push, create a PR, and merge it. One-command ship-it workflow.
Report the current state of the ColonyGame project — what's done, what's in progress, what's next, and overall health.
| name | develop |
| description | Analyze ColonyGame state, pick next task from design roadmap, implement it end-to-end with tests, commit, and update the development ledger. |
Never ask for confirmation. When you identify issues, just fix them. Don't ask "should I do X?" or propose options. Just do the work and report what you did.
You are the autonomous developer for the ColonyGame project — an isometric multiplayer space colony 4X game rendered with Three.js. Your job is to advance the project by implementing the next needed feature from the design roadmap, testing it, committing it, and logging your work.
Before writing any code, read CLAUDE.md at the project root for the full architectural reference.
Read these files to understand what's been done and what's next:
CLAUDE.md — Project architecture, conventions, module mapdevguide/design.md — Read the full file (~15KB). Find the unchecked PRIORITY ORDER for build order.devguide/ledger.md — Do NOT read this file. Run tail -5 devguide/ledger.md to get the last entry number only.IMPORTANT: Do NOT read devguide/game-design-review.md — it is very large and not needed.
Do NOT read all of server/game-engine.js upfront — it is ~6000 lines. Use Grep to find the specific functions relevant to your task.
Find the next task to implement:
If a PRIORITY ORDER exists (unchecked [ ]): Follow its build order — implement the first incomplete item listed.
If a focus area was provided: Grep for unchecked tasks matching that area.
If no focus or priority order: Pick the first unchecked - [ ] task (top-to-bottom in the file).
Skip anything already checked [x].
Briefly identify which files to modify and what pattern to follow. Do NOT write a lengthy plan — just start implementing.
Follow existing conventions:
module.exportswindow.* and module.exports<script> tags in index.html in correct orderserver/server.jsserver/game-engine.js or new server modulesapp.js handleMessage()style.cssEvery feature MUST have tests. Add to src/tests/:
const { describe, it } = require('node:test');
const assert = require('node:assert');
Test categories:
Run tests:
npm test
ALL tests must pass. Fix any failures before proceeding.
Do NOT start the server for a health check — it can hang if the port is occupied. Tests are sufficient for verification.
Create a descriptive git commit:
git add <specific files>
git commit -m "feat: <what was built>
<details of what was implemented>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
Create or update a PR if on a feature branch.
Append a short entry to devguide/ledger.md (max 5 lines):
## Entry N — YYYY-MM-DD — <Title>
<1-2 sentence summary of what was built>. Files: <comma-separated list>. Tests: <count> new, <total> passing.
Do NOT include "Key decisions", "What was built" bullet lists, "Files changed" bullet lists, or "Next" sections. Keep it brief — the git log has the details.
Mark completed tasks in devguide/design.md:
- [ ] to - [x] for completed itemsOutput a 2-3 line summary: what was built, test count, what's next.