Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
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 Wilson's personal portfolio built with Next.js 15, featuring internationalization (i18n), an interactive chatbot, JWT-protected admin routes, and animated UI components.
# Development server with Turbopack npm run dev # Production build npm run build # Start production server npm start # Build and start production npm run prod # Run linter npm run lint
@/* maps to project rootapp/(main)/ - Main public portfolio routes (home, contact)
app/give-me-the-token/ - Authentication page for admin accessapp/do-not-get-in-here/ - JWT-protected admin routeapp/api/ - API routes for:
auth-token/ - JWT token generationchat/ - Chatbot functionality with health check endpointlogout/ - Session terminationnext-intl library for translationsen), Spanish (es)i18n/config.ts defines locales and defaultmessages/en.json and messages/es.jsoni18n/request.ts loads locale from user settings via i18n/services.tsgetUserLocale() utilityNextIntlClientProvider wraps the entire app in root layoutjose librarymiddleware.ts) protects /do-not-get-in-here routeJWT_SECRET environment variableauth-token cookie/give-me-the-tokencontext/ChatBotProvider.tsx): Global context for chatbot state
useChatBot() hook for consuming context/api/chat/health endpointcomponents/ui/ (New York style)ParticlesWrapperinterfaces/:
IProject.ts - Project schemaIExperience.ts - Work experience schemaIMessage.ts - Chat message schemacontent/:
experiences.ts - Work experience datatechSkills.ts - Technical skills datautils/cn.ts - Class name utility (likely clsx + tailwind-merge)utils/dateFormatter.ts - Date formatting utilitiesutils/firstLetterCap.ts - String capitalizationutils/removeHTMLtags.ts - HTML sanitizationRequired in
.env:
JWT_SECRET - Secret key for JWT token signingSECRET_PASS - Admin password for authenticationNEXT_PUBLIC_API_URL - External API endpoint (Make.com webhook)next.config.tsen.json and es.json when adding textauthenticated: true payloadParticlesWrapper in layout