Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
6
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a personal website/blog for Hayato Hasegawa (長谷川 駿) built with Astro, focusing on web accessibility. The site uses static site generation with TypeScript, Tailwind CSS, and MDX for content.
# Development bun run dev # Start development server (or bun start) # Build bun run build # Type check and build for production # Preview bun run preview # Preview production build locally # Code Quality bun run check # Run Biome linter/formatter with auto-fix on ./src bun run format # Run Biome + Prettier on all files bun run format:astro # Run Prettier on Astro files only
.bun-version)Content System: Uses Astro's content collections for blog posts
/src/content/blog/ (supports .md and .mdx)Routing:
/src/pages/[...slug].astro/rss.xmlStyling Approach:
/src/styles/style.css/src/styles/logical-properties-plugin.css provides:
pbl-*, pbe-*, pis-*, pie-*, etc.space-b-*, space-i-* (block/inline directions)border-bs, border-be, border-is-*, etc.block-start-*, block-end-*grid-cols-auto-fill-*, grid-cols-auto-fit-*@media (hover: hover)https://hayatohasegawa.com@/* → src/*astro/tsconfigs/strict/src/styles/style.css and /src/styles/logical-properties-plugin.csspbs-4 (padding-block-start) instead of pt-4mbe-2 (margin-block-end) instead of mb-2pis-6 (padding-inline-start) instead of pl-6title, description, dateogImage (uses Astro's image() helper)/src/content/blog/ as .md or .mdx filesmain