claude_code_mastery
Monitors 7+ sources for Claude Code updates, analyzes curriculum gaps, and auto-applies changes to keep the curriculum current.
README
Agent Code Academy
A free 12-week course for mastering AI-assisted coding with Claude Code ā from zero to expert. Includes a full curriculum, an auto-updating MCP server, a live course website, and an automated QA pipeline.
š Live site: agentcodeacademy.com
What's Inside
| Component | Description |
|---|---|
curriculum.md |
12-week course with lessons, exercises, quizzes, and auto-generated updates |
site/ |
Next.js 16 static site deployed on Vercel with SEO, email capture, and dark mode |
site/e2e/ |
Playwright E2E test suite (79 tests across 6 files) |
.github/workflows/ |
GitHub Actions CI/CD ā PR checks + nightly production tests |
claude_code_mastery/ |
MCP server that monitors 7+ sources and auto-updates the curriculum |
Site Features
- SEO ā Sitemap, robots.txt, JSON-LD Course schema, Open Graph & Twitter meta tags, canonical URLs
- Email capture ā Formspree-powered signup forms (homepage + inline CTAs + week page banners)
- Dark mode ā System preference detection + manual toggle (Tailwind CSS 4 + next-themes)
- Mobile responsive ā Hamburger nav, stacked layouts, touch-friendly at all viewports
- Monetization ā Buy Me a Coffee, affiliate tool links, Vercel Analytics
QA Pipeline
79 Playwright tests run automatically on every PR and nightly against production.
| Suite | Tests | What it covers |
|---|---|---|
smoke.spec.ts |
27 | All 25 routes return 200, 404 page, no console errors |
seo.spec.ts |
17 | Meta tags, JSON-LD, OG tags, canonical URLs, sitemap, robots.txt |
dark-mode.spec.ts |
5 | Theme toggle, background color, system preference |
responsive.spec.ts |
8 | Mobile nav, hamburger menu, layout, no overflow |
forms.spec.ts |
6 | Email signup, inline CTAs, mocked submission, banner dismiss |
links.spec.ts |
11 | 7 external links (soft assertions) + 4 internal nav links |
How it works
PR opened ā Vercel deploys preview ā GitHub Actions runs 79 Playwright tests
ā Pass ā
ā PR comment with results ā merge ready
ā Fail ā ā PR comment + red check ā merge blocked
Nightly: Runs daily at 6 AM UTC against agentcodeacademy.com via cron.
MCP Tools
| Tool | Description |
|---|---|
curriculum_fetch_updates |
Pulls latest Claude Code updates from 7+ sources |
curriculum_analyze_gaps |
Compares updates against the curriculum and finds gaps |
curriculum_apply_update |
Writes changes to the curriculum markdown file |
curriculum_set_path |
Configures where the curriculum file lives |
curriculum_status |
Shows progress and update history |
Data Sources
- Boris Cherny's X (@anthropaboris) ā Claude Code lead's updates and tips
- Anthropic Blog ā Official feature announcements
- Anthropic Changelog ā Technical release notes
- Claude Code Docs ā Documentation structure changes
- GitHub Releases ā Claude Code CLI releases
- Anthropic YouTube ā Video content
- Reddit r/ClaudeAI ā Community discussion
Installation
Prerequisites
- Python 3.10+
- Node.js 20+ (for the site)
- Claude Code installed (
npm install -g @anthropic-ai/claude-code)
Setup
git clone https://github.com/mgalbakri/claude-code-mastery.git
cd claude-code-mastery
pip install -e .
Configure Claude Code
Add to ~/.claude.json under mcpServers:
{
"claude_code_mastery": {
"type": "stdio",
"command": "python3",
"args": ["-m", "claude_code_mastery.server"],
"env": {
"PYTHONPATH": "/path/to/claude-code-mastery"
}
}
}
Run the Site Locally
cd site
npm install
npm run dev
Run Tests
cd site
npm test # Run all 79 tests
npm run test:smoke # Smoke tests only
npm run test:seo # SEO tests only
Usage
In Claude Code:
> Set my curriculum path to ~/projects/claude-code-mastery/curriculum.md
> Check for new Claude Code updates from the last 2 weeks
> Analyze my curriculum for gaps
> Apply any high-priority updates
Automated Updates
A macOS launchd agent checks for updates every Monday at 9 AM:
- Fetches updates from all sources
- Analyzes gaps against the curriculum
- Auto-applies high-priority changes (with backup)
- Syncs to the site directory
- Deploys to Vercel
- Sends email + macOS notification
Install the scheduler:
python -m claude_code_mastery.scheduler --install-launchd --weekly
Project Structure
claude-code-mastery/
āāā curriculum.md # 12-week course (source of truth)
āāā pyproject.toml # Python package config
āāā .github/workflows/ # CI/CD pipelines
ā āāā qa.yml # PR-triggered QA (79 Playwright tests)
ā āāā nightly-qa.yml # Daily production smoke test
āāā claude_code_mastery/ # MCP server
ā āāā server.py # Tool definitions
ā āāā sources.py # Data fetchers
ā āāā analyzer.py # Gap analysis
ā āāā cache.py # Local persistence
ā āāā semantic.py # TF-IDF matching
ā āāā scheduler.py # Scheduled checks & deploy
ā āāā docs_differ.py # Docs diffing
āāā site/ # Next.js course website
ā āāā app/ # App Router pages
ā ā āāā page.tsx # Homepage
ā ā āāā layout.tsx # Root layout with SEO meta
ā ā āāā not-found.tsx # Custom 404 page
ā ā āāā sitemap.ts # Dynamic sitemap
ā ā āāā robots.ts # Robots.txt
ā ā āāā week/[number]/page.tsx # Week pages
ā ā āāā appendix/[letter]/page.tsx # Appendix pages
ā āāā components/ # React components
ā ā āāā sidebar.tsx # Desktop sidebar nav
ā ā āāā mobile-nav.tsx # Mobile hamburger nav
ā ā āāā theme-toggle.tsx # Dark/light mode toggle
ā ā āāā email-signup.tsx # Homepage email form
ā ā āāā email-banner.tsx # Week page email banner
ā ā āāā inline-email-cta.tsx # Between-phase CTA
ā ā āāā week-card.tsx # Week preview card
ā ā āāā markdown-renderer.tsx # MDX content renderer
ā āāā e2e/ # Playwright E2E tests
ā ā āāā smoke.spec.ts # Route & error tests
ā ā āāā seo.spec.ts # SEO & meta tag tests
ā ā āāā dark-mode.spec.ts # Theme toggle tests
ā ā āāā responsive.spec.ts # Mobile viewport tests
ā ā āāā forms.spec.ts # Email form tests
ā ā āāā links.spec.ts # Link validation tests
ā āāā lib/ # Parser & types
ā āāā playwright.config.ts # Playwright configuration
āāā tests/ # pytest suite (127 tests)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.