Ben Wilson's Tools

CLAUDE.md

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

Project Overview

This is a Jekyll-based personal website and blog for an author, featuring interactive science fiction worldbuilding tools. The site uses Jekyll 4.3.3 for static site generation, Tailwind CSS for styling, and Stimulus JS for progressive enhancement.

Development Commands

Starting Development

yarn dev           # Runs Jekyll server and Tailwind CSS watch in parallel
# OR
bin/dev           # Shell script that runs yarn dev

Individual Commands

yarn jekyll       # Run Jekyll server only: bundle exec jekyll serve
yarn tailwind     # Run Tailwind CSS watch only
yarn build        # Production build with minified CSS

Jekyll Commands

bundle exec jekyll serve    # Start development server on http://localhost:4000
bundle exec jekyll build    # Build static site to _site directory

Architecture

Technology Stack

Directory Structure

Key Stimulus Controllers

Located in assets/controllers/:

Styling System

Jekyll Collections

Data Files

Important Notes