Skip to content

Commit 99fb2e7

Browse files
committed
Add CLAUDE.md
Add Claude Code guidance file with commands and architecture overview
1 parent d12b1d1 commit 99fb2e7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CLAUDE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Commands
6+
7+
- `npm run dev` - Start local dev server at localhost:4321
8+
- `npm run build` - Run type checking and build to `./dist/`
9+
- `just run` - Alias for `npm run dev`
10+
11+
## Architecture
12+
13+
This is a personal website (dmeh.net) built with Astro 4 and Tailwind CSS.
14+
15+
**Layout structure:**
16+
- `src/layouts/BaseLayout.astro` - Main layout with Nav, uses Inter font
17+
- `src/layouts/MarkdownPostLayout.astro` - Layout for markdown blog posts
18+
19+
**Pages:**
20+
- `src/pages/index.astro` - Homepage
21+
- `src/pages/writing.astro` - Blog post listing
22+
- `src/pages/books.astro` - Book list
23+
- `src/pages/posts/` - Markdown blog posts
24+
25+
**Components:**
26+
- `src/components/Nav.astro` - Navigation sidebar
27+
- `src/components/NavLink.astro` - Styled nav links
28+
29+
## Formatting
30+
31+
Uses Prettier with prettier-plugin-astro for .astro files.

0 commit comments

Comments
 (0)