AGENTS.md

Shared conventions for all coding agents (Claude Code, Codex, Cursor, Gemini, …) working in this repository. This is the single source of truth — agent-specific files (CLAUDE.md, etc.) should point here rather than duplicate it.

What this is

A personal blog by Scott Densmore, built with Jekyll (static site generator) using the minimal-mistakes-jekyll theme and hosted on GitHub Pages. Posts cover software development, technology, and programming best practices.

Ruby is pinned to 3.3.6 via mise (.mise.toml) and .ruby-version.

Build & serve

bundle install                 # install gems (first run)
bundle exec jekyll serve       # local preview at http://localhost:4000 with live reload
bundle exec jekyll build       # production build into _site/

Deployment is automatic: pushing to main triggers .github/workflows/jekyll.yml, which builds with JEKYLL_ENV=production and deploys to GitHub Pages. Do not deploy by hand.

Conventions (non-obvious — read before editing)

Creating a new post

./new-post.sh "Your Post Title"

Creates _posts/YYYY-MM-DD-slugified-title.md with the correct filename format and starter front matter, then opens it in $VISUAL/$EDITOR (default code).

Required post front matter:

---
layout: post
title: "Your Post Title"
author: "Scott Densmore"
date: 2025-08-05 10:00:00 -0700
tags: [tag1, tag2]
---

Maintenance scripts (_scripts/)

Git & GitHub

Prefer the GitHub CLI (gh) for all GitHub operations (PRs, issues, CI status) over the web UI or raw API calls. Changes land on main via pull request.