Skip to content

Add next-dev-loop and next-ppr-optimizer skills#93943

Merged
gaojude merged 5 commits into
canaryfrom
jude/dev-loop-skill-v2
May 22, 2026
Merged

Add next-dev-loop and next-ppr-optimizer skills#93943
gaojude merged 5 commits into
canaryfrom
jude/dev-loop-skill-v2

Conversation

@gaojude
Copy link
Copy Markdown
Contributor

@gaojude gaojude commented May 19, 2026

Two related skills for the next dev agentic workflow. They're paired: one establishes a shared session and view of the running app, and the other builds on it for a specific kind of work.

next-dev-loop is the edit-then-verify rhythm during next dev. After making a change, the agent needs to know whether it actually works at runtime — not just whether it type-checks or compiles. The skill teaches the agent to use the two views Next.js exposes about itself: /_next/mcp (framework-side — routes, segments, RSC, server logs, errors) and agent-browser (browser-side — DOM, console, network, React fiber, vitals). The two views cross-check each other.

The preflight is the load-bearing part. It opens a headed agent-browser session at the user's target URL with React DevTools enabled, then pauses — because the page might be behind a login wall or need specific state the user has to set up. Once the user confirms, the agent probes /_next/mcp, confirms Turbopack, and pulls the route map. Sibling skills can assume this setup is done.

next-ppr-optimizer is the first sibling. It's the agentic loop for optimizing the static shell of a cacheComponents page: diagnose the shell, pick the highest-ROI refactor, apply it, confirm the shell grew. Two levers — push down (extract an I/O into a Suspense-wrapped child so the parent stays static; autonomous for trivial cases) or cache (wrap in 'use cache' with a cacheLife profile chosen with the user — the skill never invents one). Diagnosis uses the suspense tree + /__nextjs_original-stack-frames for source resolution, with the H4 anti-pattern guardrail (one dominant boundary covering the viewport is not a push-down candidate; recurse inside it instead).

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 19, 2026

Tests Passed

Commit: b359d7c

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 19, 2026

Stats from current PR

🟢 1 improvement

Metric Canary PR Change Trend
node_modules Size 506 MB 506 MB 🟢 258 kB (0%) ▁▁▁▁▁
📊 All Metrics
📖 Metrics Glossary

Dev Server Metrics:

  • Listen = TCP port starts accepting connections
  • First Request = HTTP server returns successful response
  • Cold = Fresh build (no cache)
  • Warm = With cached build artifacts

Build Metrics:

  • Fresh = Clean build (no .next directory)
  • Cached = With existing .next directory

Change Thresholds:

  • Time: Changes < 50ms AND < 10%, OR < 2% are insignificant
  • Size: Changes < 1KB AND < 1% are insignificant
  • All other changes are flagged to catch regressions

⚡ Dev Server

Metric Canary PR Change Trend
Cold (Listen) 811ms 810ms █████
Cold (Ready in log) 784ms 784ms █▇███
Cold (First Request) 1.208s 1.210s ▅▄▅▆▅
Warm (Listen) 810ms 810ms █████
Warm (Ready in log) 785ms 782ms █▇███
Warm (First Request) 600ms 600ms ▆▄▇▇▆
📦 Dev Server (Webpack) (Legacy)

📦 Dev Server (Webpack)

Metric Canary PR Change Trend
Cold (Listen) 710ms 709ms ████▁
Cold (Ready in log) 708ms 707ms ▇▆█▇▅
Cold (First Request) 3.001s 3.000s ▅▄▆▅▅
Warm (Listen) 708ms 709ms ▄▄▄▄█
Warm (Ready in log) 706ms 707ms ▄▃▄▄█
Warm (First Request) 2.996s 3.029s ▁▁▂▃█

⚡ Production Builds

Metric Canary PR Change Trend
Fresh Build 4.732s 4.700s ▄▅▅▅▅
Cached Build 4.730s 4.775s ▆▆▇▅▄
📦 Production Builds (Webpack) (Legacy)

📦 Production Builds (Webpack)

Metric Canary PR Change Trend
Fresh Build 22.515s 22.497s ▁▁▁▁█
Cached Build 22.495s 22.640s ▁▁▁▂█
node_modules Size 506 MB 506 MB 🟢 258 kB (0%) ▁▁▁▁▁
📦 Bundle Sizes

Bundle Sizes

⚡ Turbopack

Client

