[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72W8T3SBZM9F1XTSFS3526Q":3,"skill-same:01M72W8T3SBZM9F1XTSFS3526Q":104},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M72W8T3SBZM9F1XTSFS3526Q","vercel-composition-patterns",null,"React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","MarcoAntolini\u002Fcursor-sync","MarcoAntolini","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93138565?v=4","01M72W618G41ZZFNR0KJ6724M8","Marco Antolini","01M72W6195MH8K3ZM80QXTVQ2G",1,"MIT","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: vercel-composition-patterns\ndescription:\n  React composition patterns that scale. Use when refactoring components with\n  boolean prop proliferation, building flexible component libraries, or\n  designing reusable APIs. Triggers on tasks involving compound components,\n  render props, context providers, or component architecture. Includes React 19\n  API changes.\nlicense: MIT\nmetadata:\n  author: vercel\n  version: '1.0.0'\n---\n\n# React Composition Patterns\n\nComposition patterns for building flexible, maintainable React components. Avoid\nboolean prop proliferation by using compound components, lifting state, and\ncomposing internals. These patterns make codebases easier for both humans and AI\nagents to work with as they scale.\n\n## When to Apply\n\nReference these guidelines when:\n\n- Refactoring components with many boolean props\n- Building reusable component libraries\n- Designing flexible component APIs\n- Reviewing component architecture\n- Working with compound components or context providers\n\n## Rule Categories by Priority\n\n| Priority | Category                | Impact | Prefix          |\n| -------- | ----------------------- | ------ | --------------- |\n| 1        | Component Architecture  | HIGH   | `architecture-` |\n| 2        | State Management        | MEDIUM | `state-`        |\n| 3        | Implementation Patterns | MEDIUM | `patterns-`     |\n| 4        | React 19 APIs           | MEDIUM | `react19-`      |\n\n## Quick Reference\n\n### 1. Component Architecture (HIGH)\n\n- `architecture-avoid-boolean-props` - Don't add boolean props to customize\n  behavior; use composition\n- `architecture-compound-components` - Structure complex components with shared\n  context\n\n### 2. State Management (MEDIUM)\n\n- `state-decouple-implementation` - Provider is the only place that knows how\n  state is managed\n- `state-context-interface` - Define generic interface with state, actions, meta\n  for dependency injection\n- `state-lift-state` - Move state into provider components for sibling access\n\n### 3. Implementation Patterns (MEDIUM)\n\n- `patterns-explicit-variants` - Create explicit variant components instead of\n  boolean modes\n- `patterns-children-over-render-props` - Use children for composition instead\n  of renderX props\n\n### 4. React 19 APIs (MEDIUM)\n\n> **⚠️ React 19+ only.** Skip this section if using React 18 or earlier.\n\n- `react19-no-forwardref` - Don't use `forwardRef`; use `use()` instead of `useContext()`\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Farchitecture-avoid-boolean-props.md\nrules\u002Fstate-context-interface.md\n```\n\nEach rule file contains:\n\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","# React Composition Patterns\n\nComposition patterns for building flexible, maintainable React components. Avoid\nboolean prop proliferation by using compound components, lifting state, and\ncomposing internals. These patterns make codebases easier for both humans and AI\nagents to work with as they scale.\n\n## When to Apply\n\nReference these guidelines when:\n\n- Refactoring components with many boolean props\n- Building reusable component libraries\n- Designing flexible component APIs\n- Reviewing component architecture\n- Working with compound components or context providers\n\n## Rule Categories by Priority\n\n| Priority | Category                | Impact | Prefix          |\n| -------- | ----------------------- | ------ | --------------- |\n| 1        | Component Architecture  | HIGH   | `architecture-` |\n| 2        | State Management        | MEDIUM | `state-`        |\n| 3        | Implementation Patterns | MEDIUM | `patterns-`     |\n| 4        | React 19 APIs           | MEDIUM | `react19-`      |\n\n## Quick Reference\n\n### 1. Component Architecture (HIGH)\n\n- `architecture-avoid-boolean-props` - Don't add boolean props to customize\n  behavior; use composition\n- `architecture-compound-components` - Structure complex components with shared\n  context\n\n### 2. State Management (MEDIUM)\n\n- `state-decouple-implementation` - Provider is the only place that knows how\n  state is managed\n- `state-context-interface` - Define generic interface with state, actions, meta\n  for dependency injection\n- `state-lift-state` - Move state into provider components for sibling access\n\n### 3. Implementation Patterns (MEDIUM)\n\n- `patterns-explicit-variants` - Create explicit variant components instead of\n  boolean modes\n- `patterns-children-over-render-props` - Use children for composition instead\n  of renderX props\n\n### 4. React 19 APIs (MEDIUM)\n\n> **⚠️ React 19+ only.** Skip this section if using React 18 or earlier.\n\n- `react19-no-forwardref` - Don't use `forwardRef`; use `use()` instead of `useContext()`\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Farchitecture-avoid-boolean-props.md\nrules\u002Fstate-context-interface.md\n```\n\nEach rule file contains:\n\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",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26},"vercel","1.0.0","main","e87e5a0098b7230b3be698fcd31807888a473c3d","agents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns",0,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync","https:\u002F\u002Fgithub.com\u002FMarcoAntolini","https:\u002F\u002Fmarcoantolini.com","Computer Science and Engineering student @ Alma Mater Studiorum - University of Bologna","2026-07-18 04:47:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add MarcoAntolini\u002Fcursor-sync --skill vercel-composition-patterns",{"tool":42,"command":43},"bunx","bunx skills add MarcoAntolini\u002Fcursor-sync --skill vercel-composition-patterns",{"tool":45,"command":46},"pnpm","pnpm dlx skills add MarcoAntolini\u002Fcursor-sync --skill vercel-composition-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002FSKILL.md",true,[50,56,60,64,68,72,76,80,84,88,92,96,100],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"AGENTS.md","REFERENCE","参考文档",22627,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002FAGENTS.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"metadata.json",530,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Fmetadata.json",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"README.md",2140,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002FREADME.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"rules\u002F_sections.md",829,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002F_sections.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"rules\u002F_template.md",329,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002F_template.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"rules\u002Farchitecture-avoid-boolean-props.md",2267,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Farchitecture-avoid-boolean-props.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"rules\u002Farchitecture-compound-components.md",2600,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Farchitecture-compound-components.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"rules\u002Fpatterns-children-over-render-props.md",1886,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Fpatterns-children-over-render-props.md",{"path":85,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":86,"sourceHtmlUrl":87},"rules\u002Fpatterns-explicit-variants.md",2395,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Fpatterns-explicit-variants.md",{"path":89,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":90,"sourceHtmlUrl":91},"rules\u002Freact19-no-forwardref.md",953,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Freact19-no-forwardref.md",{"path":93,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":94,"sourceHtmlUrl":95},"rules\u002Fstate-context-interface.md",4974,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Fstate-context-interface.md",{"path":97,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":98,"sourceHtmlUrl":99},"rules\u002Fstate-decouple-implementation.md",2699,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Fstate-decouple-implementation.md",{"path":101,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":102,"sourceHtmlUrl":103},"rules\u002Fstate-lift-state.md",3224,"https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-composition-patterns\u002Frules\u002Fstate-lift-state.md",[105,113,120,127,136],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M72WATZRADG3VQH19WDT5RYG","playwright-best-practices","Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI\u002FCD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads\u002Fdownloads, date\u002Ftime mocking, WebSockets, geolocation, permissions, multi-tab\u002Fpopup flows, mobile\u002Fresponsive layouts, touch gestures, GraphQL, error handling, offline mode, multi-user collaboration, third-party services (payments, email verification), console error monitoring, global setup\u002Fteardown, test annotations (skip, fixme, slow), test tags (@smoke, @fast, @critical, filtering with --grep), project dependencies, security testing (XSS, CSRF, auth), performance budgets (Web Vitals, Lighthouse), iframes, component testing, canvas\u002FWebGL, service workers\u002FPWA, test coverage, i18n\u002Flocalization, Electron apps, or browser extension testing. Covers E2E, component, API, visual, accessibility, security, Electron, and extension testing.","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ftesting\u002Fplaywright-best-practices\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ftesting\u002Fplaywright-best-practices\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M72W9154SR6NN9E3RAX44MSW","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-react-view-transitions\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M72W8WZFGB8CHANG3AZMQ1M6","vercel-react-best-practices","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.","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Fvercel\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":131,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M72W87CAEHCA4YB0F1D5TWGE","frontend-design","Opt-in only — invoke by name. Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. Prefer impeccable or design-taste-frontend unless the user explicitly asks for this skill.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Ffrontend\u002Ffrontend-design\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M72W6567KATW27ATFJB7K4JG","fallow","Codebase intelligence for TypeScript and JavaScript. Static analysis of code and styles reports changed-code risk, cleanup opportunities, duplication, circular dependencies, complexity hotspots, architecture boundaries, design-system drift, feature flags, and opt-in security candidates. Runtime coverage can merge production execution data for hot-path review, cold-path deletion confidence, and stale-flag evidence. 123 framework plugins, zero configuration, sub-second static analysis. Use when asked to audit PR risk, find unused code or dependencies, detect duplicates, check styling consistency, inspect architecture boundaries, merge runtime coverage, auto-fix supported issues, or run fallow.","https:\u002F\u002Fgithub.com\u002FMarcoAntolini\u002Fcursor-sync\u002Fblob\u002Fmain\u002Fagents\u002Fskills\u002Fcode-quality\u002Ffallow\u002FSKILL.md",[],[]]