Skip to content
Back to skills

Kickoff

ASecurity

Phase 0 kickoff for the Screeps Rust/WASM bot. Asks the clarifying questions, verifies the toolchain, builds the server feature probe and drafts ADR-001..008. Run once at project start, or again when target servers change.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentstypescriptrustgoexpressdockertestingapi

Works with

  • api

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add jabbott-iii/rustedscreep --skill kickoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kickoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kickoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jabbott-iii-kickoff/badge)](https://www.skillsdirectory.com/skills/jabbott-iii-kickoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kickoff
description: Phase 0 kickoff for the Screeps Rust/WASM bot. Asks the clarifying questions, verifies the toolchain, builds the server feature probe and drafts ADR-001..008. Run once at project start, or again when target servers change.
disable-model-invocation: true
---

# /kickoff: Phase 0 (no bot code yet)

Goal: settle every target, toolchain, and server fact that P1 (the build pipeline and loader phase) depends on, before any
scaffolding exists. Read `docs/SPEC.md` §0, §1, §7, and `docs/ROADMAP.md` P0 (this kickoff phase) first.

## 1. Ask the clarifying questions (SPEC §7)
Use AskUserQuestion with two calls of at most four questions each. Every question must make sense without
the others. Offer "I'll type it" where a free answer fits. Questions:
- Call 1:
  - Target servers (multi-select): official MMO (the persistent world), Seasonal (the server for time-limited seasons), private
    server, PTR (public test realm).
  - CPU situation: subscribed/unlocked on the MMO, free tier, private server with a custom limit, or other.
    Do not state CPU numbers. They are verified in step 2.
  - Starting point: fresh respawn, existing colony (ask for the global control level, or GCL, and the room controller level, or
    RCL, of each room), or private-server only for now.
  - Late-game scope: pixels (a resource generated from saved CPU) and market, market only, pixels only, or neither for now.
- Call 2:
  - Ally/whitelist players (free text). Note that these players are never attacked.
  - Siege-breaker (a unit that dismantles enemy structures) launch frequency: off by default, conservative, moderate, or
    aggressive. Explain that this only sets the initial cooldown config and that telemetry will tune it.
  - Private server: already running (screeps-launcher or other), set one up with Docker, or none.
  - Toolchain policy: stable only (pinned), or nightly allowed if the server needs MVP-only wasm (WebAssembly limited to its
    original minimum viable product, or MVP, feature set).

Write the answers to `docs/PROJECT_CONTEXT.md`. Unanswered items go under "Assumptions", each with the safest default.

## 2. Verify tooling and platform facts
Run `screeps-verifier` subagents **in parallel**, one per group: `tooling`, `cpu-memory`, and `pipeline`. Use the group definitions in
`../verify/groups.md`. In addition:
- Re-check every row in the VERIFICATION_LOG section "Seeded findings" and supersede each one with a fresh row.
- Find the current versions of `screeps-game-api` (and its features `mmo`, `sim`, and so on), `wasm-bindgen`, wasm-pack and where it is
  now maintained, binaryen/`wasm-opt` and its lowering passes, Rollup, TypeScript, and screeps-launcher. Babel and the `screeps-api` npm
  package are no longer used (ADR-008 compiles the loader with `tsc`; ADR-021 dropped the API tools).
- Read the current screeps-starter-rust `js_src/main.js`, `js_tools/deploy.js`, `Cargo.toml`, and `.cargo/config.toml` (if any).
  Record which `--target` the starter passes and how the loader instantiates.
Record the results in `docs/VERIFICATION_LOG.md`.

## 3. Build the server feature probe (`js/probe/`)
No deploy is needed for the first pass: the user pastes a console snippet.
- `js/probe/console-snippet.js` is a single expression the user pastes into each target server's in-game console. Use ES5 syntax only.
  It reports:
  - `WebAssembly.validate` results for tiny modules testing each feature: mutable-globals, sign-ext, nontrapping-fptoint,
    bulk-memory, reference-types, multivalue, simd128, exceptions (legacy and exnref), and tail-call. Vendor the byte arrays from
    GoogleChromeLabs `wasm-feature-detect`. Check its license, keep its attribution header, and do not hand-write opcodes.
  - `typeof` checks for `TextDecoder`, `TextEncoder`, `Game.cpu.halt`, `Game.cpu.generatePixel`, `Game.cpu.getHeapStatistics`,
    `RawMemory.segments`, `RawMemory.setActiveSegments`, and `InterShardMemory`. Also `Game.cpu.limit`, `Game.cpu.tickLimit`, `Game.cpu.bucket`,
    `Game.shard`, and heap statistics if the function exists.
  - JS syntax support probed with `new Function(...)` in try/catch: optional chaining, nullish coalescing, class fields, BigInt,
    and async/await. This sets the loader's compile target (`tsc`'s, ADR-008).
  - It prints one compact JSON line that the user copies back.
- `js/probe/main.js` is the same probe as a module. On an official server, add it as an extra module next to `main` and call its `run()`
  from the console. Never deploy it as `main` on an official server's active branch, because that replaces the running bot. On a private
  server (optional track, PS1, the private server's setup) it can run as `main`.
Ask the user to run the snippet on each target server and paste the output. Record it per server in VERIFICATION_LOG with the date.
If the console lacks `WebAssembly`, record that, stop, and tell the user: the bot cannot run on that server, and the core track has no
fallback server. (The optional private track probes its own server in PS1.)

## 4. Draft the ADRs in `docs/DECISIONS.md`
Fill in context, options, and evidence for each architecture decision record (ADR), and leave the status Proposed:
- ADR-001: build tool
- ADR-002: wasm feature target and Rust toolchain/edition
- ADR-003: trap recovery
- ADR-004: persistence encoding
- ADR-005: constants source
- ADR-006: dependencies
- ADR-007: planner approach (decided at P4, the base-planner phase, with benchmarks)
- ADR-008: loader language and transpile target
Recommend an option for each, citing the evidence.

## 5. Close P0
- Update `docs/STATUS.md`: answers captured, rows verified, probe results, and ADRs awaiting acceptance.
- Tell the user which ADRs need their decision before P1 starts, then run `/phase-gate P0`.
- Offer a commit message for the docs (`/commit-msg`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.