Markdown Converter
Agent skill for markdown-converter
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 modern personal website built with Next.js 14 App Router, featuring:
/adminnpm run dev - Start development server (uses port 3000, falls back to 3001)npm run build - Build for productionnpm run start - Start production servernpm run lint - Run ESLint checksnpm run typecheck - Run TypeScript type checkingnpm run format - Format code with Prettiernpm run health - Run comprehensive health checks via dev-manager scriptThe project includes a comprehensive development manager script at
./scripts/dev-manager.sh:
npm run health - Runs health checks for Node, dependencies, env vars, TypeScript, ESLint, and build.env.local with default admin credentials if missingAlways run these commands before committing:
npm run typecheck - Must pass without errorsnpm run lint - Must pass without errorsnpm run build - Must build successfullyapp/ �� layout.tsx # Root layout with i18n setup �� page.tsx # Home page with side-scrolling experience �� providers.tsx # Client providers (NextIntlClientProvider) �� api/ # API routes �� health/ # Health check endpoint �� metrics/ # Telemetry metrics �� og/ # Dynamic OG image generation �� admin/ # Admin panel APIs �� admin/ # Admin panel for content management �� interactive/ # Interactive side-scrolling page �� resume/ # Print-optimized resume page �� now/ # Current focus/status page �� _scenes/ # Side-scrolling scene components �� _state/ # Zustand store for side-scroller state �� _fx/ # Animation and effect utilities �� _ui/ # Core UI components (HUD, Stage)
app/_state/store.ts) manages side-scrolling timeline statet (0-1) progress valuecomponents/ui/ (shadcn/ui based)components/blocks/app/_scenes/components/admin/JSON-based content system in
data/:
projects.json - Project portfolio dataexperience.json - Work experience timelinesocial.json - Social media linksembeds.json - Social media embed configurationspages.json - Dynamic page contentpage_versions.json - Content versioningstyles/theme.cssmessages/tr.json and messages/en.jsoncontent/[locale]/tr)/admin with HTTP Basic AuthADMIN_USERNAME and ADMIN_PASSWORD requiredCONTENT_STORAGE=FILE (development only)site.config.ts - Site metadata, social links, contact infonext.config.mjs - Next.js configuration with MDX, CSP headers, image domainstailwind.config.ts - Tailwind with custom theme, CSS variables, animationstsconfig.json - TypeScript configuration with path aliases (@/)Key dependencies to understand:
@next/mdx - MDX support for contentnext-intl - Internationalizationzustand - State managementframer-motion - Animations@radix-ui/* - UI primitives for components@hello-pangea/dnd - Drag and drop (admin panel)zod - Schema validation@vercel/og - Dynamic OG image generation@/ prefix for all internal importsapp/_scenes/components/ui/lib/'use client' directivedata/ directory for structured contentcontent/[locale]/ for rich text contentpublic/Required for development:
ADMIN_USERNAME=your_username ADMIN_PASSWORD=your_password CONTENT_STORAGE=FILE
Optional:
NEXT_PUBLIC_SITE_URL=http://localhost:3000 PLAUSIBLE_DOMAIN=your-domain.com
The interactive experience uses a timeline-based system:
t) from 0 to 1 representing full timelineSCENES constant with start/end pointsWhen adding new scenes:
app/_scenes/app/_scenes/index.tsSCENES configuration in storeapp/_fx/easing.tsThis architecture supports building rich, interactive experiences while maintaining performance and accessibility standards.