Docs

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

Docs is an AI agent skill from the GitHub repository Kevin-Liu-01/CoTFly. Maintain the public field manual, indexed topic pages, typed icons, and battle-reel interactions.

How to use this skill

Skill file

claude-of-tanks / src/docs

Purpose

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

Explain the shipped game through lightweight public HTML pages and real

game-rendered evidence, without booting the playable world.

Mental model & key files

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

docs.ts owns manual navigation, copy feedback, and archive interaction.

topics.ts owns topic order, content, section/media definitions, and rendering.

docsIcons.ts maps manual concepts to the shared typed icon vocabulary.

battleReels.ts owns selectable recorded battle clips; docs.css styles the

manual. Root docs.html and docs-*.html are the corresponding page entries.

Patterns to follow / invariants

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

anchors in sync; public explanations must match current implementation.

is evidence of that scene, not proof of gameplay or performance claims.

access. Pause archive motion when its dialog closes.

of the manual graph. Share public presentation helpers instead of copying them.

Common tasks → first action

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

node src/docs/topics.selftest.mjs.

src/presentation/SKILL.md and run its related selftests.

the established browser workflow after the focused tests.

Gotchas

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

This directory is public application code, not the repository's engineering

docs/ directory. Updating topic data alone does not create an indexed route;

entry HTML, route/build configuration, navigation, and metadata must agree.

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.