[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76R8MGM976BT2NE2P8485TR":3,"skill-same:01M76R8MGM976BT2NE2P8485TR":102},{"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":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M76R8MGM976BT2NE2P8485TR","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.","TanNhatCMS\u002Fawesome-trae-agent","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M753MV2NWFCT20B8QNQ0RRMP",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",[],[],"2026-11-12 13:55:43",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","e96f7a872dec0d6e199d100f81190859e395e037",".trae\u002Fskills\u002Fvercel-composition-patterns","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-08-29 16:02:29",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add TanNhatCMS\u002Fawesome-trae-agent --skill vercel-composition-patterns",{"tool":40,"command":41},"bunx","bunx skills add TanNhatCMS\u002Fawesome-trae-agent --skill vercel-composition-patterns",{"tool":43,"command":44},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fawesome-trae-agent --skill vercel-composition-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",true,[48,54,58,62,66,70,74,78,82,86,90,94,98],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"AGENTS.md","REFERENCE","参考文档",22627,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002FAGENTS.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"metadata.json",530,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Fmetadata.json",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"README.md",2140,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002FREADME.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"rules\u002F_sections.md",829,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002F_sections.md",{"path":67,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":68,"sourceHtmlUrl":69},"rules\u002F_template.md",329,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002F_template.md",{"path":71,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":72,"sourceHtmlUrl":73},"rules\u002Farchitecture-avoid-boolean-props.md",2267,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Farchitecture-avoid-boolean-props.md",{"path":75,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":76,"sourceHtmlUrl":77},"rules\u002Farchitecture-compound-components.md",2600,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Farchitecture-compound-components.md",{"path":79,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":80,"sourceHtmlUrl":81},"rules\u002Fpatterns-children-over-render-props.md",1886,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fpatterns-children-over-render-props.md",{"path":83,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":84,"sourceHtmlUrl":85},"rules\u002Fpatterns-explicit-variants.md",2395,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fpatterns-explicit-variants.md",{"path":87,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":88,"sourceHtmlUrl":89},"rules\u002Freact19-no-forwardref.md",953,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Freact19-no-forwardref.md",{"path":91,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":92,"sourceHtmlUrl":93},"rules\u002Fstate-context-interface.md",4974,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fstate-context-interface.md",{"path":95,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":96,"sourceHtmlUrl":97},"rules\u002Fstate-decouple-implementation.md",2699,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fstate-decouple-implementation.md",{"path":99,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":100,"sourceHtmlUrl":101},"rules\u002Fstate-lift-state.md",3224,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002F.trae\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fstate-lift-state.md",[103,111,119,127,135,144],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M76RFHQGFWFXENTPSBN2KBQ3","web-search","Implement web search capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to search for real-time information from the web, retrieve up-to-date content beyond the knowledge cutoff, or find the latest news and data. Returns structured search results with URLs, snippets, and metadata.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fweb-search\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fweb-search\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M76RFCS04XJPKHW0NJ0WRFEF","web-reader","Implement web page content extraction capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to scrape web pages, extract article content, retrieve page metadata, or build applications that process web content. Supports automatic content extraction with title, HTML, and publication time retrieval.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fweb-reader\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fweb-reader\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M76RF34Z9FRNRXPG45NTVT7G","video-understand","Implement specialized video understanding capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze video content, understand motion and temporal sequences, extract information from video frames, describe video scenes, or perform video-based AI analysis. Optimized for MP4, AVI, MOV, and other common video formats.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fvideo-understand\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fvideo-understand\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":15,"licenseFileUrl":131,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M76REX1SZH5M3D27P7QHQ4TH","Video Generation","Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fvideo-generation\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fvideo-generation\u002FSKILL.md",[],[],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":139,"licenseFileUrl":140,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M76RE1KZYW096QCARZVHGGT9","skill-creator","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":139,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M76RDVC9JQE2E10PC0YNNFCP","seo-content-writer","Use when the user asks to \"write SEO content\", \"create a blog post\", \"write an article\", \"content writing\", \"draft optimized content\", \"write me an article\", \"create a blog post about\", \"help me write SEO content\", or \"draft content for\". Creates high-quality, SEO-optimized content that ranks in search engines. Applies on-page SEO best practices, keyword optimization, and content structure for maximum visibility and engagement. For AI citation optimization, see geo-content-optimizer. For updating existing content, see content-refresher.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fawesome-trae-agent\u002Fblob\u002Fmain\u002Fawesome-z.ai\u002Fseo-content-writer\u002FSKILL.md",[],[]]