summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
5 daysMerge pull request #358 from jaryalarshita/fix/web-design-guidelines-pin-rulesHEADagent-skills-5a37a6329fbad3666c3207392a6a7c0110e92efbmainMelkeyDev
fix(web-design-guidelines): bundle pinned guidelines instead of fetching from main
2026-11-09docs(web-design-guidelines): expand guideline update stepsArshita Jaryal
2026-11-09chore(web-design-guidelines): regenerate zip with bundled guidelinesArshita Jaryal
2026-11-09fix(web-design-guidelines): bundle pinned guidelines instead of fetching ↵Arshita Jaryal
from main
2026-10-27Merge pull request #350 from t-mdo/tmo/temporary-deploy-fallbackagent-skills-1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62Thibault MdO
fix(deploy-to-vercel): use vercel deploy --temporary for no-auth deploys
2026-10-27fix(deploy-to-vercel): clarify sandbox login checkTmo
2026-10-27fix(deploy-to-vercel): run project checks before the no-auth fallback in ↵Tmo
sandboxes
2026-10-27fix(deploy-to-vercel): use vercel deploy --temporary for no-auth deploysTmo
2026-10-26fix: recommend stable React 19.3 for view transitionsagent-skills-6ec269328bc400712ee225a173a14b6b29128df7Sumanth Ratna
fix: recommend stable React 19.3 for view transitions
2026-08-28Merge pull request #328 from vercel-labs/codex/suspense-crossfade-local-wrapperagent-skills-063bee94c3f4df8453406c830b0a7df0f2860278Aurora Scharff
Update React View Transitions guidance and troubleshooting
2026-08-28Fix view transition reference anchorsAurora Scharff
2026-08-28Preserve view transition skill flowAurora Scharff
2026-08-28Clarify view transition guidance sourcesAurora Scharff
2026-08-28Split view transition troubleshootingAurora Scharff
2026-08-28Consolidate view transition skill guidanceAurora Scharff
2026-08-28Restore detailed view transition referencesAurora Scharff
2026-08-28Refocus view transition skill on app patternsAurora Scharff
2026-08-28Document Suspense crossfade host placementAurora Scharff
2026-08-27Merge pull request #327 from aurorascharff/fix/nesting-rule-consistencyagent-skills-20e89cc4bb256eb7b1fcbdc68f7175284709a847Aurora Scharff
Scope the nested-VT rule in nextjs.md to match SKILL.md
2026-08-27Scope the nested-VT rule in nextjs.md to match SKILL.mdAurora Scharff
nextjs.md stated the nested-VT limitation absolutely, while SKILL.md and patterns.md both scope it to parents that mount or unmount as one unit, and SKILL.md prescribes nested boundaries for shared elements in list items. Read on its own, the absolute phrasing suggests nesting is always fatal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21Merge pull request #320 from vercel-labs/zeejab/agent-skills-discovery-indexagent-skills-dd089a8c752c966dee8bf0f27cb625ba193ffd9eZahra Jabini
feat: ✨ publish Agent Skills discovery index
2026-08-18Parse skill frontmatter with YAMLzeejab/agent-skills-discovery-indexzeejab
2026-08-15Align discovery artifacts with the draft speczeejab
2026-08-14Publish Agent Skills discovery indexzeejab
2026-08-12Merge pull request #318 from vercel-labs/codex/update-view-transitions-skillAurora Scharff
Update Next.js View Transitions patterns
2026-08-12Scope content readiness guidanceAurora Scharff
2026-08-12Document prefetched route transitionsAurora Scharff
2026-07-24Merge pull request #310 from vercel-labs/fix-install-commandAurora Scharff
Update install command for view transition skill
2026-07-24Update install command for view transition skillAurora Scharff
2026-07-23Merge pull request #308 from vercel-labs/vt-isolation-scroll-morph-learningsAurora Scharff
react-view-transitions: field learnings — morphs, isolation, interactivity
2026-07-23react-view-transitions: markdown-link all cross-references; leave AGENTS.md ↵Aurora Scharff
alone Review feedback: 'see this "heading"' prose references are ambiguous — every cross-file and same-file reference is now a proper markdown link with a validated anchor. AGENTS.md restored to its main version; the compiled document is noise in this PR and can be regenerated separately. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: layout stabilization and enter-only reveal notesAurora Scharff
From auditing next-beats against the skill: pad fixed-size lists to a constant slot count so nothing below them ever moves (the no-morph alternative to displacement morphs), and pair the live-root recipe with enter-only reveals (no fallback-exit VT; the skeleton snaps out live while content fades in). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: add live-root recipe, third-party wrapper trick, ↵Aurora Scharff
z-index tiering Patterns proven in production apps (next-beats, next16-social-media) that the skill lacked: - No Root Cross-Fade recipe: old(root) display:none + new(root) animation:none — new(root) is a live capture, so unnamed regions keep rendering hover/active styles and stay interactive with the pointer-events recipe, while classed/named groups still animate - Always-mounted named wrapper for third-party floating components (toast libraries unmount their container when empty, leaving the group unpinned exactly when a toast appears mid-transition); name dialog backdrops separately from panels - Z-index tiering across pinned groups (chrome 100, toasts 200) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: trim recent additions to the skill's terse registerAurora Scharff
Same facts, fewer words: compress the browser-support note, router.back entries, default="none" trade-off, displacement-morph activation rule, hit-testing cost bullet, layout-VT troubleshooting, nextjs setup/flag history, parentEnter availability note, and the pointer-events recipe. AGENTS.md recompiled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: refine router.back and experimental-channel guidance ↵Aurora Scharff
per official Next docs The Next.js view-transitions guide states browser back navigations still apply untyped shared-element morphs — only type-keyed animations (which resolve to their default with no types) don't play. Softened the "back doesn't animate" wording in all three places accordingly. Flag history clarified in nextjs.md: experimental.viewTransition used to switch the bundled React to the experimental channel (required when ViewTransition was experimental-only); since the canary release it no longer switches channels, and the experimental channel — still needed for useSwipeTransition gestures and parentEnter/parentExit — is selected by gestureTransition/blockingSSR/taint/transitionIndicator instead. AGENTS.md recompiled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: fact-check whole skill against React/Next source; ↵Aurora Scharff
regenerate AGENTS.md Verified every mechanical claim in SKILL.md and all four references against local facebook/react (19.3.0-dev @ 8384090) and vercel/next.js (16.3 canary) checkouts. Most claims confirmed with file:line evidence; corrections: - router.back()/popstate: the old "popstate is synchronous, incompatible" rationale was wrong — Next wraps popstate in startTransition, but React's shouldAttemptEagerTransition() renders popstate-scheduled transitions synchronously (skipping VTs), and traversals carry no transition types. - Browser support: React requires the startViewTransition v2 object form and no-ops otherwise, so effectively Chromium 125+, not 111+. - Nested-VT limitation scoped to the real rule (suppressed only when parent and child mount/unmount as one unit; children of persistent parents fire normally) and repointed from closed PR #36135 to the merged experimental parentEnter/parentExit (#36690). - transitionTypes availability: Next 16.2.0+, not "15+ canary"; not gated on experimental.viewTransition (the flag is currently inert at runtime — it historically switched React channels). - Same-route dynamic segments: subtrees are keyed by segment value (remount/Activity swap), not "stays mounted". - parentEnter availability grep was a false-positive check; replaced with a react-dom-client probe. Fixed wrong-org commit URL (react/react → facebook/react). - Programmatic navigation snippet had a Rules-of-Hooks violation (useRouter inside the handler); now a proper component. - pointer-events recipe: documented React's own overlay handling (zero-size cancel, deliberate no-pointer-events-none so animations block clicks) and the trade-off of overriding it. - Displacement morph activation: broader than "immediate siblings of the mutation" — direct VT children of any node along the changed path. - Events: cleanup functions are optional, not mandatory. AGENTS.md regenerated from the current sources (it had drifted behind the whole branch); compiled verbatim with cross-references rewritten and a fresh table of contents. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: verify against React source; move displacement ↵Aurora Scharff
pattern to references Checked every new claim against facebook/react (ReactFiberCommitViewTransitions.js, ReactFiberViewTransitionComponent.js) and react.dev: - update-on-displacement confirmed (commitAfterMutationEffectsOnFiber measures boundaries in unchanged subtrees; getViewTransitionClassName(default, update) returning 'none' bails). Tightened wording to the docs' precise rule: size or position change "due to an immediate sibling" — React is deliberately conservative, so the boundary must be a direct sibling of the mutation. - share pairing skip confirmed: pairs only form when getViewTransitionClassName(default, share) !== 'none', so default="none" without a share prop kills the morph. - type-map fallback confirmed: getClassNameByType returns the map's `default` when no active transition type matches. Structure: SKILL.md keeps a two-line overview of Layout Displacement Morph; the full pattern (code, immediate-sibling constraint, default="none" caveat) moves to references/patterns.md, matching the skill's overview/reference split. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23react-view-transitions: displacement morphs, silent share failures, ↵Aurora Scharff
interactivity cost of names Learnings from a full debugging day on a real app (next-beats): - update trigger also fires when a boundary is displaced by surrounding content, not just inner mutations. New "Layout Displacement Morph" pattern: bare VT around a sibling section so it glides (heading included) when a list above grows/shrinks. - "Always use default=none" was too absolute — it silently disables update (displacement/reflow morphs) and share (a named pair with no explicit share prop never morphs). Reworded to "deliberately" with the trade-off spelled out. - Two silent shared-morph killers documented: default="none" without a share prop, and type-keyed share where links never add the type (missing transitionTypes / addTransitionType). - Interactivity: named participants are hit-test-skipped for the whole transition (csswg#10930). New css-recipes section with the ::view-transition { pointer-events: none } recipe and its limits; floating-element guidance now warns to portal named popovers — inline in a clickable row, mid-transition clicks activate the row behind and read as outside-clicks. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21Merge pull request #306 from vercel-labs/vt-isolation-scroll-morph-learningsAurora Scharff
react-view-transitions: isolation, scroll-hang, reveal-flicker, shared-element placement
2026-07-21react-view-transitions: note optimistic controls for slow-content tabsAurora Scharff
The generalized sliding indicator drives its state via a transition, so a suspending tab panel would stall the indicator and aria-current until commit. Add a caveat pointing to useOptimistic for instant control feedback, matching the routing variant (optimistic aria-current, committed active for the bar). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21react-view-transitions: generalize sliding indicator; separate Activity concernAurora Scharff
- patterns.md: sliding indicator is now framework-agnostic (local state + startTransition, no next/link). The routing-driven variant moves to nextjs.md. - patterns.md: "Preserve State with Activity" -> "Composing with Activity"; frame Activity as orthogonal state-preservation, note stateless elements (the indicator) gain nothing, point at Next layout persistence. - nextjs.md: add Routing-Driven Tabs (Link + onNavigate + useOptimistic). - nextjs.md: note layout-hosted chrome persists without Activity. Addresses review feedback that the indicator was Next-specific and that Activity is a separate concern from view transitions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: clarify shared-element morph works when the target ↵Aurora Scharff
is cached/prefetched Step 6 rule: a cross-navigation morph isn't automatic — the target must be present at the navigation snapshot. It works when rendered above the data boundary or when its data is cached/prefetched so it resolves in time; behind an unresolved Suspense fallback it won't pair. Heads off the "it should just morph automatically" / "it's impossible" traps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: drop Next-specific morph plumbing; keep the general ruleAurora Scharff
Remove the layout.tsx/params/instant-route "shared elements across a Suspense boundary" section from nextjs.md. The general truth is enough and framework-agnostic: a shared element must be in the DOM at navigation time or it can't morph — added as a one-line rule under Step 6 (shared elements) in implementation.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: trim additions to the skill's terse styleAurora Scharff
- Condense the isolation, reveal-flicker, sliding-indicator, and troubleshooting additions to short bullets/one-liners matching the rest of the skill. - Reframe the cross-navigation shared-element section positively: it morphs fine when the target is in the shell / cached; keep the instant-route caveat brief. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: separate reveal-flicker from morph; address reviewAurora Scharff
- Reveal flicker (same element in fallback + content) is an opacity flicker: fix by rendering it outside the <Suspense> boundary (or pinning). Removed the incorrect "morph the fallback" framing and the "Skeleton <-> Content Morph" recipe, and dropped the cross-reference tying it to cross-navigation morphs (unrelated concerns). - Review fixes: isolation note no longer contradicts the default="none" paragraph; import Link in the Tabs example; qualify useSwipeTransition/startGestureTransition as experimental/if-available; self-contained layout example (inline params type). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: move CSS into css-recipes, surface reveal-flicker in ↵Aurora Scharff
the Suspense section - Move the floating-element isolation, skeleton↔content morph, and sliding-indicator CSS out of patterns.md into css-recipes.md (its "ready-to-use CSS" home); patterns.md keeps the JSX/prose and points to the recipes. - Surface the skeleton↔content reveal-flicker in the Suspense section (implementation.md Step 5) so it's found where reveals are taught. - Add the caching nuance: the fallback→content morph only morphs when the content resolves within the same reveal (cached/prefetched); on a cold fetch it enters later as a separate transition (no morph). - Drop illustrative inline comments that weren't needed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: reveal-flicker fix + sliding-indicator (tabs) patternAurora Scharff
- Explain why an element present in BOTH the Suspense fallback and the resolved content flickers (two DOM nodes cross-faded), and that the fix is a shared view-transition-name + group-only morph (old/new animation:none), i.e. you can morph the fallback shape into the content shape. Note pinning is the wrong tool (it freezes; here you want continuity). - Add the "Sliding Indicator (tabs / segmented control)" pattern: one shared-name indicator rendered under the committed active tab morphs between positions; animate the group (slide), disable old/new (no cross-fade of the solid bar). Includes the tab-underline CSS recipe and the useOptimistic/isCommitted detail. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20react-view-transitions: isolation, scroll-hang, popover flicker, and ↵Aurora Scharff
shared-element placement Learnings from applying the skill to a real Next.js 16 app (next-beats): - Isolation: clarify that `view-transition-name: none` is a NO-OP (it's the CSS default) — isolating an element from the `root` snapshot always needs a real, unique name + neutralizing CSS. Document `<ViewTransition default="none">` vs a hand-named group: the auto-name can't be targeted for `z-index`/backdrop `display:none`, so hand-named isolation stays necessary for pinned chrome. - Floating elements: an open popover/menu is captured in `root` and flickers as a background transition settles; fix with a real name + isolation (a common `viewTransitionName:'none'` bug). Add a Troubleshooting entry. - Scroll-hang: document the `::view-transition` fixed-overlay limitation and that gesture transitions (useSwipeTransition) are the answer for scroll-driven UI. - Shared elements behind a data `<Suspense>`: explain the "only the skeleton morphs" trap — the named element must be in the shell at snapshot time. Hoist it into the layout keyed by params (fast/cached), stream data inside. Note the interaction with instant/prerenderable routes (params-in-shell) so agents don't conclude the morph is "structurally impossible." - Note the experimental parentEnter/parentExit nested enter/exit work (React PR #36917) as a future capability, with the commit link. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10Merge pull request #287 from brunoreinstein-cloud/fix/windows-vercel-spawnJohn Phamous
fix(vercel-optimize): run vercel via node entry on Windows (execFile can't spawn .cmd)
2026-06-10fix(vercel-optimize): harden Windows CLI resolutionJohn Pham