[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-vercel-react-best-practices":3,"mdc--spyfrv-key":36,"related-repo-jetbrains-vercel-react-best-practices":1212,"related-org-jetbrains-vercel-react-best-practices":1338},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"vercel-react-best-practices","optimize React and Next.js performance","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"React","react",{"name":20,"slug":21,"type":15},"Next.js","next-js",{"name":23,"slug":24,"type":15},"Frontend","frontend",252,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills","2026-07-17T06:04:36.650959","MIT",17,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Curated agent skills collection verified by JetBrains","https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills\u002Ftree\u002FHEAD\u002Freact-best-practices","---\nname: vercel-react-best-practices\ndescription: React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.\nlicense: MIT\nmetadata:\n  short-description: \"Optimize React and Next.js performance\"\n  author: Vercel\n  version: \"1.0.0\"\n  source: https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices\n---\n\n# Vercel React Best Practices\n\nComprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 64 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new React components or Next.js pages\n- Implementing data fetching (client or server-side)\n- Reviewing code for performance issues\n- Refactoring existing React\u002FNext.js code\n- Optimizing bundle size or load times\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Eliminating Waterfalls | CRITICAL | `async-` |\n| 2 | Bundle Size Optimization | CRITICAL | `bundle-` |\n| 3 | Server-Side Performance | HIGH | `server-` |\n| 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` |\n| 5 | Re-render Optimization | MEDIUM | `rerender-` |\n| 6 | Rendering Performance | MEDIUM | `rendering-` |\n| 7 | JavaScript Performance | LOW-MEDIUM | `js-` |\n| 8 | Advanced Patterns | LOW | `advanced-` |\n\n## Quick Reference\n\n### 1. Eliminating Waterfalls (CRITICAL)\n\n- `async-defer-await` - Move await into branches where actually used\n- `async-parallel` - Use Promise.all() for independent operations\n- `async-dependencies` - Use better-all for partial dependencies\n- `async-api-routes` - Start promises early, await late in API routes\n- `async-suspense-boundaries` - Use Suspense to stream content\n\n### 2. Bundle Size Optimization (CRITICAL)\n\n- `bundle-barrel-imports` - Import directly, avoid barrel files\n- `bundle-dynamic-imports` - Use next\u002Fdynamic for heavy components\n- `bundle-defer-third-party` - Load analytics\u002Flogging after hydration\n- `bundle-conditional` - Load modules only when feature is activated\n- `bundle-preload` - Preload on hover\u002Ffocus for perceived speed\n\n### 3. Server-Side Performance (HIGH)\n\n- `server-auth-actions` - Authenticate server actions like API routes\n- `server-cache-react` - Use React.cache() for per-request deduplication\n- `server-cache-lru` - Use LRU cache for cross-request caching\n- `server-dedup-props` - Avoid duplicate serialization in RSC props\n- `server-hoist-static-io` - Hoist static I\u002FO (fonts, logos) to module level\n- `server-serialization` - Minimize data passed to client components\n- `server-parallel-fetching` - Restructure components to parallelize fetches\n- `server-after-nonblocking` - Use after() for non-blocking operations\n\n### 4. Client-Side Data Fetching (MEDIUM-HIGH)\n\n- `client-swr-dedup` - Use SWR for automatic request deduplication\n- `client-event-listeners` - Deduplicate global event listeners\n- `client-passive-event-listeners` - Use passive listeners for scroll\n- `client-localstorage-schema` - Version and minimize localStorage data\n\n### 5. Re-render Optimization (MEDIUM)\n\n- `rerender-defer-reads` - Don't subscribe to state only used in callbacks\n- `rerender-memo` - Extract expensive work into memoized components\n- `rerender-memo-with-default-value` - Hoist default non-primitive props\n- `rerender-dependencies` - Use primitive dependencies in effects\n- `rerender-derived-state` - Subscribe to derived booleans, not raw values\n- `rerender-derived-state-no-effect` - Derive state during render, not effects\n- `rerender-functional-setstate` - Use functional setState for stable callbacks\n- `rerender-lazy-state-init` - Pass function to useState for expensive values\n- `rerender-simple-expression-in-memo` - Avoid memo for simple primitives\n- `rerender-split-combined-hooks` - Split hooks with independent dependencies\n- `rerender-move-effect-to-event` - Put interaction logic in event handlers\n- `rerender-transitions` - Use startTransition for non-urgent updates\n- `rerender-use-deferred-value` - Defer expensive renders to keep input responsive\n- `rerender-use-ref-transient-values` - Use refs for transient frequent values\n- `rerender-no-inline-components` - Don't define components inside components\n\n### 6. Rendering Performance (MEDIUM)\n\n- `rendering-animate-svg-wrapper` - Animate div wrapper, not SVG element\n- `rendering-content-visibility` - Use content-visibility for long lists\n- `rendering-hoist-jsx` - Extract static JSX outside components\n- `rendering-svg-precision` - Reduce SVG coordinate precision\n- `rendering-hydration-no-flicker` - Use inline script for client-only data\n- `rendering-hydration-suppress-warning` - Suppress expected mismatches\n- `rendering-activity` - Use Activity component for show\u002Fhide\n- `rendering-conditional-render` - Use ternary, not && for conditionals\n- `rendering-usetransition-loading` - Prefer useTransition for loading state\n- `rendering-resource-hints` - Use React DOM resource hints for preloading\n- `rendering-script-defer-async` - Use defer or async on script tags\n\n### 7. JavaScript Performance (LOW-MEDIUM)\n\n- `js-batch-dom-css` - Group CSS changes via classes or cssText\n- `js-index-maps` - Build Map for repeated lookups\n- `js-cache-property-access` - Cache object properties in loops\n- `js-cache-function-results` - Cache function results in module-level Map\n- `js-cache-storage` - Cache localStorage\u002FsessionStorage reads\n- `js-combine-iterations` - Combine multiple filter\u002Fmap into one loop\n- `js-length-check-first` - Check array length before expensive comparison\n- `js-early-exit` - Return early from functions\n- `js-hoist-regexp` - Hoist RegExp creation outside loops\n- `js-min-max-loop` - Use loop for min\u002Fmax instead of sort\n- `js-set-map-lookups` - Use Set\u002FMap for O(1) lookups\n- `js-tosorted-immutable` - Use toSorted() for immutability\n- `js-flatmap-filter` - Use flatMap to map and filter in one pass\n\n### 8. Advanced Patterns (LOW)\n\n- `advanced-event-handler-refs` - Store event handlers in refs\n- `advanced-init-once` - Initialize app once per app load\n- `advanced-use-latest` - useLatest for stable callback refs\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fasync-parallel.md\nrules\u002Fbundle-barrel-imports.md\n```\n\nEach rule file contains:\n- Brief explanation of why it matters\n- Incorrect code example with explanation\n- Correct code example with explanation\n- Additional context and references\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{"data":37,"body":43},{"name":4,"description":6,"license":28,"metadata":38},{"short-description":39,"author":40,"version":41,"source":42},"Optimize React and Next.js performance","Vercel","1.0.0","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Freact-best-practices",{"type":44,"children":45},"root",[46,54,60,67,72,102,108,361,367,374,432,438,496,502,593,599,646,652,820,826,950,956,1102,1108,1144,1150,1155,1167,1172,1195,1201],{"type":47,"tag":48,"props":49,"children":50},"element","h1",{"id":4},[51],{"type":52,"value":53},"text","Vercel React Best Practices",{"type":47,"tag":55,"props":56,"children":57},"p",{},[58],{"type":52,"value":59},"Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 64 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.",{"type":47,"tag":61,"props":62,"children":64},"h2",{"id":63},"when-to-apply",[65],{"type":52,"value":66},"When to Apply",{"type":47,"tag":55,"props":68,"children":69},{},[70],{"type":52,"value":71},"Reference these guidelines when:",{"type":47,"tag":73,"props":74,"children":75},"ul",{},[76,82,87,92,97],{"type":47,"tag":77,"props":78,"children":79},"li",{},[80],{"type":52,"value":81},"Writing new React components or Next.js pages",{"type":47,"tag":77,"props":83,"children":84},{},[85],{"type":52,"value":86},"Implementing data fetching (client or server-side)",{"type":47,"tag":77,"props":88,"children":89},{},[90],{"type":52,"value":91},"Reviewing code for performance issues",{"type":47,"tag":77,"props":93,"children":94},{},[95],{"type":52,"value":96},"Refactoring existing React\u002FNext.js code",{"type":47,"tag":77,"props":98,"children":99},{},[100],{"type":52,"value":101},"Optimizing bundle size or load times",{"type":47,"tag":61,"props":103,"children":105},{"id":104},"rule-categories-by-priority",[106],{"type":52,"value":107},"Rule Categories by Priority",{"type":47,"tag":109,"props":110,"children":111},"table",{},[112,141],{"type":47,"tag":113,"props":114,"children":115},"thead",{},[116],{"type":47,"tag":117,"props":118,"children":119},"tr",{},[120,126,131,136],{"type":47,"tag":121,"props":122,"children":123},"th",{},[124],{"type":52,"value":125},"Priority",{"type":47,"tag":121,"props":127,"children":128},{},[129],{"type":52,"value":130},"Category",{"type":47,"tag":121,"props":132,"children":133},{},[134],{"type":52,"value":135},"Impact",{"type":47,"tag":121,"props":137,"children":138},{},[139],{"type":52,"value":140},"Prefix",{"type":47,"tag":142,"props":143,"children":144},"tbody",{},[145,174,200,227,254,281,307,334],{"type":47,"tag":117,"props":146,"children":147},{},[148,154,159,164],{"type":47,"tag":149,"props":150,"children":151},"td",{},[152],{"type":52,"value":153},"1",{"type":47,"tag":149,"props":155,"children":156},{},[157],{"type":52,"value":158},"Eliminating Waterfalls",{"type":47,"tag":149,"props":160,"children":161},{},[162],{"type":52,"value":163},"CRITICAL",{"type":47,"tag":149,"props":165,"children":166},{},[167],{"type":47,"tag":168,"props":169,"children":171},"code",{"className":170},[],[172],{"type":52,"value":173},"async-",{"type":47,"tag":117,"props":175,"children":176},{},[177,182,187,191],{"type":47,"tag":149,"props":178,"children":179},{},[180],{"type":52,"value":181},"2",{"type":47,"tag":149,"props":183,"children":184},{},[185],{"type":52,"value":186},"Bundle Size Optimization",{"type":47,"tag":149,"props":188,"children":189},{},[190],{"type":52,"value":163},{"type":47,"tag":149,"props":192,"children":193},{},[194],{"type":47,"tag":168,"props":195,"children":197},{"className":196},[],[198],{"type":52,"value":199},"bundle-",{"type":47,"tag":117,"props":201,"children":202},{},[203,208,213,218],{"type":47,"tag":149,"props":204,"children":205},{},[206],{"type":52,"value":207},"3",{"type":47,"tag":149,"props":209,"children":210},{},[211],{"type":52,"value":212},"Server-Side Performance",{"type":47,"tag":149,"props":214,"children":215},{},[216],{"type":52,"value":217},"HIGH",{"type":47,"tag":149,"props":219,"children":220},{},[221],{"type":47,"tag":168,"props":222,"children":224},{"className":223},[],[225],{"type":52,"value":226},"server-",{"type":47,"tag":117,"props":228,"children":229},{},[230,235,240,245],{"type":47,"tag":149,"props":231,"children":232},{},[233],{"type":52,"value":234},"4",{"type":47,"tag":149,"props":236,"children":237},{},[238],{"type":52,"value":239},"Client-Side Data Fetching",{"type":47,"tag":149,"props":241,"children":242},{},[243],{"type":52,"value":244},"MEDIUM-HIGH",{"type":47,"tag":149,"props":246,"children":247},{},[248],{"type":47,"tag":168,"props":249,"children":251},{"className":250},[],[252],{"type":52,"value":253},"client-",{"type":47,"tag":117,"props":255,"children":256},{},[257,262,267,272],{"type":47,"tag":149,"props":258,"children":259},{},[260],{"type":52,"value":261},"5",{"type":47,"tag":149,"props":263,"children":264},{},[265],{"type":52,"value":266},"Re-render Optimization",{"type":47,"tag":149,"props":268,"children":269},{},[270],{"type":52,"value":271},"MEDIUM",{"type":47,"tag":149,"props":273,"children":274},{},[275],{"type":47,"tag":168,"props":276,"children":278},{"className":277},[],[279],{"type":52,"value":280},"rerender-",{"type":47,"tag":117,"props":282,"children":283},{},[284,289,294,298],{"type":47,"tag":149,"props":285,"children":286},{},[287],{"type":52,"value":288},"6",{"type":47,"tag":149,"props":290,"children":291},{},[292],{"type":52,"value":293},"Rendering Performance",{"type":47,"tag":149,"props":295,"children":296},{},[297],{"type":52,"value":271},{"type":47,"tag":149,"props":299,"children":300},{},[301],{"type":47,"tag":168,"props":302,"children":304},{"className":303},[],[305],{"type":52,"value":306},"rendering-",{"type":47,"tag":117,"props":308,"children":309},{},[310,315,320,325],{"type":47,"tag":149,"props":311,"children":312},{},[313],{"type":52,"value":314},"7",{"type":47,"tag":149,"props":316,"children":317},{},[318],{"type":52,"value":319},"JavaScript Performance",{"type":47,"tag":149,"props":321,"children":322},{},[323],{"type":52,"value":324},"LOW-MEDIUM",{"type":47,"tag":149,"props":326,"children":327},{},[328],{"type":47,"tag":168,"props":329,"children":331},{"className":330},[],[332],{"type":52,"value":333},"js-",{"type":47,"tag":117,"props":335,"children":336},{},[337,342,347,352],{"type":47,"tag":149,"props":338,"children":339},{},[340],{"type":52,"value":341},"8",{"type":47,"tag":149,"props":343,"children":344},{},[345],{"type":52,"value":346},"Advanced Patterns",{"type":47,"tag":149,"props":348,"children":349},{},[350],{"type":52,"value":351},"LOW",{"type":47,"tag":149,"props":353,"children":354},{},[355],{"type":47,"tag":168,"props":356,"children":358},{"className":357},[],[359],{"type":52,"value":360},"advanced-",{"type":47,"tag":61,"props":362,"children":364},{"id":363},"quick-reference",[365],{"type":52,"value":366},"Quick Reference",{"type":47,"tag":368,"props":369,"children":371},"h3",{"id":370},"_1-eliminating-waterfalls-critical",[372],{"type":52,"value":373},"1. Eliminating Waterfalls (CRITICAL)",{"type":47,"tag":73,"props":375,"children":376},{},[377,388,399,410,421],{"type":47,"tag":77,"props":378,"children":379},{},[380,386],{"type":47,"tag":168,"props":381,"children":383},{"className":382},[],[384],{"type":52,"value":385},"async-defer-await",{"type":52,"value":387}," - Move await into branches where actually used",{"type":47,"tag":77,"props":389,"children":390},{},[391,397],{"type":47,"tag":168,"props":392,"children":394},{"className":393},[],[395],{"type":52,"value":396},"async-parallel",{"type":52,"value":398}," - Use Promise.all() for independent operations",{"type":47,"tag":77,"props":400,"children":401},{},[402,408],{"type":47,"tag":168,"props":403,"children":405},{"className":404},[],[406],{"type":52,"value":407},"async-dependencies",{"type":52,"value":409}," - Use better-all for partial dependencies",{"type":47,"tag":77,"props":411,"children":412},{},[413,419],{"type":47,"tag":168,"props":414,"children":416},{"className":415},[],[417],{"type":52,"value":418},"async-api-routes",{"type":52,"value":420}," - Start promises early, await late in API routes",{"type":47,"tag":77,"props":422,"children":423},{},[424,430],{"type":47,"tag":168,"props":425,"children":427},{"className":426},[],[428],{"type":52,"value":429},"async-suspense-boundaries",{"type":52,"value":431}," - Use Suspense to stream content",{"type":47,"tag":368,"props":433,"children":435},{"id":434},"_2-bundle-size-optimization-critical",[436],{"type":52,"value":437},"2. Bundle Size Optimization (CRITICAL)",{"type":47,"tag":73,"props":439,"children":440},{},[441,452,463,474,485],{"type":47,"tag":77,"props":442,"children":443},{},[444,450],{"type":47,"tag":168,"props":445,"children":447},{"className":446},[],[448],{"type":52,"value":449},"bundle-barrel-imports",{"type":52,"value":451}," - Import directly, avoid barrel files",{"type":47,"tag":77,"props":453,"children":454},{},[455,461],{"type":47,"tag":168,"props":456,"children":458},{"className":457},[],[459],{"type":52,"value":460},"bundle-dynamic-imports",{"type":52,"value":462}," - Use next\u002Fdynamic for heavy components",{"type":47,"tag":77,"props":464,"children":465},{},[466,472],{"type":47,"tag":168,"props":467,"children":469},{"className":468},[],[470],{"type":52,"value":471},"bundle-defer-third-party",{"type":52,"value":473}," - Load analytics\u002Flogging after hydration",{"type":47,"tag":77,"props":475,"children":476},{},[477,483],{"type":47,"tag":168,"props":478,"children":480},{"className":479},[],[481],{"type":52,"value":482},"bundle-conditional",{"type":52,"value":484}," - Load modules only when feature is activated",{"type":47,"tag":77,"props":486,"children":487},{},[488,494],{"type":47,"tag":168,"props":489,"children":491},{"className":490},[],[492],{"type":52,"value":493},"bundle-preload",{"type":52,"value":495}," - Preload on hover\u002Ffocus for perceived speed",{"type":47,"tag":368,"props":497,"children":499},{"id":498},"_3-server-side-performance-high",[500],{"type":52,"value":501},"3. Server-Side Performance (HIGH)",{"type":47,"tag":73,"props":503,"children":504},{},[505,516,527,538,549,560,571,582],{"type":47,"tag":77,"props":506,"children":507},{},[508,514],{"type":47,"tag":168,"props":509,"children":511},{"className":510},[],[512],{"type":52,"value":513},"server-auth-actions",{"type":52,"value":515}," - Authenticate server actions like API routes",{"type":47,"tag":77,"props":517,"children":518},{},[519,525],{"type":47,"tag":168,"props":520,"children":522},{"className":521},[],[523],{"type":52,"value":524},"server-cache-react",{"type":52,"value":526}," - Use React.cache() for per-request deduplication",{"type":47,"tag":77,"props":528,"children":529},{},[530,536],{"type":47,"tag":168,"props":531,"children":533},{"className":532},[],[534],{"type":52,"value":535},"server-cache-lru",{"type":52,"value":537}," - Use LRU cache for cross-request caching",{"type":47,"tag":77,"props":539,"children":540},{},[541,547],{"type":47,"tag":168,"props":542,"children":544},{"className":543},[],[545],{"type":52,"value":546},"server-dedup-props",{"type":52,"value":548}," - Avoid duplicate serialization in RSC props",{"type":47,"tag":77,"props":550,"children":551},{},[552,558],{"type":47,"tag":168,"props":553,"children":555},{"className":554},[],[556],{"type":52,"value":557},"server-hoist-static-io",{"type":52,"value":559}," - Hoist static I\u002FO (fonts, logos) to module level",{"type":47,"tag":77,"props":561,"children":562},{},[563,569],{"type":47,"tag":168,"props":564,"children":566},{"className":565},[],[567],{"type":52,"value":568},"server-serialization",{"type":52,"value":570}," - Minimize data passed to client components",{"type":47,"tag":77,"props":572,"children":573},{},[574,580],{"type":47,"tag":168,"props":575,"children":577},{"className":576},[],[578],{"type":52,"value":579},"server-parallel-fetching",{"type":52,"value":581}," - Restructure components to parallelize fetches",{"type":47,"tag":77,"props":583,"children":584},{},[585,591],{"type":47,"tag":168,"props":586,"children":588},{"className":587},[],[589],{"type":52,"value":590},"server-after-nonblocking",{"type":52,"value":592}," - Use after() for non-blocking operations",{"type":47,"tag":368,"props":594,"children":596},{"id":595},"_4-client-side-data-fetching-medium-high",[597],{"type":52,"value":598},"4. Client-Side Data Fetching (MEDIUM-HIGH)",{"type":47,"tag":73,"props":600,"children":601},{},[602,613,624,635],{"type":47,"tag":77,"props":603,"children":604},{},[605,611],{"type":47,"tag":168,"props":606,"children":608},{"className":607},[],[609],{"type":52,"value":610},"client-swr-dedup",{"type":52,"value":612}," - Use SWR for automatic request deduplication",{"type":47,"tag":77,"props":614,"children":615},{},[616,622],{"type":47,"tag":168,"props":617,"children":619},{"className":618},[],[620],{"type":52,"value":621},"client-event-listeners",{"type":52,"value":623}," - Deduplicate global event listeners",{"type":47,"tag":77,"props":625,"children":626},{},[627,633],{"type":47,"tag":168,"props":628,"children":630},{"className":629},[],[631],{"type":52,"value":632},"client-passive-event-listeners",{"type":52,"value":634}," - Use passive listeners for scroll",{"type":47,"tag":77,"props":636,"children":637},{},[638,644],{"type":47,"tag":168,"props":639,"children":641},{"className":640},[],[642],{"type":52,"value":643},"client-localstorage-schema",{"type":52,"value":645}," - Version and minimize localStorage data",{"type":47,"tag":368,"props":647,"children":649},{"id":648},"_5-re-render-optimization-medium",[650],{"type":52,"value":651},"5. Re-render Optimization (MEDIUM)",{"type":47,"tag":73,"props":653,"children":654},{},[655,666,677,688,699,710,721,732,743,754,765,776,787,798,809],{"type":47,"tag":77,"props":656,"children":657},{},[658,664],{"type":47,"tag":168,"props":659,"children":661},{"className":660},[],[662],{"type":52,"value":663},"rerender-defer-reads",{"type":52,"value":665}," - Don't subscribe to state only used in callbacks",{"type":47,"tag":77,"props":667,"children":668},{},[669,675],{"type":47,"tag":168,"props":670,"children":672},{"className":671},[],[673],{"type":52,"value":674},"rerender-memo",{"type":52,"value":676}," - Extract expensive work into memoized components",{"type":47,"tag":77,"props":678,"children":679},{},[680,686],{"type":47,"tag":168,"props":681,"children":683},{"className":682},[],[684],{"type":52,"value":685},"rerender-memo-with-default-value",{"type":52,"value":687}," - Hoist default non-primitive props",{"type":47,"tag":77,"props":689,"children":690},{},[691,697],{"type":47,"tag":168,"props":692,"children":694},{"className":693},[],[695],{"type":52,"value":696},"rerender-dependencies",{"type":52,"value":698}," - Use primitive dependencies in effects",{"type":47,"tag":77,"props":700,"children":701},{},[702,708],{"type":47,"tag":168,"props":703,"children":705},{"className":704},[],[706],{"type":52,"value":707},"rerender-derived-state",{"type":52,"value":709}," - Subscribe to derived booleans, not raw values",{"type":47,"tag":77,"props":711,"children":712},{},[713,719],{"type":47,"tag":168,"props":714,"children":716},{"className":715},[],[717],{"type":52,"value":718},"rerender-derived-state-no-effect",{"type":52,"value":720}," - Derive state during render, not effects",{"type":47,"tag":77,"props":722,"children":723},{},[724,730],{"type":47,"tag":168,"props":725,"children":727},{"className":726},[],[728],{"type":52,"value":729},"rerender-functional-setstate",{"type":52,"value":731}," - Use functional setState for stable callbacks",{"type":47,"tag":77,"props":733,"children":734},{},[735,741],{"type":47,"tag":168,"props":736,"children":738},{"className":737},[],[739],{"type":52,"value":740},"rerender-lazy-state-init",{"type":52,"value":742}," - Pass function to useState for expensive values",{"type":47,"tag":77,"props":744,"children":745},{},[746,752],{"type":47,"tag":168,"props":747,"children":749},{"className":748},[],[750],{"type":52,"value":751},"rerender-simple-expression-in-memo",{"type":52,"value":753}," - Avoid memo for simple primitives",{"type":47,"tag":77,"props":755,"children":756},{},[757,763],{"type":47,"tag":168,"props":758,"children":760},{"className":759},[],[761],{"type":52,"value":762},"rerender-split-combined-hooks",{"type":52,"value":764}," - Split hooks with independent dependencies",{"type":47,"tag":77,"props":766,"children":767},{},[768,774],{"type":47,"tag":168,"props":769,"children":771},{"className":770},[],[772],{"type":52,"value":773},"rerender-move-effect-to-event",{"type":52,"value":775}," - Put interaction logic in event handlers",{"type":47,"tag":77,"props":777,"children":778},{},[779,785],{"type":47,"tag":168,"props":780,"children":782},{"className":781},[],[783],{"type":52,"value":784},"rerender-transitions",{"type":52,"value":786}," - Use startTransition for non-urgent updates",{"type":47,"tag":77,"props":788,"children":789},{},[790,796],{"type":47,"tag":168,"props":791,"children":793},{"className":792},[],[794],{"type":52,"value":795},"rerender-use-deferred-value",{"type":52,"value":797}," - Defer expensive renders to keep input responsive",{"type":47,"tag":77,"props":799,"children":800},{},[801,807],{"type":47,"tag":168,"props":802,"children":804},{"className":803},[],[805],{"type":52,"value":806},"rerender-use-ref-transient-values",{"type":52,"value":808}," - Use refs for transient frequent values",{"type":47,"tag":77,"props":810,"children":811},{},[812,818],{"type":47,"tag":168,"props":813,"children":815},{"className":814},[],[816],{"type":52,"value":817},"rerender-no-inline-components",{"type":52,"value":819}," - Don't define components inside components",{"type":47,"tag":368,"props":821,"children":823},{"id":822},"_6-rendering-performance-medium",[824],{"type":52,"value":825},"6. Rendering Performance (MEDIUM)",{"type":47,"tag":73,"props":827,"children":828},{},[829,840,851,862,873,884,895,906,917,928,939],{"type":47,"tag":77,"props":830,"children":831},{},[832,838],{"type":47,"tag":168,"props":833,"children":835},{"className":834},[],[836],{"type":52,"value":837},"rendering-animate-svg-wrapper",{"type":52,"value":839}," - Animate div wrapper, not SVG element",{"type":47,"tag":77,"props":841,"children":842},{},[843,849],{"type":47,"tag":168,"props":844,"children":846},{"className":845},[],[847],{"type":52,"value":848},"rendering-content-visibility",{"type":52,"value":850}," - Use content-visibility for long lists",{"type":47,"tag":77,"props":852,"children":853},{},[854,860],{"type":47,"tag":168,"props":855,"children":857},{"className":856},[],[858],{"type":52,"value":859},"rendering-hoist-jsx",{"type":52,"value":861}," - Extract static JSX outside components",{"type":47,"tag":77,"props":863,"children":864},{},[865,871],{"type":47,"tag":168,"props":866,"children":868},{"className":867},[],[869],{"type":52,"value":870},"rendering-svg-precision",{"type":52,"value":872}," - Reduce SVG coordinate precision",{"type":47,"tag":77,"props":874,"children":875},{},[876,882],{"type":47,"tag":168,"props":877,"children":879},{"className":878},[],[880],{"type":52,"value":881},"rendering-hydration-no-flicker",{"type":52,"value":883}," - Use inline script for client-only data",{"type":47,"tag":77,"props":885,"children":886},{},[887,893],{"type":47,"tag":168,"props":888,"children":890},{"className":889},[],[891],{"type":52,"value":892},"rendering-hydration-suppress-warning",{"type":52,"value":894}," - Suppress expected mismatches",{"type":47,"tag":77,"props":896,"children":897},{},[898,904],{"type":47,"tag":168,"props":899,"children":901},{"className":900},[],[902],{"type":52,"value":903},"rendering-activity",{"type":52,"value":905}," - Use Activity component for show\u002Fhide",{"type":47,"tag":77,"props":907,"children":908},{},[909,915],{"type":47,"tag":168,"props":910,"children":912},{"className":911},[],[913],{"type":52,"value":914},"rendering-conditional-render",{"type":52,"value":916}," - Use ternary, not && for conditionals",{"type":47,"tag":77,"props":918,"children":919},{},[920,926],{"type":47,"tag":168,"props":921,"children":923},{"className":922},[],[924],{"type":52,"value":925},"rendering-usetransition-loading",{"type":52,"value":927}," - Prefer useTransition for loading state",{"type":47,"tag":77,"props":929,"children":930},{},[931,937],{"type":47,"tag":168,"props":932,"children":934},{"className":933},[],[935],{"type":52,"value":936},"rendering-resource-hints",{"type":52,"value":938}," - Use React DOM resource hints for preloading",{"type":47,"tag":77,"props":940,"children":941},{},[942,948],{"type":47,"tag":168,"props":943,"children":945},{"className":944},[],[946],{"type":52,"value":947},"rendering-script-defer-async",{"type":52,"value":949}," - Use defer or async on script tags",{"type":47,"tag":368,"props":951,"children":953},{"id":952},"_7-javascript-performance-low-medium",[954],{"type":52,"value":955},"7. JavaScript Performance (LOW-MEDIUM)",{"type":47,"tag":73,"props":957,"children":958},{},[959,970,981,992,1003,1014,1025,1036,1047,1058,1069,1080,1091],{"type":47,"tag":77,"props":960,"children":961},{},[962,968],{"type":47,"tag":168,"props":963,"children":965},{"className":964},[],[966],{"type":52,"value":967},"js-batch-dom-css",{"type":52,"value":969}," - Group CSS changes via classes or cssText",{"type":47,"tag":77,"props":971,"children":972},{},[973,979],{"type":47,"tag":168,"props":974,"children":976},{"className":975},[],[977],{"type":52,"value":978},"js-index-maps",{"type":52,"value":980}," - Build Map for repeated lookups",{"type":47,"tag":77,"props":982,"children":983},{},[984,990],{"type":47,"tag":168,"props":985,"children":987},{"className":986},[],[988],{"type":52,"value":989},"js-cache-property-access",{"type":52,"value":991}," - Cache object properties in loops",{"type":47,"tag":77,"props":993,"children":994},{},[995,1001],{"type":47,"tag":168,"props":996,"children":998},{"className":997},[],[999],{"type":52,"value":1000},"js-cache-function-results",{"type":52,"value":1002}," - Cache function results in module-level Map",{"type":47,"tag":77,"props":1004,"children":1005},{},[1006,1012],{"type":47,"tag":168,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":52,"value":1011},"js-cache-storage",{"type":52,"value":1013}," - Cache localStorage\u002FsessionStorage reads",{"type":47,"tag":77,"props":1015,"children":1016},{},[1017,1023],{"type":47,"tag":168,"props":1018,"children":1020},{"className":1019},[],[1021],{"type":52,"value":1022},"js-combine-iterations",{"type":52,"value":1024}," - Combine multiple filter\u002Fmap into one loop",{"type":47,"tag":77,"props":1026,"children":1027},{},[1028,1034],{"type":47,"tag":168,"props":1029,"children":1031},{"className":1030},[],[1032],{"type":52,"value":1033},"js-length-check-first",{"type":52,"value":1035}," - Check array length before expensive comparison",{"type":47,"tag":77,"props":1037,"children":1038},{},[1039,1045],{"type":47,"tag":168,"props":1040,"children":1042},{"className":1041},[],[1043],{"type":52,"value":1044},"js-early-exit",{"type":52,"value":1046}," - Return early from functions",{"type":47,"tag":77,"props":1048,"children":1049},{},[1050,1056],{"type":47,"tag":168,"props":1051,"children":1053},{"className":1052},[],[1054],{"type":52,"value":1055},"js-hoist-regexp",{"type":52,"value":1057}," - Hoist RegExp creation outside loops",{"type":47,"tag":77,"props":1059,"children":1060},{},[1061,1067],{"type":47,"tag":168,"props":1062,"children":1064},{"className":1063},[],[1065],{"type":52,"value":1066},"js-min-max-loop",{"type":52,"value":1068}," - Use loop for min\u002Fmax instead of sort",{"type":47,"tag":77,"props":1070,"children":1071},{},[1072,1078],{"type":47,"tag":168,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":52,"value":1077},"js-set-map-lookups",{"type":52,"value":1079}," - Use Set\u002FMap for O(1) lookups",{"type":47,"tag":77,"props":1081,"children":1082},{},[1083,1089],{"type":47,"tag":168,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":52,"value":1088},"js-tosorted-immutable",{"type":52,"value":1090}," - Use toSorted() for immutability",{"type":47,"tag":77,"props":1092,"children":1093},{},[1094,1100],{"type":47,"tag":168,"props":1095,"children":1097},{"className":1096},[],[1098],{"type":52,"value":1099},"js-flatmap-filter",{"type":52,"value":1101}," - Use flatMap to map and filter in one pass",{"type":47,"tag":368,"props":1103,"children":1105},{"id":1104},"_8-advanced-patterns-low",[1106],{"type":52,"value":1107},"8. Advanced Patterns (LOW)",{"type":47,"tag":73,"props":1109,"children":1110},{},[1111,1122,1133],{"type":47,"tag":77,"props":1112,"children":1113},{},[1114,1120],{"type":47,"tag":168,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":52,"value":1119},"advanced-event-handler-refs",{"type":52,"value":1121}," - Store event handlers in refs",{"type":47,"tag":77,"props":1123,"children":1124},{},[1125,1131],{"type":47,"tag":168,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":52,"value":1130},"advanced-init-once",{"type":52,"value":1132}," - Initialize app once per app load",{"type":47,"tag":77,"props":1134,"children":1135},{},[1136,1142],{"type":47,"tag":168,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":52,"value":1141},"advanced-use-latest",{"type":52,"value":1143}," - useLatest for stable callback refs",{"type":47,"tag":61,"props":1145,"children":1147},{"id":1146},"how-to-use",[1148],{"type":52,"value":1149},"How to Use",{"type":47,"tag":55,"props":1151,"children":1152},{},[1153],{"type":52,"value":1154},"Read individual rule files for detailed explanations and code examples:",{"type":47,"tag":1156,"props":1157,"children":1161},"pre",{"className":1158,"code":1160,"language":52},[1159],"language-text","rules\u002Fasync-parallel.md\nrules\u002Fbundle-barrel-imports.md\n",[1162],{"type":47,"tag":168,"props":1163,"children":1165},{"__ignoreMap":1164},"",[1166],{"type":52,"value":1160},{"type":47,"tag":55,"props":1168,"children":1169},{},[1170],{"type":52,"value":1171},"Each rule file contains:",{"type":47,"tag":73,"props":1173,"children":1174},{},[1175,1180,1185,1190],{"type":47,"tag":77,"props":1176,"children":1177},{},[1178],{"type":52,"value":1179},"Brief explanation of why it matters",{"type":47,"tag":77,"props":1181,"children":1182},{},[1183],{"type":52,"value":1184},"Incorrect code example with explanation",{"type":47,"tag":77,"props":1186,"children":1187},{},[1188],{"type":52,"value":1189},"Correct code example with explanation",{"type":47,"tag":77,"props":1191,"children":1192},{},[1193],{"type":52,"value":1194},"Additional context and references",{"type":47,"tag":61,"props":1196,"children":1198},{"id":1197},"full-compiled-document",[1199],{"type":52,"value":1200},"Full Compiled Document",{"type":47,"tag":55,"props":1202,"children":1203},{},[1204,1206],{"type":52,"value":1205},"For the complete guide with all rules expanded: ",{"type":47,"tag":168,"props":1207,"children":1209},{"className":1208},[],[1210],{"type":52,"value":1211},"AGENTS.md",{"items":1213,"total":1337},[1214,1233,1250,1266,1281,1304,1321],{"slug":1215,"name":1215,"fn":1216,"description":1217,"org":1218,"tags":1219,"stars":25,"repoUrl":26,"updatedAt":1232},"algorithmic-art","create generative art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1220,1223,1226,1229],{"name":1221,"slug":1222,"type":15},"Creative","creative",{"name":1224,"slug":1225,"type":15},"Generative Art","generative-art",{"name":1227,"slug":1228,"type":15},"Graphics","graphics",{"name":1230,"slug":1231,"type":15},"JavaScript","javascript","2026-07-13T06:41:35.540127",{"slug":1234,"name":1234,"fn":1235,"description":1236,"org":1237,"tags":1238,"stars":25,"repoUrl":26,"updatedAt":1249},"antfu","configure JavaScript projects with Anthony Fu's tools","Anthony Fu's opinionated tooling and conventions for JavaScript\u002FTypeScript projects. Use when setting up new projects, configuring ESLint\u002FPrettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1239,1242,1245,1246],{"name":1240,"slug":1241,"type":15},"Best Practices","best-practices",{"name":1243,"slug":1244,"type":15},"Engineering","engineering",{"name":1230,"slug":1231,"type":15},{"name":1247,"slug":1248,"type":15},"TypeScript","typescript","2026-07-13T06:43:13.153309",{"slug":1251,"name":1251,"fn":1252,"description":1253,"org":1254,"tags":1255,"stars":25,"repoUrl":26,"updatedAt":1265},"brand-guidelines","apply Anthropic brand guidelines","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1256,1259,1262],{"name":1257,"slug":1258,"type":15},"Branding","branding",{"name":1260,"slug":1261,"type":15},"Design","design",{"name":1263,"slug":1264,"type":15},"Typography","typography","2026-07-13T06:43:06.077629",{"slug":1267,"name":1267,"fn":1268,"description":1269,"org":1270,"tags":1271,"stars":25,"repoUrl":26,"updatedAt":1280},"canvas-design","create visual art and design assets","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1272,1273,1274,1277],{"name":1221,"slug":1222,"type":15},{"name":1260,"slug":1261,"type":15},{"name":1275,"slug":1276,"type":15},"Images","images",{"name":1278,"slug":1279,"type":15},"PDF","pdf","2026-07-13T06:39:58.803113",{"slug":1282,"name":1282,"fn":1283,"description":1284,"org":1285,"tags":1286,"stars":25,"repoUrl":26,"updatedAt":1303},"ci-cd-containerization-advisor","design CI\u002FCD pipelines for Kotlin applications","Design reproducible build, image, and deployment pipelines for Kotlin plus Spring applications, including CI verification, layered containers, rollout safety, and deployment-time migration coordination. Use when creating or improving Dockerfiles, CI workflows, image hardening, Kubernetes manifests, release gates, or deployment strategies for Spring Boot services, especially where build reproducibility and operational safety matter.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1287,1290,1293,1296,1297,1300],{"name":1288,"slug":1289,"type":15},"CI\u002FCD","ci-cd",{"name":1291,"slug":1292,"type":15},"Containers","containers",{"name":1294,"slug":1295,"type":15},"Deployment","deployment",{"name":1243,"slug":1244,"type":15},{"name":1298,"slug":1299,"type":15},"Kotlin","kotlin",{"name":1301,"slug":1302,"type":15},"Spring","spring","2026-07-13T06:41:47.83899",{"slug":1305,"name":1305,"fn":1306,"description":1307,"org":1308,"tags":1309,"stars":25,"repoUrl":26,"updatedAt":1320},"cloudflare-deploy","deploy applications to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1310,1313,1316,1319],{"name":1311,"slug":1312,"type":15},"Cloudflare","cloudflare",{"name":1314,"slug":1315,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":1317,"slug":1318,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":1294,"slug":1295,"type":15},"2026-07-17T06:04:42.853896",{"slug":1322,"name":1322,"fn":1323,"description":1324,"org":1325,"tags":1326,"stars":25,"repoUrl":26,"updatedAt":1336},"compose-ui-control","interact with Compose Desktop applications","Control a running Compose Desktop application via HTTP. Use when you need to interact with UI elements, click buttons, enter text, wait for elements to appear, or capture screenshots in a Compose Desktop app that has compose-ui-test-server enabled.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1327,1330,1333],{"name":1328,"slug":1329,"type":15},"Automation","automation",{"name":1331,"slug":1332,"type":15},"Desktop","desktop",{"name":1334,"slug":1335,"type":15},"UI Components","ui-components","2026-07-13T06:40:38.798626",128,{"items":1339,"total":1464},[1340,1356,1365,1374,1385,1395,1404,1413,1422,1432,1441,1454],{"slug":1341,"name":1341,"fn":1342,"description":1343,"org":1344,"tags":1345,"stars":1353,"repoUrl":1354,"updatedAt":1355},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1346,1349,1352],{"name":1347,"slug":1348,"type":15},"Architecture","architecture",{"name":1350,"slug":1351,"type":15},"Configuration","configuration",{"name":1243,"slug":1244,"type":15},1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:06:57.311661",{"slug":1357,"name":1357,"fn":1358,"description":1359,"org":1360,"tags":1361,"stars":1353,"repoUrl":1354,"updatedAt":1364},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1362,1363],{"name":1347,"slug":1348,"type":15},{"name":1243,"slug":1244,"type":15},"2026-07-17T06:04:48.066901",{"slug":1366,"name":1366,"fn":1367,"description":1368,"org":1369,"tags":1370,"stars":1353,"repoUrl":1354,"updatedAt":1373},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1371,1372],{"name":1347,"slug":1348,"type":15},{"name":1243,"slug":1244,"type":15},"2026-07-13T06:45:21.757084",{"slug":1375,"name":1375,"fn":1376,"description":1377,"org":1378,"tags":1379,"stars":1353,"repoUrl":1354,"updatedAt":1384},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1380,1381],{"name":1347,"slug":1348,"type":15},{"name":1382,"slug":1383,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":1386,"name":1386,"fn":1387,"description":1388,"org":1389,"tags":1390,"stars":1353,"repoUrl":1354,"updatedAt":1394},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1391],{"name":1392,"slug":1393,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":1396,"name":1396,"fn":1397,"description":1398,"org":1399,"tags":1400,"stars":1353,"repoUrl":1354,"updatedAt":1403},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1401,1402],{"name":1260,"slug":1261,"type":15},{"name":1334,"slug":1335,"type":15},"2026-07-23T05:41:56.638151",{"slug":1405,"name":1405,"fn":1406,"description":1407,"org":1408,"tags":1409,"stars":1353,"repoUrl":1354,"updatedAt":1412},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1410,1411],{"name":1243,"slug":1244,"type":15},{"name":1334,"slug":1335,"type":15},"2026-07-23T05:41:49.666535",{"slug":1414,"name":1414,"fn":1415,"description":1416,"org":1417,"tags":1418,"stars":1353,"repoUrl":1354,"updatedAt":1421},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1419,1420],{"name":1347,"slug":1348,"type":15},{"name":1243,"slug":1244,"type":15},"2026-07-13T06:44:59.507855",{"slug":1423,"name":1423,"fn":1424,"description":1425,"org":1426,"tags":1427,"stars":1353,"repoUrl":1354,"updatedAt":1431},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1428,1429,1430],{"name":1347,"slug":1348,"type":15},{"name":1382,"slug":1383,"type":15},{"name":1243,"slug":1244,"type":15},"2026-07-17T06:06:58.042999",{"slug":1433,"name":1433,"fn":1434,"description":1435,"org":1436,"tags":1437,"stars":1353,"repoUrl":1354,"updatedAt":1440},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1438,1439],{"name":1347,"slug":1348,"type":15},{"name":1243,"slug":1244,"type":15},"2026-07-23T05:41:48.692899",{"slug":1442,"name":1442,"fn":1443,"description":1444,"org":1445,"tags":1446,"stars":1353,"repoUrl":1354,"updatedAt":1453},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1447,1450],{"name":1448,"slug":1449,"type":15},"Debugging","debugging",{"name":1451,"slug":1452,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":1455,"name":1455,"fn":1456,"description":1457,"org":1458,"tags":1459,"stars":1353,"repoUrl":1354,"updatedAt":1463},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1460],{"name":1461,"slug":1462,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188]