Skip to content

Conversation

bdougie
Copy link
Collaborator

@bdougie bdougie commented Oct 3, 2025

Description

Added a comprehensive Chrome DevTools Performance Cookbook that teaches developers how to use AI-powered performance analysis through the Chrome DevTools MCP integration.

Key additions:

  • New guide: Chrome DevTools Performance Cookbook (docs/guides/chrome-devtools-mcp-performance.mdx)
  • Updated docs navigation to include the new guide
  • Integrated with Continue Hub using pre-built agent workflow
  • Follows established cookbook structure from PostHog guide

Features covered:

  • Automated performance tracing with Core Web Vitals analysis
  • Network request debugging and optimization
  • JavaScript performance profiling
  • Visual regression testing with screenshots
  • CI/CD integration with GitHub Actions
  • Performance budget enforcement
  • Mobile performance testing with throttling

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screen recording or screenshot

The guide includes comprehensive examples of:

  • Performance trace analysis workflows
  • Network debugging prompts
  • Core Web Vitals monitoring
  • CI/CD integration examples

Screenshot of the guide structure and formatting will be added when ready for review.

Tests

  • Manual testing of YAML configuration format
  • Verified Hub integration links work correctly
  • Tested formatting improvements (list format, table alignment)
  • Confirmed conventional commit standards followed

Context:
This cookbook fills a gap in our documentation by providing developers with practical, AI-powered performance optimization workflows. It leverages the official Chrome DevTools MCP from Google and integrates seamlessly with Continue Hub's agent system, making performance analysis accessible through natural language prompts.

The guide follows our established cookbook pattern (similar to PostHog) and provides both quick-start and manual setup options to accommodate different user preferences.


Summary by cubic

Adds a Chrome DevTools Performance Cookbook with MCP integration, including a quick-start agent and manual setup, to help developers automate performance tracing, Core Web Vitals checks, and CI validation. Updates docs navigation and overview to surface the new guide.

  • New Features
    • Added guide: docs/guides/chrome-devtools-mcp-performance.mdx (tracing, Core Web Vitals, network/JS profiling, screenshots, throttling).
    • Included GitHub Actions example for performance budgets and PR reporting.
    • Added pre-built Continue Hub agent workflow; manual MCP YAML config option.
    • Updated docs navigation (docs.json) and guides overview to include the cookbook.

bdougie and others added 3 commits October 3, 2025 05:29
- Add chrome-devtools-mcp-performance to docs navigation
- Include Chrome DevTools guide in overview with description
- Reorganize cookbook order in overview for better flow

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
- Convert 'What You've Built' section to proper list format with bullets
- Add left alignment to Performance Issue Quick Reference table
- Enhance readability with bold formatting for key phrases

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
- Replace JSON config with proper YAML format following Continue Hub schema
- Add pre-built agent workflow using continuedev/chrome-dev-continuous
- Reference official Chrome DevTools MCP at hub.continue.dev/google/chrome-devtools-mcp
- Fix Card icon rendering issue (rocket instead of zap with emoji)
- Update Node.js prerequisite from 18+ to 20+
- Follow PostHog cookbook structure for consistency

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
- Updated Step 2 in Quick Start to clarify users are already in TUI mode
- Changed 'From your project directory, run: cn "..."' to 'In the TUI that opens, type: ...'
- This matches the workflow where Step 1 runs 'cn --config' which opens TUI
- Also updated wording in other guides from 'Navigate to' to 'From' for clarity

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
- Removed invalid 'cn auth login' command
- Updated to use 'cn --config continuedev/chrome-dev-continuous' like dlt cookbook
- Added --auto flag for headless execution
- Fixed line continuation formatting for better readability

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
@bdougie bdougie marked this pull request as ready for review October 3, 2025 13:28
@bdougie bdougie requested a review from a team as a code owner October 3, 2025 13:28
@bdougie bdougie requested review from tingwai and removed request for a team October 3, 2025 13:28
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Oct 3, 2025
@bdougie bdougie requested a review from BekahHW October 3, 2025 13:28
Copy link

github-actions bot commented Oct 3, 2025

✅ Review Complete

⚠️ AI review completed but no review output was generated.

Likely cause: Expired CONTINUE_API_KEY or missing continuedev/review-bot assistant

📋 View workflow logs for details.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Resolved conflict in overview.mdx by keeping both cookbook entries
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 6, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 6, 2025
@bdougie bdougie merged commit fd6d0c2 into main Oct 6, 2025
56 of 57 checks passed
@bdougie bdougie deleted the bdougie/con-4180 branch October 6, 2025 18:37
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 6, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2025
@sestinj
Copy link
Contributor

sestinj commented Oct 8, 2025

🎉 This PR is included in version 1.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants