The user wants a "Cross-Org LCP/CLS Tiger Team Playbook" that maps three key elements:
- Owners: Who is responsible?
- Triage Channels: Where do they communicate?
- Code Change Thresholds: When is a fix considered "critical" or "routine"?
Deconstructing the Acronyms and Concepts:
- LCP: Largest Contentful Paint (Core Web Vitals). This is a frontend performance metric.
- CLS: Cumulative Layout Shift (Core Web Vitals). This is a frontend stability/visual metric.
- Cross-Org: This implies multiple teams are involved (Frontend, Backend, Infrastructure/CDN, Product/Design, QA). The playbook needs to handle the handoffs and shared responsibilities.
- Tiger Team: A specialized, cross-functional team assigned to investigate, design, and implement a solution to a specific problem (in this case, performance regressions).
- Playbook: A set of rules, procedures, and mappings to guide the team during an incident or project.
Structuring the Playbook:
A standard operational playbook structure usually includes:
- Objective: What are we doing?
- Activation Criteria: When does the Tiger Team start?
- RACI/Ownership Matrix: Who does what?
- Communication/Triage Channels: How do we talk?
- Thresholds & SLAs: How bad is "bad"?
- Runbooks/SOPs: Step-by-step actions for LCP vs. CLS.
Drafting the Content - Section by Section:
-
1. Executive Summary & Activation:
- Need to define when this playbook is used. Is it a reactive incident (regression in production) or a proactive initiative (fixing tech debt)?
- Let's assume a hybrid model: Reactive for regressions exceeding "Code Change Thresholds."
-
2. Ownership Mapping (The "Who"):
- I need to break down the components of LCP and CLS to assign owners.
- LCP Components: Server response (Backend/Infra), Render blocking resources (Frontend/SEO), Client-side JS (Frontend), Image optimization (Frontend/Infra).
- CLS Components: CSS/Styling (Frontend), Image dimensions (Content/Design), Dynamic injection (AdTech/Backend), Font loading (Frontend).
- Structure: Role -> Responsibility -> Org Unit.
-
3. Triage Channels (The "Where"):
- Need distinct channels for different phases.
- Incident Channel: Immediate firefighting (e.g., Slack #perf-incident).
- Investigation: Deep dive (e.g., JIRA Board, Async Doc).
- Escalation: When to call leadership.
-
4. Code Change Thresholds (The "When/How"):
- This defines severity. I should use standard Web Vitals benchmarks (Google's data).
- Green: < 2.5s (LCP) / < 0.1 (CLS).
- Needs Improvement (Yellow): 2.5s - 4.0s (LCP) / 0.1 - 0.25 (CLS).
- Poor (Red): > 4.0s (LCP) / > 0.25 (CLS).
- Change Thresholds: How much movement triggers a rollback vs. a hotfix?
- Critical: > 500ms regression or move from Green to Red.
- Warning: 100ms - 500ms regression.
-
5. Operational Workflow (The "Play"):
- Step 1: Detection.
- Step 2: Triage (Is it LCP or CLS? Which layer?).
- Step 3: Assignment.
- Step 4: Mitigation/Rollback.
- Step 5: Post-Mortem.
Refining the Content - Specific Details:
- LCP Focus: Mention TTFB (Backend), Critical Path (Frontend), Lazy Loading.
- CLS Focus: Mention Font swaps, Ad injection, Uncached assets without dimensions.
- Tools: Lighthouse, CrUX, SpeedCurve, Datadog.
Formatting for "Design":
The user asked to "Design" the playbook. It shouldn't just be a wall of text. It should look like a structured document, perhaps using tables for mapping and clear headers. I will use Markdown tables and bold text to simulate a visual hierarchy.
Self-Correction/Review during drafting:
- Initial thought: Just list "Frontend" as the owner.
- Correction: No, that's too broad. LCP is often TTFB (Backend) or CDN issues. CLS is often Design (missing image specs). I must explicitly call out the Cross-Org nature.
- Code Change Thresholds: These shouldn't just be performance numbers; they need to map to engineering actions. For example, "If regression > 100ms, block the PR." "If regression > 500ms, Hotfix."
Final Polish:
Add a section on "Tooling & Instrumentation" because you can't manage what you don't measure. Add a "Definition of Done" for the Tiger Team.
Let's structure the response as a formal document.
- Title: Cross-Organizational LCP/CLS Tiger Team Playbook
- Phase 1: Governance & Thresholds (Defining the numbers)
- Phase 2: The RACI Matrix (Mapping Owners)
- Phase 3: Communication Protocols (Channels)
- Phase 4: Triage Flows (The operational process)
This looks solid. I will generate the response based on this structure.
Here is a comprehensive design for a Cross-Organizational LCP/CLS Tiger Team Playbook. This document is structured to be used by Engineering Managers, Tech Leads, and Site Reliability Engineers (SREs) to manage performance as a product feature across different teams.
🐅 Cross-Org LCP/CLS Tiger Team Playbook
Objective: Establish a unified command structure to detect, triage, and remediate Core Web Vitals (LCP/CLS) regressions across frontend, backend, and infrastructure boundaries.
1. Governance: Code Change Thresholds (The Triggers)
Before defining the team, we must define when the team activates. These thresholds determine if a Pull Request (PR) is blocked, requires a "Performance Sheriff" sign-off, or triggers an emergency Tiger Team convening.
A. LCP (Largest Contentful Paint) Thresholds
Focus: Server response times (TTFB), render-blocking resources, and asset optimization.
| Priority | Metric Change (Lab Data) | Trigger Action |
|---|
| Sev 1 (Critical) | > +500ms regression | 🛑 Build Blocked. PR cannot merge. Requires Architect sign-off. |
| Sev 2 (Major) | +200ms to +500ms regression | ⚠️ Warning. "Performance Sheriff" label applied. Requires Peer Review + Perf Comment. |
| Sev 3 (Minor) | < +200ms regression | ℹ️ Notice. Auto-comment added to PR. Merge allowed, but monitor RUM. |
B. CLS (Cumulative Layout Shift) Thresholds
Focus: DOM dynamism, font loading, image dimensions, and ad injection.
| Priority | Metric Score | Trigger Action |
|---|
| Sev 1 (Critical) | Score > 0.25 (or +0.1 shift) | 🛑 Build Blocked. Visual regression test failed. |
| Sev 2 (Major) | Score 0.1 - 0.25 | ⚠️ Warning. Trigger visual diff review. Requires UI/UX verification. |
| Sev 3 (Minor) | Score < 0.1 | ✅ Pass. No action. |
2. The Tiger Team Structure (Owner Mapping)
Because LCP/CLS issues rarely sit entirely within one team’s codebase, the Tiger Team is a virtual squad composed of specialists from different orgs.
Role: The "Performance Incident Commander" (PIC)
- Who: Rotating Staff Engineer or Senior Frontend Engineer.
- Responsibility: Owns the timeline, facilitates the triage call, and makes the final call on rollbacks.
Role: The Asset Owner (Frontend)
- Who: The team owning the component where the LCP element or CLS shift occurs.
- Responsibility:
- LCP: Optimizing image sprites, lazy-loading non-critical JS, and CSS extraction.
- CLS: Reserving space for dynamic content (ads/images) and font-face stability.
Role: The Delivery Owner (Infrastructure/Backend)
- Who: Platform/CDN team or Backend Services team.
- Responsibility:
- LCP: TTFB reduction, Cache-Control headers, Brotli compression, and CDN edge logic.
- CLS: Server-Side Rendering (SSR) hydration stability.
3. Triage Channels & Communication Protocol
When a threshold is breached, the following communication flow is activated to avoid "ticket ping-pong."
Channel 1: Automated Bot Alerting (Sync)
- Platform: Slack / Microsoft Teams
- Channel:
#prod-performance-alerts
- Trigger: Automated CI/CD pipeline failure or RUM Alert (DataDog/New Relic).
- Format:
🚨 LCP Regression Detected
PR: #1234
Change: +450ms (Mobile)
Suspect: hero-banner.js (Size increased by 200kb)
Action: @PIC please assign owner.
Channel 2: The War Room (Sync)
- Platform: Zoom / Google Meet (Instant link in Slack)
- Trigger: Sev 1 Threshold breach or Customer-facing degradation.
- Participants: PIC, Asset Owner, Delivery Owner.
- Agenda:
- Reproduce in Lab (Lighthouse).
- Check RUM (Real User Monitoring) segments (Mobile vs. Desktop).
- Decide: Rollback or Hotfix?
Channel 3: Async Triage (Project Management)
- Platform: Jira / Linear / Asana
- Workflow:
- Tag:
Performance-Bug
- Field:
Performance Impact (Dropdown: LCP, CLS, FID/INP).
- SLA: Sev 1 fixes must be merged within 4 hours; Sev 2 within 24 hours.
4. Operational Play: The Diagnosis Matrix
When the Tiger Team convenes, use this matrix to assign ownership quickly based on the symptom.
| Symptom | Likely Cause | Owner (Responsible) | Collaborator (Consulted) |
|---|
| High TTFB (> 600ms) | Slow DB query, Cold cache, Origin shield failure. | Backend / SRE | Frontend (to check loading states) |
| High LCP (Image heavy) | Missing srcset, unoptimized WebP, No preload tag. | Frontend | Design (to approve compression) |
| High LCP (Text heavy) | Webfont blocking, Render-blocking JS. | Frontend | Infra (CDN cache headers) |
| High CLS (Load > 1.0s) | Dynamic Ad injection, Late CSS loading. | Frontend (Ads) | Product (Ad placement rules) |
| High CLS (Burst) | Missing width/height on <img>, FOUC (Flash of Unstyled Content). | Frontend | N/A |
5. Escalation & "Stop The Line" Policy
If the Tiger Team cannot resolve the regression within the SLA, the following escalation path is triggered:
- Level 1 (Eng): PIC creates a "Rollback PR."
- Level 2 (Product): If a feature must ship despite the regression, the Product Manager must sign a "Performance Debt Waiver" (automatically creates a tracking ticket to fix within 7 days).
- Level 3 (Leadership): If site-wide RUM drops below the "Red" threshold (LCP > 4.0s), the VP of Engineering is notified to authorize emergency infrastructure spend or feature disabling.
Definition of Done
A Tiger Team incident is considered resolved only when:
- The fix is deployed to production.
- Real User Monitoring (RUM) confirms the metric has returned to the baseline (Green zone) for at least 60 minutes.
- A Root Cause Analysis (RCA) is documented in the project management tool.