screeps-world-ai
Screeps World AI
Work within the bot's design
Establish the server, shard, runtime, deployment target, and requested outcome. Inspect the project's architecture, persistent state, build process, diagnostics, and tests before choosing an implementation. Adapt the guidance to role-based bots, task systems, schedulers, compiled code, and other architectures; do not introduce a particular framework just to follow this skill.
For a new bot, establish a working tick loop and a recoverable local economy before adding dependent systems. For an existing bot, trace the affected behaviour through its actual decision and execution paths. Reviews report findings without changing the colony unless changes are requested. Offline development can finish with local evidence and clearly stated live checks still outstanding.
Derive thresholds, force sizes, body designs, and economic policy from the actual environment and requested strategy. Keep room names, player relationships, shard choices, and manual orders in configuration or operation data. General behaviour should follow capabilities and state. Respect intentional manual controls and existing deployment authorization.
Consult the official API and the target server's engine or mods when mechanics are uncertain. For strategy research, inspect public bot implementations and observed player behaviour; distinguish an observed technique from an inferred policy or an untested idea. Account for differences in CPU, maturity, geography, and opponents before adopting it.
Read only the references relevant to the work: