This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Personal static site for sharing Agent-generated HTML articles. No build step — pure HTML deployed to GitHub Pages at blog.coolgpu.cn.
/
├── index.html # Home page (hand-maintained)
├── pages/ # Pages: YYYY-MM-DD-slug.html
├── assets/ # Page assets: assets/YYYY-MM-DD-slug/
├── templates/ # Reference templates for Agent
├── public/ # Site-wide static assets (favicon)
├── PUBLISH.md # Agent publishing guide
├── CONTEXT.md # Domain glossary
├── CNAME # Custom domain for GitHub Pages
└── .nojekyll # Disable Jekyll processing
git push origin master— Push to GitHub Pages (publishes on push)python3 scripts/migrate-md-to-html.py— One-time MD→HTML migration (legacy)
- Read
templates/tech-article.htmlas starting point - Create
pages/YYYY-MM-DD-slug.htmlwith Page Meta in<head> - Put images in
assets/YYYY-MM-DD-slug/ - Manually add entry to
index.html(seePUBLISH.md) git push origin masterto publish
- Page: Self-contained HTML file in
pages/ - Page Meta:
<title>,<meta name="date">,<meta name="summary">in<head> - Site Nav: Fixed top bar
← CoolGPUlinking to/ - Paths: Always absolute (
/pages/...,/assets/...) - WeChat-friendly: 16px base font, no external fonts, responsive images/tables
See PUBLISH.md for full publishing guide and CONTEXT.md for terminology.