gatsby
Installation
SKILL.md
Gatsby
Gatsby v5 focuses on Valhalla Content Hub and improved build speeds (Slice API). While Next.js has overtaken it, Gatsby remains strong for complex CMS-driven sites.
When to Use
- Data Integration: You have content in Contentful, Shopify, and WordPress and need to merge it.
- Static Sites: Extremely optimized static output (Image optimization).
- Plugin Ecosystem: Thousands of "drops-in" plugins.
Core Concepts
GraphQL Data Layer
Gatsby pulls all data into a local GraphQL schema.
Source Plugins
gatsby-source-filesystem, gatsby-source-contentful.