skill-creator
81Create Better AI Skills
Building reusable AI skills can be inconsistent without clear structure. This skill guides Claude, Codex, and Claude Code through design, scaffolding, validation, and packaging.
Refactor React Components with Composition
Boolean mode props make React components difficult to extend and understand. Apply composition guidelines to build explicit variants, shared context contracts, and reusable component parts.
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "vercel-composition-patterns" from https://skillstore.io/skills/vercel-labs-vercel-composition-patterns.md and its manifest at https://skillstore.io/api/skills/vercel-labs-vercel-composition-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Using "vercel-composition-patterns". Review a message composer with thread, editing, and forwarding mode flags.
Expected outcome:
Using "vercel-composition-patterns". A forwarding dialog has a message input, sibling preview, and separate submit button that need the same state.
Expected outcome:
Using "vercel-composition-patterns". Should a reusable list replace its data-aware renderItem callback with children?
Expected outcome:
Keep the renderItem callback when the list supplies item data and an index. Prefer children for static layout that requires no callback data.
All 31 static findings are false positives involving React guidance, TypeScript signatures, Markdown formatting, or documentation reference URLs. No evidence found of command execution, system reconnaissance, data exfiltration, or prompt injection in the reviewed source context.
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
https://skillstore.io/skills/vercel-labs-vercel-composition-patterns/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/vercel-labs-vercel-composition-patterns?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/vercel-labs-vercel-composition-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/vercel-labs-vercel-composition-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/vercel-labs-vercel-composition-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>vercel-labs. (2026). vercel-composition-patterns security audit report (audit version 5) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/vercel-labs-vercel-composition-patterns/audits/5@techreport{vercel-labs-vercel-labs-vercel-composition-patterns-2026,
author = {vercel-labs},
title = {vercel-composition-patterns security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/vercel-labs-vercel-composition-patterns/audits/5},
note = {Author version 1.0.0}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "vercel-composition-patterns security audit report (audit version 5)"
version: "1.0.0"
type: report
authors:
- name: "vercel-labs"
date-released: "2026-11-09"
url: "https://skillstore.io/skills/vercel-labs-vercel-composition-patterns/audits/5"
identifiers:
- type: other
value: "skillstore:vercel-labs-vercel-composition-patterns:audit:5"
description: "Skillstore immutable audit report identifier"
Replace branching message composer modes with explicit variants that reuse shared component parts.
Plan compound components and provider contracts so consumers can compose layouts without adding more configuration props.
Assess whether previews, forms, and dialog actions share state through the right provider instead of effects or mutable refs.
Review [component] and explain which boolean mode props increase complexity. Suggest explicit variants and identify the parts they could share.
Refactor [component] into compound components with children composition. Preserve existing behavior and show how each current variant composes the shared parts.
Design a provider for [dialog] with state, actions, and meta. Let its form, sibling preview, and submit action share context without effect synchronization.
Review [component family] and its React version. Design a common context contract for local and synced providers, explicit variants, and a behavior verification plan.
Author
vercel-labsLicense
MIT
Author version
v1.0.0
Skillstore revision
r2
Version notice
The installable content changed, but the author did not update the declared version.
Ref
1f79e59ae427a74eab604c013e03b61f04634721
Maintenance freshness
11/10/2026
Usage
32 downloads ยท 207 views
File structure
๐ AGENTS.md
๐ metadata.json
๐ README.md
๐ rules/
๐ _sections.md
๐ _template.md
๐ architecture-avoid-boolean-props.md
๐ architecture-compound-components.md
๐ patterns-children-over-render-props.md
๐ patterns-explicit-variants.md
๐ state-context-interface.md
๐ state-decouple-implementation.md
๐ state-lift-state.md
๐ SKILL.md
Create Better AI Skills
Building reusable AI skills can be inconsistent without clear structure. This skill guides Claude, Codex, and Claude Code through design, scaffolding, validation, and packaging.
Add Native React View Transitions
Navigation and loading updates can lose visual continuity or create distracting motion. This skill guides agents through purposeful React transitions, Next.js integration, and accessible CSS.
Optimize React Native and Expo Applications
React Native applications can suffer from unnecessary rendering, slow lists, and uneven animations. This skill guides coding assistants with prioritized rules and comparative examples for performance and native interface patterns.
Build Better Next.js Apps
Next.js code can fail when patterns drift across framework versions. This skill guides Claude and Codex with focused rules for App Router, RSC, data, assets, and deployment.
Build Next.js Cache Components
Next.js caching can be hard to apply safely across static, cached, and dynamic content. This skill gives Claude, Codex, and Claude Code practical guidance for Cache Components.
Debug json-render Apps with an Inspector Panel
Generative interfaces can make rendering errors, state changes, and streamed updates difficult to trace. This skill guides devtools integration and inspection workflows for json-render apps.
Analyze Patterns Across Your Codebase
by C0ntr0lledCha0s
Large codebases hide repeated structures and inconsistent decisions. This skill maps design patterns, architecture, conventions, duplication, and anti-patterns with evidence and recommendations.
Search Code by AST Structure
by 0xDarkMatter
Text searches miss semantic relationships and produce noisy matches. This skill uses ast-grep patterns to locate code structures and prepare focused refactors.
Find Code Context Faster
by 89jobrien
Developers often lose time tracing why code exists and what depends on it. This skill prompts Claude, Codex, or Claude Code to gather related graph knowledge, callers, imports, and tests before changes.
Build Fullstack Apps With Senior Guidance
by alirezarezvani
Fullstack projects often need consistent setup, architecture choices, and quality checks. This skill provides scripts and references for React, Next.js, Node.js, GraphQL, and PostgreSQL work.
Build Type-Safe React Components
by softaworks
React TypeScript work often needs precise event, hook, and route types. This skill provides focused patterns for typed components, React 19 APIs, and routing.
Build Frontend Apps Faster
by davila7
Frontend work often needs consistent React patterns, performance checks, and project scaffolding. This skill gives Claude and compatible agents practical guidance and local helper scripts for modern web application development.