davidmarshall.ai
Impact
- Multi-surface Content Guide AI
- 4 entry points with shared state
- RAG-powered contextual responses
Skills
davidmarshall.ai
The Challenge
Personal branding sites are static brochures. They tell visitors what you do, but they don’t demonstrate it. For someone whose thesis is “domain expertise + AI tools = production capability,” a static portfolio is a contradiction.
The site needed to be the evidence, not just the container for it.
The Approach
Built a multi-surface conversational AI system — the Content Guide — directly into the portfolio site. Not a chatbot widget bolted onto the corner. A contextual intelligence layer woven into the browsing experience.
Content Guide Architecture
Four entry points, one shared state system:
- AgentPeek overlay: Persistent floating indicator that opens the full guide
- Inline chat (homepage): Newsletter CTA section doubles as a conversational interface
- Selection popup: Highlight any text on any page, get an “Interested? Let’s explore this” prompt
- Nudge prompts: Context-aware prompts triggered by scroll behavior and page engagement
All four surfaces share state via nanostores — open the guide from a text selection on the About page, and the conversation context carries over seamlessly.
Technical Stack
- Astro 5 with React islands for interactive components
- Tailwind CSS v4 with custom design tokens (Command Orange, Tactical Green)
- React + nanostores for cross-island state management
- RAG-powered API backend for contextual, page-aware responses
- Floating UI for precision positioning of selection popups
- GA4 with Consent Mode v2 for privacy-respecting analytics
The Meta-Proof-Point
This site practices what it preaches. A non-technical builder (International Relations degree, zero years writing traditional code) shipped a multi-surface conversational AI system using Claude Code, Astro, and React islands. The Content Guide is itself evidence of the thesis it helps communicate.
Key Metrics
- 4 entry points sharing unified conversation state
- Zero-JS accordions via native
<details>/<summary>elements - 27 static pages generated at build time, React islands hydrate on demand
- Lighthouse 95+ across all categories
Explore Related Work
Have questions about this project?
Scout knows my work, my research, and my projects.