Main Bundles
Canary PR Change
0_fjg8_hi5unh.js gzip 154 B N/A -
04hm05ar7kldw.js gzip 5.73 kB N/A -
0bw8hgkrnyz52.js gzip 169 B N/A -
0cz1d0mv5g_q7.js gzip 39.4 kB 39.4 kB
0dj46kukqg96u.js gzip 13.9 kB N/A -
0dvitrl5zg37g.js gzip 8.82 kB N/A -
0sf7ysou-72zd.js gzip 8.71 kB N/A -
0u1yrhy0v3ukc.js gzip 65.6 kB N/A -
0wctkh6poo3-9.js gzip 152 B N/A -
0z_6ypvxbuu_a.js gzip 159 B N/A -
14e-v33-v2gy6.js gzip 155 B N/A -
157abun3hwc_s.js gzip 10.3 kB N/A -
1djx0fm1yw1tl.js gzip 70.9 kB N/A -
1elt1qium-r2m.css gzip 115 B 115 B
1jpaub6y8xlfr.js gzip 2.3 kB N/A -
1kzhctatld4-r.js gzip 157 B N/A -
1ot0mvscrc_uf.js gzip 233 B N/A -
1smvc2zk5-ca-.js gzip 156 B N/A -
2_m3xv2uq3sjc.js gzip 1.46 kB N/A -
203qqfwjufsmt.js gzip 157 B N/A -
24y34mwgrkqp4.js gzip 8.78 kB N/A -
29p1h87nr475x.js gzip 157 B N/A -
2aljlkge5h1k9.js gzip 50.4 kB N/A -
2c-fd4y1zozz8.js gzip 8.79 kB N/A -
2d7416h_xd36x.js gzip 8.71 kB N/A -
2g21ny1t2kw37.js gzip 7.61 kB N/A -
2lyuhit6rn8fy.js gzip 9.44 kB N/A -
2q0gr8wfr3jwl.js gzip 8.77 kB N/A -
2t9e75oz6r0zp.js gzip 8.76 kB N/A -
2uku_olcn15b7.js gzip 8.79 kB N/A -
30r8mm-46bdqy.js gzip 220 B 220 B
355tnzfgll-w6.js gzip 153 B N/A -
3c1jdxkzlb8oq.js gzip 12.9 kB N/A -
3inab2jybr4k9.js gzip 450 B N/A -
3j0r9ohz0z01-.js gzip 154 B N/A -
3jkm5tdjvaf_q.js gzip 13.1 kB N/A -
3mt67agm5wp40.js gzip 10.6 kB N/A -
3saabek4kohwi.js gzip 10 kB N/A -
3sean5tdvwzz_.js gzip 155 B N/A -
3zan-tufsponr.js gzip 160 B N/A -
4189xmby9yu1p.js gzip 13.6 kB N/A -
turbopack-0k..eo4m.js gzip 4.2 kB N/A -
turbopack-0k..-9gf.js gzip 4.2 kB N/A -
turbopack-0o..1q02.js gzip 4.18 kB N/A -
turbopack-0q..5c5o.js gzip 4.2 kB N/A -
turbopack-16..fb3b.js gzip 4.2 kB N/A -
turbopack-17..j1a-.js gzip 4.2 kB N/A -
turbopack-1k..aoyi.js gzip 4.2 kB N/A -
turbopack-1r..h6ay.js gzip 4.2 kB N/A -
turbopack-1v..7iy-.js gzip 4.2 kB N/A -
turbopack-2d..rwvq.js gzip 4.21 kB N/A -
turbopack-2m..2k_2.js gzip 4.2 kB N/A -
turbopack-2o.._suq.js gzip 4.2 kB N/A -
turbopack-35..-lvd.js gzip 4.2 kB N/A -
turbopack-44..q5pn.js gzip 4.2 kB N/A -
0_i7nqgx23st7.js gzip N/A 10 kB -
06puhytyxk31p.js gzip N/A 8.82 kB -
0ay0mlrxf1iru.js gzip N/A 169 B -
0c1g7k_q0eabe.js gzip N/A 157 B -
0ca7-y17yur_x.js gzip N/A 156 B -
0f0wgs50fuvzz.js gzip N/A 156 B -
0j42f9zonj0wd.js gzip N/A 13 kB -
0m34gln_kt4fg.js gzip N/A 5.73 kB -
0rm_nj33c0r4u.js gzip N/A 154 B -
0xrdnbkg2vvjy.js gzip N/A 161 B -
0yhzk2i5kx_og.js gzip N/A 70.9 kB -
1ck72gbqbfell.js gzip N/A 50.4 kB -
1g3q1ww01thnl.js gzip N/A 2.3 kB -
1hraqxuiymq6v.js gzip N/A 8.79 kB -
1l9un1sl77287.js gzip N/A 1.46 kB -
1r3hpm0mji0fy.js gzip N/A 161 B -
20xc0m_sca76i.js gzip N/A 156 B -
21-eavqb1k_36.js gzip N/A 13.9 kB -
2147zgtf14z-q.js gzip N/A 234 B -
23bz3xsg-5-1s.js gzip N/A 8.71 kB -
23d1a7-y0i08o.js gzip N/A 158 B -
241h-8q5lq_re.js gzip N/A 153 B -
25-_uslqos021.js gzip N/A 155 B -
27441mytv7pbm.js gzip N/A 9.43 kB -
2cjkwjgm1zcfs.js gzip N/A 8.71 kB -
2scd8zaoyb8md.js gzip N/A 8.79 kB -
2st_qs6p_9us0.js gzip N/A 13.1 kB -
2tgrnri27_15r.js gzip N/A 65.6 kB -
2zo2exm1d8qj1.js gzip N/A 13.6 kB -
30yt3aos91w3x.js gzip N/A 154 B -
3b36esolmu3k4.js gzip N/A 154 B -
3f710q6kll2xn.js gzip N/A 7.61 kB -
3hn75zuxly9az.js gzip N/A 10.3 kB -
3hqh7m128tvsn.js gzip N/A 8.77 kB -
3hqti_t-zy1x4.js gzip N/A 449 B -
3mnawenie1flm.js gzip N/A 8.76 kB -
3ubsozlu6zs38.js gzip N/A 10.6 kB -
43iwfqjnx1cy_.js gzip N/A 8.78 kB -
turbopack-01..8uo5.js gzip N/A 4.2 kB -
turbopack-07..uids.js gzip N/A 4.2 kB -
turbopack-0e..fe4b.js gzip N/A 4.2 kB -
turbopack-0n..r8yb.js gzip N/A 4.2 kB -
turbopack-0p..zz-y.js gzip N/A 4.2 kB -
turbopack-0v..fhv1.js gzip N/A 4.21 kB -
turbopack-11..0dwi.js gzip N/A 4.18 kB -
turbopack-1j..2nkx.js gzip N/A 4.19 kB -
turbopack-2_..bnhj.js gzip N/A 4.2 kB -
turbopack-2i..-kdt.js gzip N/A 4.19 kB -
turbopack-31..amhb.js gzip N/A 4.2 kB -
turbopack-3o..8eau.js gzip N/A 4.2 kB -
turbopack-3w..x2yg.js gzip N/A 4.2 kB -
turbopack-43..g_vg.js gzip N/A 4.2 kB -
Total 469 kB 469 kB ⚠️ +41 B

