Skip to main content

Documentation

Architecture and implementation reference for danhenderson.dev, a motion-rich React + TypeScript portfolio application.

Audiences​

These docs serve three groups:

  1. Coding agents — safe extension guidance, architectural invariants, and ownership boundaries to prevent drift
  2. Developers — precise documentation of motion systems, page composition, theme/styling patterns, and shared primitives
  3. Reviewers / hiring managers — evidence of deliberate frontend engineering, system design, and implementation maturity

Instruction map​

Repository instructions are layered. Use them in this order:

ResourceOwnsWhen to use
AGENTS.mdRepo-level workflow, guardrails, and instruction discoveryBefore any cross-cutting or repo-wide task
Agent guideArchitecture invariants, intentional exceptions, and safe extension patternsWhen making structural UI, motion, theme, styling, or route changes
Testing strategyValidation matrix, build variants, and repo-standard command shapesWhenever validating a change
PLANS.mdExecPlan triggers, requirements, and templateWhen a task is non-trivial, cross-cutting, or otherwise meets a planning trigger
src/**/AGENTS.md and public/resume/AGENTS.mdCanonical local rules for the directory being editedBefore editing files in that scope
.github/instructions/*.instructions.mdAuto-applied shims that summarize the relevant scoped rulesWhen Copilot preloads file-matched instructions

If multiple documents overlap, prefer the canonical owner above and then the nearest scoped AGENTS.md for the files you are editing.

Application at a glance​

Documentation map​

Project​

DocumentPurpose
Project overviewWhat this site is, what makes it notable, and how the repo is organized

Architecture​

DocumentPurpose
App architectureApplication shell, route structure, providers, and page composition model

Frontend​

DocumentPurpose
Component architectureShared primitives, feature components, ownership boundaries, and safe extension points
Motion architectureMotion token system, animation layers, choreography patterns, and intensity scaling
Theme and stylingMUI theme construction, appearance presets, style builders, and styling placement rules
Page choreographyRoute-by-route page assembly, entrance sequencing, and orchestration patterns

Engineering​

DocumentPurpose
Testing strategyTest organization, harness patterns, motion-specific testing, and coverage priorities
Agent guideOperational rules, common failure modes, and safe extension patterns for coding agents

Reference​

DocumentPurpose
Design system referenceCatalog of established UI patterns, shared surfaces, text primitives, and selection guide

Quick orientation​