Nano Banana Pro
Agent skill for nano-banana-pro
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.
microfolio is a modern static portfolio generator built with SvelteKit 2 and Tailwind CSS 4. It features a file-based content management system using folders and Markdown files, perfect for showcasing creative work. The project is developed by AKER and includes features like multiple view modes, interactive maps, smart tagging, and responsive design.
# Development server pnpm dev # Preview production build pnpm preview # Lint code pnpm lint # Format code pnpm format # Deploy (production build with NODE_ENV=production) pnpm deploy # Build only (without image optimization) pnpm build # Generate optimized images (AVIF/WebP thumbnails) pnpm optimize-images # Full build with image optimization pnpm build:full
pnpm as the package manager (locked to [email protected])@sveltejs/kit, @sveltejs/adapter-static)tailwindcss, @tailwindcss/vite)marked for Markdown parsing, yaml for frontmatter@vincjo/datatables for list view functionalityexifreader for image metadata extraction@iconify/svelte, unplugin-icons)/content/ directory contains Markdown files with YAML frontmatter/content/projects/{project-name}/ with:
index.md - Project metadata and contentthumbnail.jpg - Project thumbnailimages/, documents/, videos/ subdirectories/content/index.md defines homepage contentSvelteKit Architecture:
/src/routes/ - File-based routing with server-side data loading/src/lib/components/ - Reusable Svelte components (AkHeader, AkFooter, AkProjectCard, etc.)/src/lib/config.js - Site configuration including navigation and social linksKey Routes:
/ - Homepage with featured projects/projects - Gallery view of all projects/list - Datatable view with filtering/map - Interactive Leaflet map view/about - About page from /content/about.md+page.server.js filesfs/promisesyaml librarymarked@vincjo/datatables@sveltejs/adapter-static/microfolio) vs custom domains via environment variables
CUSTOM_DOMAIN=true removes base path for custom domains/microfolio base path by defaultsvelte.config.jssvelte.config.js/src/lib/config.js including navigation, social links, and metadataProjects use YAML frontmatter with this structure:
title: 'Project Title' date: '2023-01-01' location: 'City, Country' coordinates: [latitude, longitude] # For map display description: 'Project description' type: 'architecture|design|art|etc' tags: ['tag1', 'tag2'] authors: - name: 'Author Name' role: 'Role' featured: true # Shows on homepage
This project includes a CLI tool called
microfolio available via Homebrew:
microfolio new <name> - Create new portfolio from templatemicrofolio dev - Start development server (equivalent to pnpm dev)microfolio build - Build for production (equivalent to pnpm build)/build directoryNODE_ENV=production for path configurationbuild.js) handles special production requirements