Server

Middleware
Canary PR Change
middleware-b..fest.js gzip 716 B 720 B
Total 716 B 720 B ⚠️ +4 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 434 B 429 B 🟢 5 B (-1%)
Total 434 B 429 B ✅ -5 B

📦 Webpack

Client

Main Bundles
Canary PR Change
2258-HASH.js gzip 61.4 kB N/A -
2266-HASH.js gzip 4.69 kB N/A -
3317.HASH.js gzip 169 B N/A -
4866-HASH.js gzip 5.64 kB N/A -
9e302639-HASH.js gzip 62.8 kB N/A -
framework-HASH.js gzip 59.5 kB 59.5 kB
main-app-HASH.js gzip 255 B 254 B
main-HASH.js gzip 39.9 kB 39.9 kB
webpack-HASH.js gzip 1.68 kB 1.68 kB
175fd0fd-HASH.js gzip N/A 62.8 kB -
2596-HASH.js gzip N/A 5.63 kB -
34-HASH.js gzip N/A 61.3 kB -
5691.HASH.js gzip N/A 169 B -
9156-HASH.js gzip N/A 4.68 kB -
Total 236 kB 236 kB ✅ -102 B
Polyfills
Canary PR Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Total 39.4 kB 39.4 kB
Pages
Canary PR Change
_app-HASH.js gzip 193 B 193 B
_error-HASH.js gzip 181 B 182 B
css-HASH.js gzip 334 B 332 B
dynamic-HASH.js gzip 1.79 kB 1.81 kB
edge-ssr-HASH.js gzip 255 B 255 B
head-HASH.js gzip 351 B 348 B
hooks-HASH.js gzip 385 B 384 B
image-HASH.js gzip 580 B 580 B
index-HASH.js gzip 257 B 259 B
link-HASH.js gzip 2.51 kB 2.52 kB
routerDirect..HASH.js gzip 318 B 319 B
script-HASH.js gzip 387 B 386 B
withRouter-HASH.js gzip 316 B 316 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Total 7.97 kB 7.99 kB ⚠️ +19 B

