Duncan Crawbuck

CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Development Commands

Start local development server:

bundle exec jekyll serve --livereload --host local.crawbuck.com --force-polling

Build site:

bundle exec jekyll build

Update post metadata (last modified dates):

ruby update_lastmod.rb

Optimize images:

python scripts/minify.py path/to/image1.png,path/to/image2.png

Architecture Overview

This is a Jekyll static site generator project for a personal portfolio/blog hosted on GitHub Pages at crawbuck.com. The site showcases developer work, projects, and apps.

Key Architectural Decisions:

  1. Jekyll + GitHub Pages: Automatic deployment on push to master branch
  2. Remote Theme: Uses pages-themes/primer@v0.6.0 for consistent GitHub-style design
  3. Custom Styling: CSS files in assets/css/ override theme defaults for home page, posts, and specific sections
  4. Content Structure:
    • Work experience posts are prefixed with dates and include “work” tag
    • Project posts showcase personal apps and side projects
    • Privacy policies, FAQs, and support pages for various apps

Content Management:

Asset Organization:

Deployment: