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 healthcare website featuring 141+ medical articles with intelligent categorization, tagging, and search functionality. The project has two main article directories:

Development Commands

Local Development

# Install Ruby dependencies
bundle install

# Serve locally with auto-reload
bundle exec jekyll serve

# Build for production
bundle exec jekyll build

Article Processing

The main workflow involves converting articles from articles/ to _articles/ with proper Jekyll front matter and medical categorization.

Architecture

Collections Structure

Article Processing Requirements

When processing articles from articles/ to _articles/:

  1. Front Matter: Add comprehensive YAML front matter including:
    • title: Professional medical title
    • categories: From predefined healthcare categories (skin-conditions, respiratory, cardiovascular, mental-health, pediatric, orthopedic, digestive, infectious-diseases, emergency-care, preventive-care, dermatology, allergies, eye-conditions, first-aid)
    • tags: Medical terms relevant to the condition
    • reading_time: Estimated reading time in minutes
    • excerpt: Brief summary for SEO and quick reference
    • medical_author: Attribution (typically “Healthcare Professional”)
    • last_reviewed: Review date
    • related_conditions: Array of related medical conditions

Content Structure:

  1. Content Enhancement: Expand basic articles while maintaining medical accuracy and professional standards

  2. Medical Standards: All articles must include appropriate medical disclaimers and evidence-based information

Key Features

Configuration