Dev

From Kevin-Liu-01/CoTFly · View interactive version

Dev is an AI agent skill from the GitHub repository Kevin-Liu-01/CoTFly. Maintain opt-in diagnostics, bounded traces, deterministic shot controls, and capture readiness gates.

How to use this skill

Skill file

claude-of-tanks / src/dev

Purpose

<!-- agent-docs:fill:purpose -->

Provide reproducible engineering evidence without adding diagnostics cost to

ordinary player boot or contaminating the behavior being measured.

Mental model & key files

<!-- agent-docs:fill:model -->

debugIntent.ts selects explicit QA intent; mainDiagnosticsRuntime.ts

installs telemetry and the debugSurface.ts live-access facade.

perfTrace.ts, debugTelemetry.ts, and combatTelemetry.ts own receipts.

perfDiagnosticsAccess.ts and driveTestAccess.ts keep heavy implementations

lazy. shotContract.ts, shotViews.ts, and shotRuntime.ts define staged

captures; mapCaptureReadiness.ts verifies actual sourced-texture completion.

Patterns to follow / invariants

<!-- agent-docs:fill:patterns -->

inert production facades must not pull in the heavy diagnostic graph.

event payloads deliberately rather than retaining mutable references.

timeout; a rendered frame alone is not a ready-world receipt.

and the committed tools that consume them.

or mutate shot state; do not run such controls during another capture.

Common tasks → first action

<!-- agent-docs:fill:tasks -->

facades, and their selftests before checking a production build.

shotViews.selftest.mjs; read tools/SKILL.md and use the existing screenshot

or map-audit harness for native browser proof.

Gotchas

<!-- agent-docs:fill:gotchas -->

__DEBUG and __SHOTS are engineering interfaces, not ordinary player APIs.

An optional performance HUD failure must not erase the remaining diagnostic

surface. Screenshot-only readiness waits must not become production boot gates.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.