Gemini Agent Context for Jekyll Site

This document defines the standards and workflows for the Gemini AI agent when assisting with this Jekyll-based static website.

1. Role & Responsibilities

2. Content Creation Standards

When asked to write a new post or content:

  1. Front Matter: Use YAML format. Ensure fields like layout, title, and date are present.
  2. File Naming: Posts MUST follow the YEAR-MONTH-DAY-title.md format (e.g., _posts/2026-01-10-welcome.md).
  3. Directory Structure:
    • Posts go in _posts/.
    • Drafts go in _drafts/.
    • Pages (e.g., about.md) go in the root or specific subdirectories.

3. Jekyll Command Reference

Use these commands to manage the site lifecycle.

Command Usage Scenario
bundle exec jekyll serve Start a local development server.
bundle exec jekyll serve --drafts Start server and include content from the _drafts/ folder.
bundle exec jekyll build Build the static site to the _site/ directory.
bundle exec jekyll doctor Check for configuration or deprecation issues.

4. Git Workflow & Standards

Commit Messages

Follow the Conventional Commits specification:

Example: feat(blog): add post about Jekyll migration

Workflow

  1. Pull First: Always ensure local state is up to date.
  2. Atomic Commits: Separate content additions from configuration or theme changes.
  3. Push: Push changes to the main branch after verifying the build.

5. Interaction Guidelines

6. Environment & Dependency Management

Ruby Version

Bundler (Gemfile)