Server

Edge SSR
Canary PR Change
edge-ssr.js gzip 126 kB 126 kB
page.js gzip 276 kB 270 kB 🟢 5.44 kB (-2%)
Total 402 kB 396 kB ✅ -5.59 kB
Middleware
Canary PR Change
middleware-b..fest.js gzip 620 B 615 B
middleware-r..fest.js gzip 155 B 155 B
middleware.js gzip 44.4 kB 44.5 kB
edge-runtime..pack.js gzip 842 B 842 B
Total 46 kB 46.1 kB ⚠️ +82 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 719 B 717 B
Total 719 B 717 B ✅ -2 B
Build Cache
Canary PR Change
0.pack gzip 4.49 MB 4.49 MB
index.pack gzip 116 kB 113 kB 🟢 2.29 kB (-2%)
index.pack.old gzip 114 kB 115 kB
Total 4.72 MB 4.72 MB ✅ -5.56 kB

🔄 Shared (bundler-independent)

Runtimes
Canary PR Change
app-page-exp...dev.js gzip 351 kB 351 kB
app-page-exp..prod.js gzip 195 kB 195 kB
app-page-tur...dev.js gzip 350 kB 350 kB
app-page-tur..prod.js gzip 194 kB 194 kB
app-page-tur...dev.js gzip 347 kB 347 kB
app-page-tur..prod.js gzip 193 kB 192 kB
app-page.run...dev.js gzip 347 kB 347 kB
app-page.run..prod.js gzip 193 kB 193 kB
app-route-ex...dev.js gzip 77.6 kB 77.5 kB
app-route-ex..prod.js gzip 52.9 kB 52.9 kB
app-route-tu...dev.js gzip 77.6 kB 77.6 kB
app-route-tu..prod.js gzip 52.9 kB 52.9 kB
app-route-tu...dev.js gzip 77.2 kB 77.2 kB
app-route-tu..prod.js gzip 52.7 kB 52.7 kB
app-route.ru...dev.js gzip 77.2 kB 77.1 kB
app-route.ru..prod.js gzip 52.7 kB 52.7 kB
dist_client_...dev.js gzip 324 B 324 B
dist_client_...dev.js gzip 326 B 326 B
dist_client_...dev.js gzip 318 B 318 B
dist_client_...dev.js gzip 317 B 317 B
pages-api-tu...dev.js gzip 44.3 kB 44.3 kB
pages-api-tu..prod.js gzip 33.8 kB 33.8 kB
pages-api.ru...dev.js gzip 44.3 kB 44.3 kB
pages-api.ru..prod.js gzip 33.7 kB 33.7 kB
pages-turbo....dev.js gzip 53.7 kB 53.7 kB
pages-turbo...prod.js gzip 39.4 kB 39.4 kB
pages.runtim...dev.js gzip 53.6 kB 53.6 kB
pages.runtim..prod.js gzip 39.4 kB 39.4 kB
server.runti..prod.js gzip 63.1 kB 63.1 kB
use-cache-pr...dev.js gzip 69.7 kB 69.7 kB
use-cache-pr...dev.js gzip 69.7 kB 69.7 kB
use-cache-pr...dev.js gzip 68 kB 68 kB
use-cache-pr...dev.js gzip 68 kB 68 kB
Total 3.37 MB 3.37 MB ✅ -691 B
📝 Changed Files (21 files)

Files with changes:

  • app-page-exp..ntime.dev.js
  • app-page-exp..time.prod.js
  • app-page-tur..ntime.dev.js
  • app-page-tur..time.prod.js
  • app-page-tur..ntime.dev.js
  • app-page-tur..time.prod.js
  • app-page.runtime.dev.js
  • app-page.runtime.prod.js
  • app-route-ex..ntime.dev.js
  • app-route-ex..time.prod.js
  • app-route-tu..ntime.dev.js
  • app-route-tu..time.prod.js
  • app-route-tu..ntime.dev.js
  • app-route-tu..time.prod.js
  • app-route.runtime.dev.js
  • app-route.ru..time.prod.js
  • server.runtime.prod.js
  • use-cache-pr..ntime.dev.js
  • use-cache-pr..ntime.dev.js
  • use-cache-pr..ntime.dev.js
  • ... and 1 more
