This handles syntax highlighting with Shiki, which means you get the same color themes VS Code uses but in your web app. The big wins here are server-side rendering support for React Server Components and automatic theme switching between light and dark modes without client-side flickering. You'd reach for this when you're building docs, a blog with code samples, or any site where you need beautiful code blocks that don't flash unstyled content on load. Shiki is slower than most highlighters because it uses real TextMate grammars, but doing it server-side solves that problem entirely.

skills.sh installs
241
GitHub stars
23
last updated
Aug 21, 2026

Install

$ npx -y skills add andrelandgraf/fullstackrecipes --skill shiki-code-blocks --agent claude-code

Installs into .claude/skills of the current project.

Files

Shiki Code Blocks

Syntax highlight code blocks with Shiki. Supports server-side rendering in RSC and automatic light/dark theme switching.

curl https://fullstackrecipes.com/recipes/shiki-code-blocks.md

Sponsors

Details

Repository
github.com/andrelandgraf/fullstackrecipes
Category
Backend & APIs
First seen
Jun 3, 2026

More from andrelandgraf/fullstackrecipes

All 14
1ancoleman avataradministering-linuxancoleman/ai-design-componentsManage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying applica240skills.sh installs
2martinholovsky avatarappsec-expertmartinholovsky/claude-skills-generatorElite Application Security engineer specializing in secure SDLC, OWASP Top 10 2025, SAST/DAST/SCA integration, threat modeling (STRIDE), and vulnerability remed240skills.sh installs
3whoamihappyhacking avatarlazycat-advanced-routingwhoamihappyhacking/lazycat-skills处理懒猫微服(Lazycat MicroServer)应用的高级路由、多域名配置、TCP/UDP四层转发(ingress)、跨域处理以及使用 app-proxy 进行复杂代理规则配置的专业指南。240skills.sh installs
4borghei avatarsenior-architectborghei/claude-skillsSystem architecture design and review. Use when designing architecture, evaluating microservices vs monolith, writing ADRs, choosing a database, planning for sc239skills.sh installs
5pedronauck avatarmastrapedronauck/skillsComprehensive Mastra framework guide. Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation loo239skills.sh installs
6josiahsiegel avatartailwindcss-performancejosiahsiegel/claude-plugin-marketplaceTailwind CSS performance optimization including v4 improvements. PROACTIVELY activate for: (1) Tailwind v4 Oxide engine performance, (2) Lightning CSS minificat237skills.sh installs