AGENTS.md - Coding Guidelines for Joel Cano’s Website

This is a Jekyll-based personal blog hosted on GitHub Pages using the Minimal Mistakes theme.

Build Commands

# Install dependencies
bundle install

# Serve locally (auto-regenerates on changes)
bundle exec jekyll serve

# Serve with drafts and future posts
bundle exec jekyll serve --drafts --future

# Build site (outputs to _site/)
bundle exec jekyll build

# Build for production
JEKYLL_ENV=production bundle exec jekyll build

# Clean build cache
bundle exec jekyll clean

Project Structure

├── _config.yml           # Site configuration
├── _data/navigation.yml  # Navigation menu
├── _pages/               # Static pages (About, 404, archives)
├── _posts/               # Blog posts (YYYY-MM-DD-title.markdown)
├── assets/css/main.scss  # Custom styles
├── index.markdown        # Homepage
└── Gemfile               # Ruby dependencies

Content Creation Guidelines

New Blog Posts

Create files in _posts/ following naming convention: YYYY-MM-DD-title.markdown

Required front matter:

---
title: "Your Post Title"
date: YYYY-MM-DD
---

Optional front matter:

categories: [category1, category2]  # Use for broad topics
tags: [tag1, tag2, tag3]            # Use for specific keywords
excerpt: "Short description"
toc: true                           # Enable table of contents
toc_label: "Contents"
toc_icon: "rocket"
header:
  overlay_color: "#333"
  overlay_filter: "0.5"

New Pages

Create in _pages/ or root directory with front matter:

---
layout: single
title: "Page Title"
permalink: /custom-path/
author_profile: true
classes: wide
toc: true
---

Update _data/navigation.yml to add menu items:

main:
  - title: "Page Name"
    url: /permalink/

Code Style Guidelines

Markdown

YAML (Front Matter & Config)

SCSS/CSS

Naming Conventions

Configuration Standards

_config.yml

Plugins

Available plugins (in Gemfile):

Error Handling & Validation

Before Committing

  1. Test locally: bundle exec jekyll serve
  2. Check for YAML syntax errors in front matter
  3. Verify all internal links work
  4. Ensure images exist in /assets/images/
  5. Review in both desktop and mobile widths

Common Issues

Deployment

Theme Information

Copilot Instructions (Preserved)

This project has .github/copilot-instructions.md with detailed guidance on:

Refer to that file for comprehensive project context.