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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。