- docs/agent/external: Vercel react-best-practices and composition-patterns (MIT), Addy Osmani accessibility (MIT), Anthropic frontend-design (Apache-2.0), official Payload skill at v3.92.1 (MIT) — text only, each with its licence, SOURCE.md (repo, commit) and an override note in front of the SKILL.md (ipal-kit first, Payload fetching over swr, DESIGN.md tokens, Payload 3 not 4); manifest.json with sha256 per file - scripts/vendor-external-skills.mjs (maintainer, not shipped): fetches by full commit SHA only, rejects non-text or executable files, regenerates the manifest; --check verifies it - ipal-skills --external [names]: copies ext-* after checking every file against the manifest, downloads nothing, never touches ext-* folders without ipal-kit's SOURCE.md, removes only retired ones it installed; an unknown name stops the run before anything is copied - AGENT.md §14, ipal-setup stage 2 (optional step), README: usage, overrides, how to update the pins - test/externalSkills.test.ts: pins are SHAs, no branch fetch, checksums, text only, licences, override note, installer leaves other folders alone Co-Authored-By: Claude Opus 5.5 <[email protected]>
47 lines
1.5 KiB
Markdown
47 lines
1.5 KiB
Markdown
# Sections
|
|
|
|
This file defines all sections, their ordering, impact levels, and descriptions.
|
|
The section ID (in parentheses) is the filename prefix used to group rules.
|
|
|
|
---
|
|
|
|
## 1. Eliminating Waterfalls (async)
|
|
|
|
**Impact:** CRITICAL
|
|
**Description:** Waterfalls are the #1 performance killer. Each sequential await adds full network latency. Eliminating them yields the largest gains.
|
|
|
|
## 2. Bundle Size Optimization (bundle)
|
|
|
|
**Impact:** CRITICAL
|
|
**Description:** Reducing initial bundle size improves Time to Interactive and Largest Contentful Paint.
|
|
|
|
## 3. Server-Side Performance (server)
|
|
|
|
**Impact:** HIGH
|
|
**Description:** Optimizing server-side rendering and data fetching eliminates server-side waterfalls and reduces response times.
|
|
|
|
## 4. Client-Side Data Fetching (client)
|
|
|
|
**Impact:** MEDIUM-HIGH
|
|
**Description:** Automatic deduplication and efficient data fetching patterns reduce redundant network requests.
|
|
|
|
## 5. Re-render Optimization (rerender)
|
|
|
|
**Impact:** MEDIUM
|
|
**Description:** Reducing unnecessary re-renders minimizes wasted computation and improves UI responsiveness.
|
|
|
|
## 6. Rendering Performance (rendering)
|
|
|
|
**Impact:** MEDIUM
|
|
**Description:** Optimizing the rendering process reduces the work the browser needs to do.
|
|
|
|
## 7. JavaScript Performance (js)
|
|
|
|
**Impact:** LOW-MEDIUM
|
|
**Description:** Micro-optimizations for hot paths can add up to meaningful improvements.
|
|
|
|
## 8. Advanced Patterns (advanced)
|
|
|
|
**Impact:** LOW
|
|
**Description:** Advanced patterns for specific cases that require careful implementation.
|