/CLAUDE.md
作成2026年3月29日更新2026年3月29日Takeshi Takatsudo
CLAUDE.md at /CLAUDE.md
Path: CLAUDE.md
zudo-tauri
Takazudo’s Tauri v2 dev notes, built with zudo-doc (Astro, MDX, Tailwind CSS v4).
Commands
pnpm dev # Start Astro dev server (port 4819)
pnpm build # Build static site to dist/
pnpm preview # Preview built site
pnpm check # Astro type checking
pnpm format:md # Format MDX files
pnpm b4push # Pre-push validation (format + typecheck + build)
Content Structure
- English (default):
src/content/docs/->/docs/... - Japanese:
src/content/docs-ja/->/ja/docs/... - Japanese docs should mirror the English directory structure
Content Categories
getting-started/- Overview, project setup, dev vs production modearchitecture/- Sidecar pattern, loading screen, process lifecyclerust-backend/- Mutex safety, settings cache, file watchers, menus, windowsfrontend/- IPC commands, useEffect pitfalls, capabilitiesdev-server/- SSE live-reload, watcher loops, Vite integrationdeployment/- Build bundle, macOS pitfalls, cargo cache, node downloadrecipes/- Real-world app patterns (doc viewer, text editor, multi-config)
MDX Components
Available globally in MDX without imports:
<Note>,<Tip>,<Info>,<Warning>,<Danger>- Admonitions<HtmlPreview>- Interactive HTML/CSS/JS preview with code display
Typography
- Futura for page h1 titles and header site name (
font-futuraclass) - Noto Sans JP for body text
- Headings use font-weight 400 (normal), not bold
Site Config
- Base path:
/pj/zudo-tauri - Settings:
src/config/settings.ts
CI/CD
- PR checks: typecheck + build + Cloudflare Pages preview
- Main deploy: build + Cloudflare Pages production + IFTTT notification
- Secrets: CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN, IFTTT_PROD_NOTIFY