Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

QuantEcon Style Guide Checker

A GitHub Action and local CLI for automated style guide compliance checking of QuantEcon lecture materials using AI-powered analysis.

What It Does

The style checker reviews MyST Markdown lecture files against the QuantEcon Style Guide, ensuring consistency across all lecture series. It uses Claude Sonnet 4.5 with extended thinking to check 49 style rules covering writing, mathematics, code, JAX patterns, figures, and more.

Key Features

How It Works

  1. Trigger a review via issue comment (@qe-style-checker lecture_name) or scheduled workflow

  2. The action checks each rule individually using Claude with extended thinking

  3. Rule-type violations are fixed automatically; style-type suggestions are reported for human review

  4. A PR is created with all fixes and a detailed summary

Quick Start

GitHub Action
Local CLI

Comment on any issue in your lecture repository:

@qe-style-checker lecture_name

With specific categories:

@qe-style-checker lecture_name writing,math

See Getting Started for full setup instructions.

Documentation