Add CLAUDE.md with comprehensive codebase documentation for AI assistants - #6
Open
andyhuo520 wants to merge 3 commits into
Open
Add CLAUDE.md with comprehensive codebase documentation for AI assistants#6andyhuo520 wants to merge 3 commits into
andyhuo520 wants to merge 3 commits into
Conversation
…ants Covers project type (Claude Skill), repo structure, skill execution flow, auto-detection logic, required CDN dependencies, generated HTML layout, Three.js/SVG specs, design system, language conventions, and AI constraints. https://claude.ai/code/session_01Ph737eAipuUpGu1mNbuYXh
Full-stack MVP: user inputs a topic, gets an interactive 3D preview (AetherViz-style), then can render it as a 3-4 minute HyperFrames MP4. - web/app/page.tsx: single-page UI with input/preview/rendering/done states - web/app/api/generate: Claude streams interactive HTML to iframe preview - web/app/api/render: Claude generates GSAP timeline HTML, HyperFrames renders MP4 - web/lib/prompts.ts: system prompts for both interactive and video modes - web/lib/renderer.ts: HyperFrames CLI wrapper with temp dir + asset injection - web/server-assets/: bundled three.min.js + gsap.min.js (CDN blocked in Puppeteer) https://claude.ai/code/session_01Ph737eAipuUpGu1mNbuYXh
Extracts Anthropic credentials via lib/claude.ts: tries ANTHROPIC_API_KEY first, then falls back to Claude Code OAuth token from FD env var. API routes now use getClient() instead of constructing Anthropic directly. https://claude.ai/code/session_01Ph737eAipuUpGu1mNbuYXh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Covers project type (Claude Skill), repo structure, skill execution flow,
auto-detection logic, required CDN dependencies, generated HTML layout,
Three.js/SVG specs, design system, language conventions, and AI constraints.
https://claude.ai/code/session_01Ph737eAipuUpGu1mNbuYXh