diff --git a/docs/guides/netlify-mcp-continuous-deployment.mdx b/docs/guides/netlify-mcp-continuous-deployment.mdx
index 5d93a2360..73d3a3c49 100644
--- a/docs/guides/netlify-mcp-continuous-deployment.mdx
+++ b/docs/guides/netlify-mcp-continuous-deployment.mdx
@@ -10,13 +10,26 @@ sidebarTitle: "Using Netlify MCP for Performance Optimization"
from Netlify Analytics
+
+ **Did You Know?** Netlify is more than just static hosting! It offers:
+ - [Split Testing](https://docs.netlify.com/site-deploys/split-testing/) for A/B testing branches
+ - [Analytics](https://docs.netlify.com/analytics/get-started/) with Core Web Vitals tracking
+ - [Edge Functions](https://docs.netlify.com/edge-functions/overview/) for personalization at the edge
+ - [Build Plugins](https://docs.netlify.com/integrations/build-plugins/) ecosystem with 100+ integrations
+ - [Forms](https://docs.netlify.com/forms/setup/) with built-in spam protection
+ - [Identity](https://docs.netlify.com/visitor-access/identity/) for user authentication
+ - [Large Media](https://docs.netlify.com/large-media/overview/) for Git LFS support
+
+ This guide shows you how to leverage these features through natural language with Continue CLI!
+
+
## What You'll Learn
This cookbook teaches you to:
-- Run A/B tests between branches to measure performance impact
-- Monitor Core Web Vitals and build performance metrics
-- Automatically block deploys that degrade performance
-- Optimize build times and bundle sizes with AI assistance
+- Run [A/B tests](https://docs.netlify.com/site-deploys/split-testing/) between branches to measure performance impact
+- Monitor [Core Web Vitals](https://docs.netlify.com/analytics/get-started/#core-web-vitals) and build performance metrics
+- Automatically block deploys that degrade performance using [Deploy Contexts](https://docs.netlify.com/site-deploys/overview/#deploy-contexts)
+- Optimize build times with [Build Plugins](https://docs.netlify.com/integrations/build-plugins/) and bundle sizes with AI assistance
## Prerequisites
@@ -115,38 +128,85 @@ Report winner based on performance + conversion metrics"
session tracking and create a complete continuous AI analytics workflow.
-### Step 3: Optimize Build Performance
+### Step 3: Advanced Build Optimization with Netlify
-Reduce build times and improve caching:
+Leverage Netlify's powerful build features to dramatically reduce build times:
```bash
# In cn TUI mode:
-"Enable dependency caching and optimize my build"
+"Optimize my Netlify build performance using these features:
+
+1. Enable Netlify Cache Plugin for dependency caching
+ - Configure @netlify/plugin-cache for node_modules
+ - Set up custom cache directories for .next/cache or .nuxt
+ - Enable Gatsby's incremental builds if applicable
+
+2. Set up Build Plugins from Netlify's ecosystem:
+ - Install @netlify/plugin-lighthouse for performance monitoring
+ - Add netlify-plugin-checklinks to prevent broken links
+ - Configure netlify-plugin-submit-sitemap for SEO
+
+3. Implement Conditional Builds:
+ - Skip builds when only docs change (ignore: /docs/**)
+ - Use build.ignore script for custom logic
+ - Set up monorepo-specific build triggers
+
+4. Configure concurrent builds for monorepos
+ - Set base directory per package
+ - Use pnpm workspaces or yarn workspaces
+
+Show me the netlify.toml configuration and explain each optimization"
```
-
- Common optimizations that Continue can implement:
- - Dependency caching saves 40-60% on build times
- - Parallel builds for monorepos
- - Selective builds based on changed files
- - Build plugin optimizations
-
+
+ **Netlify Build Features You're Getting**:
+ - [Build Caching](https://docs.netlify.com/configure-builds/build-caching/) - Persist dependencies between builds
+ - [Build Plugins](https://docs.netlify.com/integrations/build-plugins/) - Extend build process with 100+ plugins
+ - [Conditional Builds](https://docs.netlify.com/configure-builds/ignore-builds/) - Skip unnecessary builds
+ - [Monorepo Support](https://docs.netlify.com/configure-builds/monorepos/) - Optimize multi-package repos
-### Step 4: Bundle Size Analysis
+ These features can reduce build times by 50-70% for most projects!
+
-Identify and fix bundle size issues:
+### Step 4: Bundle Analysis with Netlify's Built-in Tools
+
+Use Netlify's bundle analyzer and optimization features:
```bash
# In cn TUI mode:
-"Show largest dependencies and implement code splitting"
+"Analyze and optimize my bundle using Netlify's tools:
+
+1. Enable Netlify Bundle Analyzer:
+ - Add @netlify/plugin-bundle-analyzer to plugins
+ - Configure size thresholds in netlify.toml
+ - Generate visual bundle reports
+
+2. Set up Asset Optimization:
+ - Enable automatic JS minification
+ - Configure CSS optimization
+ - Turn on HTML minification
+ - Set up image processing pipeline
+
+3. Implement Smart Code Splitting:
+ - Analyze current chunks with the bundle analyzer
+ - Identify components over 50KB for splitting
+ - Configure webpack/vite for optimal chunking
+ - Set up route-based code splitting
+
+4. Configure Netlify's CDN for optimal delivery:
+ - Set cache headers for static assets
+ - Enable Brotli compression
+ - Configure edge caching rules
+
+Generate a full report with before/after bundle sizes"
```
-
- Continue can automatically:
- - Add dynamic imports for large components
- - Configure tree shaking
- - Implement lazy loading
- - Optimize image formats
+
+ **Features Available Through Netlify MCP**:
+ - [Bundle Analyzer](https://docs.netlify.com/configure-builds/build-plugins/bundle-analyzer/) - Visualize your JavaScript bundles
+ - [Asset Optimization](https://docs.netlify.com/configure-builds/post-processing/) - Automatic minification and compression
+ - [Edge Network](https://docs.netlify.com/platform/edge-network/) - Global CDN with smart caching
+ - [Deploy Previews](https://docs.netlify.com/site-deploys/deploy-previews/) - Test optimizations before production
### Step 5: Image Optimization
@@ -333,6 +393,51 @@ Identify and fix performance bottlenecks:
- Provides actionable optimization suggestions
+## Discover Netlify's Hidden Performance Gems
+
+Features many developers don't know Netlify offers:
+
+
+
+ **[Netlify Edge Functions](https://docs.netlify.com/edge-functions/overview/)**
+ - Run code at the edge, closer to users
+ - Transform responses on-the-fly
+ - A/B test at the edge level
+ - Personalize content without client-side JS
+
+
+
+ **[Netlify Graph](https://docs.netlify.com/graph/overview/)**
+ - Unified GraphQL gateway for all your APIs
+ - Automatic TypeScript generation
+ - Built-in authentication handling
+ - Zero client-side API keys needed
+
+
+
+ **[On-Demand Builders](https://docs.netlify.com/configure-builds/on-demand-builders/)**
+ - Generate pages only when requested
+ - Cache dynamically generated content
+ - Perfect for large sites (10k+ pages)
+ - Reduce build times dramatically
+
+
+
+ **[Background Functions](https://docs.netlify.com/functions/background-functions/)**
+ - Run tasks up to 15 minutes
+ - Process webhooks asynchronously
+ - Handle heavy computations
+ - No timeout worries
+
+
+
+```bash
+# Try these advanced features in cn TUI mode:
+"Show me how to use Netlify Edge Functions for geo-based personalization"
+"Set up On-Demand Builders for my blog with 5000 posts"
+"Configure Background Functions for image processing"
+```
+
## Performance Best Practices
The Netlify Performance Rules enforce: