Review an Agent of Empires change for cross-file invariants that a diff hunk alone does not show, such as persisted data that needs a registered migration that survives every on-disk shape, settings that must stay single-source, Session writes that must go through the Daemon, plugin API versions, debug and release namespacing, tracing targets, and docs the change makes stale. Use as one lens in a code review run.
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Review the companion changes an Agent of Empires change owes elsewhere in the repository. AGENTS.md is the canonical rule source; cite its section, or the linked doc, in every finding.
#[setting(...)] and nowhere else (docs/development/adding-settings.md).localStorage layout keeps the identities of objects still live in the Daemon.AoE-Error-Code, with a new ApiErrorCode when it needs to name one (AGENTS.md "Daemon and Clients", ADR 0004); whether a plugin-visible method or type change bumps API_VERSION in aoe-plugin-api/src/lib.rs and the docs that name the version.tracing event in src/ carries an explicit target:.docs/, CONTEXT.md or an ADR it does not edit materially wrong, and whether a new website page has its website/scripts/sync-docs.mjs entry (docs/development/adding-a-website-page.md).Start from what the diff changes, then search for the companion it owes. For a changed serde type, find where it is written to disk and look for a matching src/migrations/vNNN_*.rs and its registration in src/migrations/mod.rs. For a migration, walk it against each shape src/session/storage.rs and earlier migrations accept, including a symlinked file, a link whose target or target directory is missing, and a half-migrated file. For a new CLI or TUI action that mutates state, find the call path and check whether it reaches a Daemon endpoint or writes storage itself. For a changed user-facing behavior, flag, endpoint or term, search docs/, CONTEXT.md and docs/adr/ for text that now describes the old behavior.
Report when the change breaks one of these invariants and you can name both the changed line and the missing or contradicting companion.
Do not report:
#[allow(dead_code)], OS-specific code placement, fixed sleeps in tests); the repository verifiers and review-maintainability-and-code-quality own them.docs/cli/reference.md, web/src/lib/generated/settingsKeys.ts, DEFAULT_TARGET_ROOTS and the logging target mirror, and flake.nix embedded assets.review-security-and-privacy owns them.review-markdown checks them against the code.web-change-updates-coverage-matrix and api-contract-change-updates-docs verifiers own them.aoe-sandbox-boundary owns them.aoe-test-evidence owns them.aoe-runtime-lifecycle owns them.agent-of-empires/agent-of-empires
8ec63fe
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.