Presentation

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

Presentation is an AI agent skill from the GitHub repository Kevin-Liu-01/CoTFly. Maintain lightweight public navigation, media loading, archive presentation, and public-site contracts.

How to use this skill

Skill file

claude-of-tanks / src/presentation

Purpose

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

Present the game on public landing/manual/gallery surfaces without importing

the heavy game boot graph. Preserve accessible browsing and restrained media cost.

Mental model & key files

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

publicNav.ts and its CSS own responsive public navigation and deferred star

counts. publicPages.ts coordinates hero/shot rails and viewport media loading.

mediaArchive.ts renders the packaged showcase manifest and lightbox;

captureRecipes.ts links media to reproducible Scene Studio recipes.

Adjacent selftests also cover root public HTML, SEO metadata, copy, analytics,

and loading policy; those contracts extend beyond this directory.

Patterns to follow / invariants

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

document visibility when deciding autoplay and source retention.

media briefly across scroll reversals to avoid repeated downloads/decodes.

restoration. Reuse the shared responsive layout owner.

Preserve self-hosted telemetry opt-out and locally packaged subresources.

Common tasks → first action

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

node src/presentation/publicNav.selftest.mjs.

workflow to verify viewport entry/exit and reduced-motion behavior.

seoMetadata.selftest.mjs, and analytics.selftest.mjs as applicable.

changing cards, filters, or their shared manual integration.

Gotchas

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

Passing a source-contract selftest does not prove the responsive pixels or

media playback lifecycle. Do not eagerly fetch the complete archive on the

landing page or import src/main.ts to obtain public product information.

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.