eds-performance-debugging

Debug EDS block errors and optimize Core Web Vitals performance.

2|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/ddttom/allaboutv2 --skill eds-performance-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eds-performance-debugging
Source: https://github.com/ddttom/allaboutv2/tree/main/.claude/skills/eds-performance-debugging
Command: npx skills add https://github.com/ddttom/allaboutv2 --skill eds-performance-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves performance bottlenecks, debugging challenges, and Core Web Vitals optimization issues in Adobe Edge Delivery Services blocks.

Core Features & Use Cases

  • Error Handling Patterns: Implement robust try-catch blocks and graceful degradation for reliable block execution.
  • FOUC Prevention: Eliminate flash of unstyled content with CSS-first approaches and placeholder strategies.
  • Use Case: When your EDS block is loading slowly or throwing errors, use this Skill to identify the root cause and implement performance optimizations that improve your Lighthouse scores.

Quick Start

Use the eds-performance-debugging skill to analyze why my block is showing a blank page and optimize its Core Web Vitals performance.

Frequently Asked Questions about eds-performance-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug performance issues in my EDS blocks?

Debugging performance in EDS blocks involves identifying bottlenecks through Core Web Vitals analysis, implementing error handling patterns with try-catch blocks, and using console logging to track asynchronous data loading. Start by measuring Lighthouse scores, then apply graceful degradation and loading state strategies to resolve slowdowns and errors.

What causes flash of unstyled content (FOUC) in EDS blocks and how do I prevent it?

FOUC occurs when CSS loads after content renders. Prevent it using CSS-first approaches and placeholder strategies in your EDS blocks. Apply display hiding until styles load, use inline critical CSS, and implement loading states to ensure content appears styled from the start.

How do I improve Core Web Vitals scores for EDS blocks?

Improve Core Web Vitals by optimizing asynchronous data loading, implementing performance timing instrumentation, and handling cross-browser graceful degradation. Profile block execution with console logging, eliminate render-blocking resources, and defer non-critical scripts to boost Lighthouse performance metrics.

Can I handle async data loading errors in EDS blocks gracefully?

Yes. Implement async error handling patterns with try-catch blocks to catch failures during data loading. Pair error handlers with loading state placeholders and fallback content so blocks degrade gracefully when async operations fail, preventing blank pages.

Why is my EDS block showing a blank page?

Blank pages typically result from unhandled errors during async data loading, missing error handling patterns, or FOUC prevention gaps. Debug by checking console logs for exceptions, verifying async data resolves correctly, and confirming CSS loads before content renders using this Skill's error handling and placeholder strategies.

Do I need special tools to instrument performance timing in EDS blocks?

No special tools required. Use native browser Performance API and console logging best practices to instrument timing directly in your blocks. This Skill covers implementing performance timing without external dependencies to identify where execution slows down.