View diffs
app-page-exp..ntime.dev.js
failed to diff
app-page-exp..time.prod.js

Diff too large to display

app-page-tur..ntime.dev.js
failed to diff
app-page-tur..time.prod.js

Diff too large to display

app-page-tur..ntime.dev.js
failed to diff
app-page-tur..time.prod.js

Diff too large to display

app-page.runtime.dev.js
failed to diff
app-page.runtime.prod.js

Diff too large to display

app-route-ex..ntime.dev.js

Diff too large to display

app-route-ex..time.prod.js

Diff too large to display

app-route-tu..ntime.dev.js

Diff too large to display

app-route-tu..time.prod.js

Diff too large to display

app-route-tu..ntime.dev.js

Diff too large to display

app-route-tu..time.prod.js

Diff too large to display

app-route.runtime.dev.js

Diff too large to display

app-route.ru..time.prod.js

Diff too large to display

server.runtime.prod.js

Diff too large to display

use-cache-pr..ntime.dev.js

Diff too large to display

use-cache-pr..ntime.dev.js

Diff too large to display

use-cache-pr..ntime.dev.js

Diff too large to display

use-cache-pr..ntime.dev.js

Diff too large to display

📎 Tarball URL
https://vercel-packages.vercel.app/next/commits/b359d7cc3a5bc55fce29cd423041f72f7f769606/next

Commit: b359d7c

@gaojude gaojude changed the title Add dev-loop skill for runtime verification during next dev Add next-dev-loop and next-ppr-optimizer skills May 20, 2026
Two paired skills for the next dev agentic workflow.

next-dev-loop is the edit-then-verify rhythm during next dev,
combining /_next/mcp (framework view) with agent-browser (browser
view). Its preflight opens a headed agent-browser session at the
user's target URL with react-devtools enabled and pauses, so the
user can log in or set state before the agent proceeds.

next-ppr-optimizer is the first sibling — an agentic loop for
optimizing the static shell of a cacheComponents page. Diagnoses
via suspense tree + /__nextjs_original-stack-frames, ranks by
rendered area, and picks between push-down (autonomous for trivial
cases) and cache (always collaborative — never invents a cacheLife
profile).

Removes the old next-compile placeholder skill (next-dev-loop's
get_compilation_issues check supersedes it).
@gaojude gaojude force-pushed the jude/dev-loop-skill-v2 branch from bf4f122 to 3c3edd8 Compare May 20, 2026 22:27
The copy_skills task was copying skills/**/* into packages/next/dist/skills
at build time. Nothing in the runtime reads dist/skills, and the skills are
intended to ship via the Next.js plugin for Claude Code / Codex, not as
part of the npm package. Removing the task.
@gaojude gaojude marked this pull request as ready for review May 20, 2026 22:43
- 'just' -> 'only' in next-dev-loop intro
- 'hole' -> 'gap' in next-ppr-optimizer (twice)
- drop 'sanity check' phrasing in verify step (refer to the
  diagnose-step-1 check directly)
Comment thread .claude/scheduled_tasks.lock Outdated
Comment thread .claude/scheduled_tasks.lock Outdated
Got accidentally tracked. Adding to .gitignore alongside the other
.claude/ session files.
@gaojude gaojude merged commit 2e753e2 into canary May 22, 2026
165 checks passed
@gaojude gaojude deleted the jude/dev-loop-skill-v2 branch May 22, 2026 00:28
gaojude added a commit that referenced this pull request May 22, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, anti-patterns, gotchas, teardown,
  and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 22, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 22, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
gaojude added a commit that referenced this pull request May 23, 2026
Merges next-ppr-optimizer (#93943) and a drafted
next-instant-nav-optimizer into one skill with two sub-loops
sharing a preflight, lever set, anti-pattern list, and
reference table. The gating requirement (cacheComponents: true)
is what unifies both loops, hence the rename.

- SKILL.md — top-level router; shared preflight, two-lever
  rules, no-shell bailout, assess-before-applying gate,
  visible-delta verify requirement, anti-patterns, gotchas,
  teardown, and the page-render-vs-nav decision.
- ppr-loop.md — page-render diagnose loop (pixel-area ranking).
- instant-nav-loop.md — nav diagnose loop (Cap2 − Cap1 diff
  after pushstate).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants