CLAUDE.md

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

Commands

# Install dependencies (first time or after Gemfile changes)
bundle install

# Local dev server with live reload at http://localhost:4000
bundle exec jekyll serve

# Production build (outputs to _site/)
bundle exec jekyll build

Architecture

This is a Jekyll static site deployed on GitHub Pages. Pushing to main triggers an automatic rebuild and deploy — there is no staging environment.

How pages are built

Every page is a Markdown file at the root with frontmatter specifying a layout. Jekyll combines that content with the matching layout in _layouts/, wrapping it in _layouts/default.html (the master template). All pages inherit the nav and footer via `<nav class="navbar navbar-expand-lg navbar-light sticky-top">

</nav> ` and `<footer class="mt-5" style="background-color: #fafbfc; border-top: 1px solid #e4e8ed;">

MomentumIQ
MomentumIQ

Bringing Financial AI to Life

Resources
© 2026 MomentumIQ, Inc. All rights reserved. Made with 🌲🌲🌲 in Cascadia

</footer> ` in default.html.

Nav links and footer links are not hardcoded in HTML — they are driven by YAML data files:

The footer’s “Products” column is auto-populated from the _products/ collection via site.products.

Collections

Two Jekyll collections are configured in _config.yml:

Both have output: true, meaning they generate their own URLs.

CDN dependencies with SRI hashes

_layouts/default.html loads Bootstrap 4.1.3, jQuery 3.3.1, and Popper.js from CDNs with integrity SRI hashes. If you change a CDN URL or version, you must update the corresponding hash or browsers will block the resource.

Styling

Custom styles live in _sass/main.scss. Bootstrap is loaded from CDN (not bundled), so only overrides and custom classes go in the SCSS file.

Keeping This File Updated

When making architectural changes — new shared files, new patterns, changes to the component model, or new pages — update the relevant section of this file before closing the task.

Git Workflow

Branching Rules

Commits

Pull Requests & Merging

Deployment Checklist (before merging PR)

  1. All changes committed and pushed to the feature branch
  2. PR created, diff reviewed, no conflicts with main
  3. Merge commit created (not squash, to preserve history)
  4. Post-merge: git checkout main && git pull
  5. GitHub Pages auto-deploys on merge to main — no manual deploy step needed. Verify the live site at the CNAME domain after a minute or two.