{"slug":"vercel-react-best-practices","name":"Vercel React Best Practices","description":"React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.","long_description":"---\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/Next.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  author: vercel\n  version: \"1.0.0\"\n---\n\n# Vercel React Best Practices\n\nComprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 70 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/Next.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-cheap-condition-before-await` - Check cheap sync conditions before awaiting flags or remote values\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-analyzable-paths` - Prefer statically analyzable import and file-system paths to avoid broad bundles and traces\n- `bundle-dynamic-imports` - Use next/dynamic for heavy components\n- `bundle-defer-third-party` - Load analytics/logging after hydration\n- `bundle-conditional` - Load modules only when feature is activated\n- `bundle-preload` - Preload on hover/focus 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/O (fonts, logos) to module level\n- `server-no-shared-module-state` - Avoid module-level mutable request state in RSC/SSR\n- `server-serialization` - Minimize data passed to client components\n- `server-parallel-fetching` - Restructure components to parallelize fetches\n- `server-parallel-nested-fetching` - Chain nested fetches per item in Promise.all\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/hide\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/sessionStorage reads\n- `js-combine-iterations` - Combine multiple filter/map 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/max instead of sort\n- `js-set-map-lookups` - Use Set/Map 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- `js-request-idle-callback` - Defer non-critical work to browser idle time\n\n### 8. Advanced Patterns (LOW)\n\n- `advanced-effect-event-deps` - Don't put `useEffectEvent` results in effect deps\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/async-parallel.md\nrules/bundle-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","tagline":"React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.","category":"coding-agents","tags":["agent-skill","react","nextjs","performance","frontend","code-review","web-vitals"],"author":"vercel-labs","verified":true,"attribution":{"status":"registry_indexed","statusLabel":"Registry indexed","shortLabel":"REGISTRY INDEXED","sourceLabel":"official skill path","sourceDetail":"vercel-labs/agent-skills","creatorName":"vercel-labs","creatorUrl":"https://github.com/vercel-labs","sourceUrl":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","indexedBy":"OpenAgentSkill community index","claimUrl":"https://www.openagentskill.com/skills/vercel-react-best-practices#claim-this-skill","claimCta":"Claim this skill","trustNote":"This listing was indexed from public sources and is not marked official until a maintainer claim is approved.","publicNote":"Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals."},"stats":{"stars":30850,"forks":2738,"verified_installs":1,"successful_runs":1,"total_outcomes":1,"rating":0,"review_count":0,"quality_score":80.07},"quality":{"score":100,"tier":"excellent","label":"Excellent","summary":"High-confidence pick with strong adoption and healthy maintenance signals.","signals":[{"label":"GitHub stars","value":"31K","tone":"positive"},{"label":"Freshness","value":"7d ago","tone":"positive"},{"label":"Install ready","value":"Yes","tone":"positive"},{"label":"License","value":"MIT","tone":"neutral"}],"warnings":[]},"trust":{"version":"trust-score-v5","score":78,"base_score":92,"outcome_confidence":0.25,"tier":"strong","label":"Review then install","summary":"Good shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.","recommendedAction":"Use as the primary candidate after human or sandbox review.","decision":{"install_policy":"agent_install_candidate","auto_install_allowed":false,"human_review_required":true,"sandbox_first":true,"agent_action":"Ask for approval or run a sandbox-only trial before installing.","reasoning":["78/100 Trust Score v5","92/100 Trust Score v4 baseline","Needs more real agent outcomes before unattended install","Install path is available","Review before production"],"review_required_when":["The workspace contains production secrets, payments, private customer data, or irreversible actions.","The install command requests shell, network, credential, database, or broad filesystem access.","Outcome evidence is missing, recently failed, or required human review.","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"]},"dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":100,"weight":0.13,"status":"pass","detail":"31K GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":97,"weight":0.08,"status":"pass","detail":"31K stars, 2.7K forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"7d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":100,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":82,"weight":0.12,"status":"pass","detail":"network or browser surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":60,"weight":0.07,"status":"warn","detail":"filesystem or document access, network or browser access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices"},{"id":"review_status","label":"Review status","score":88,"weight":0.05,"status":"pass","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":42,"weight":0.13,"status":"warn","detail":"Early agent signal: 100% success from 1 agent outcomes"}],"checks":[{"status":"pass","label":"GitHub adoption","detail":"31K GitHub stars"},{"status":"pass","label":"Stars/forks activity","detail":"31K stars, 2.7K forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"7d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"pass","label":"Dependency/runtime risk","detail":"network or browser surface"},{"status":"pass","label":"Install availability","detail":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"warn","label":"Permission surface","detail":"filesystem or document access, network or browser access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices"},{"status":"pass","label":"Review status","detail":"AI review data available"},{"status":"warn","label":"Agent Proven outcomes","detail":"Early agent signal: 100% success from 1 agent outcomes"},{"status":"pass","label":"Ownership","detail":"Listing manually verified"},{"status":"pass","label":"OpenAgentSkill usage","detail":"90 views, 7 install copies"},{"status":"warn","label":"Agent outcomes","detail":"Early agent signal: 100% success from 1 agent outcomes"}],"strengths":["Manually verified listing","AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Large GitHub adoption signal","Install command has no obvious high-risk pattern","OpenAgentSkill usage activity detected","Outcome confidence 25% from 1 report(s)"],"warnings":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes","Human review required before unattended installation"],"evidence":{"stars":"31K GitHub stars","repoActivity":"31K stars, 2.7K forks","lastPushed":"7d since push","license":"MIT","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","install":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","installSafety":"standard package or runtime install path","permissionSurface":"filesystem or document access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"Early agent signal: 100% success from 1 agent outcomes","agentProvenScore":42,"outcomeConfidence":"25%","installPolicy":"agent_install_candidate"},"installReadiness":{"ready":true,"command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","policy":"agent_install_candidate","label":"Agent install candidate","notes":["Install path is available","Repository evidence is available","License is declared","Early agent signal (42/100 Agent Proven)","7d since push","Trust Score v5 requires review or sandbox-only use before install."]},"agentCompatibility":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"]},"outcomeEvidence":{"total":1,"successes":1,"failures":0,"notRelevant":0,"successRate":100,"installAttempts":1,"riskBlocked":0,"setupRequired":0,"installSuccessRate":100,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":100,"recentFailureRate":0,"uniqueAgents":1,"agentProvenScore":42,"agentProvenLabel":"Early agent signal","lastOutcomeAt":"2026-08-28T02:04:51.603489+00:00","label":"Early agent signal: 100% success from 1 agent outcomes"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"agent_install_candidate","reason":"Ask for approval or run a sandbox-only trial before installing."},"outcome_loop":{"version":"openagentskill-agent-outcome-v4","required_after_install":true,"endpoint":"/api/agent/outcome","method":"POST","event_id_source":"feedback.event_id, install_receipt.resolve_event_id, or decision_packet.outcome_feedback.event_id","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"required_fields":["event_id","skill_slug","task"],"quality_fields":["task_success","output_quality","error_type","human_review_required","used_in_production","workspace","evidence_url","time_to_useful_ms","source_version"],"ranking_inputs_updated":["Trust Score v5 outcome confidence","Agent Proven Score","Resolve ranking task-fit evidence","Skill detail machine-readable metadata","Outcome leaderboard"]},"agent_contract":{"suited_tasks":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"suited_agents":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI"],"install_command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","trust_score":78,"trust_version":"trust-score-v5","risk_level":"medium","do_not_use_when":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"before_install":["Read the audit page and machine-readable metadata.","Confirm the install command, license, and permission surface fit the workspace.","Get explicit human approval or choose an alternative before installing."],"after_run":["Report the outcome to /api/agent/outcome using the resolve event id.","Include output_quality, workspace, human_review_required, and evidence_url when available.","Re-resolve before broad production rollout."]},"bestFor":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"knownRisks":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"],"backward_compatible":{"trust_score_v4":{"version":"trust-score-v4","score":92,"tier":"production","label":"Production candidate","summary":"Strong OpenAgentSkill Trust Score across adoption, recent maintenance, license clarity, documentation, dependency/runtime risk, install safety, permission surface, and install availability."}}},"trust_score_v5":{"version":"trust-score-v5","score":78,"base_score":92,"outcome_confidence":0.25,"tier":"strong","label":"Review then install","summary":"Good shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.","recommendedAction":"Use as the primary candidate after human or sandbox review.","decision":{"install_policy":"agent_install_candidate","auto_install_allowed":false,"human_review_required":true,"sandbox_first":true,"agent_action":"Ask for approval or run a sandbox-only trial before installing.","reasoning":["78/100 Trust Score v5","92/100 Trust Score v4 baseline","Needs more real agent outcomes before unattended install","Install path is available","Review before production"],"review_required_when":["The workspace contains production secrets, payments, private customer data, or irreversible actions.","The install command requests shell, network, credential, database, or broad filesystem access.","Outcome evidence is missing, recently failed, or required human review.","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"]},"dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":100,"weight":0.13,"status":"pass","detail":"31K GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":97,"weight":0.08,"status":"pass","detail":"31K stars, 2.7K forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"7d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":100,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":82,"weight":0.12,"status":"pass","detail":"network or browser surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":60,"weight":0.07,"status":"warn","detail":"filesystem or document access, network or browser access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices"},{"id":"review_status","label":"Review status","score":88,"weight":0.05,"status":"pass","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":42,"weight":0.13,"status":"warn","detail":"Early agent signal: 100% success from 1 agent outcomes"}],"checks":[{"status":"pass","label":"GitHub adoption","detail":"31K GitHub stars"},{"status":"pass","label":"Stars/forks activity","detail":"31K stars, 2.7K forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"7d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"pass","label":"Dependency/runtime risk","detail":"network or browser surface"},{"status":"pass","label":"Install availability","detail":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"warn","label":"Permission surface","detail":"filesystem or document access, network or browser access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices"},{"status":"pass","label":"Review status","detail":"AI review data available"},{"status":"warn","label":"Agent Proven outcomes","detail":"Early agent signal: 100% success from 1 agent outcomes"},{"status":"pass","label":"Ownership","detail":"Listing manually verified"},{"status":"pass","label":"OpenAgentSkill usage","detail":"90 views, 7 install copies"},{"status":"warn","label":"Agent outcomes","detail":"Early agent signal: 100% success from 1 agent outcomes"}],"strengths":["Manually verified listing","AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Large GitHub adoption signal","Install command has no obvious high-risk pattern","OpenAgentSkill usage activity detected","Outcome confidence 25% from 1 report(s)"],"warnings":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes","Human review required before unattended installation"],"evidence":{"stars":"31K GitHub stars","repoActivity":"31K stars, 2.7K forks","lastPushed":"7d since push","license":"MIT","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","install":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","installSafety":"standard package or runtime install path","permissionSurface":"filesystem or document access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"Early agent signal: 100% success from 1 agent outcomes","agentProvenScore":42,"outcomeConfidence":"25%","installPolicy":"agent_install_candidate"},"installReadiness":{"ready":true,"command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","policy":"agent_install_candidate","label":"Agent install candidate","notes":["Install path is available","Repository evidence is available","License is declared","Early agent signal (42/100 Agent Proven)","7d since push","Trust Score v5 requires review or sandbox-only use before install."]},"agentCompatibility":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"]},"outcomeEvidence":{"total":1,"successes":1,"failures":0,"notRelevant":0,"successRate":100,"installAttempts":1,"riskBlocked":0,"setupRequired":0,"installSuccessRate":100,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":100,"recentFailureRate":0,"uniqueAgents":1,"agentProvenScore":42,"agentProvenLabel":"Early agent signal","lastOutcomeAt":"2026-08-28T02:04:51.603489+00:00","label":"Early agent signal: 100% success from 1 agent outcomes"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"agent_install_candidate","reason":"Ask for approval or run a sandbox-only trial before installing."},"outcome_loop":{"version":"openagentskill-agent-outcome-v4","required_after_install":true,"endpoint":"/api/agent/outcome","method":"POST","event_id_source":"feedback.event_id, install_receipt.resolve_event_id, or decision_packet.outcome_feedback.event_id","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"required_fields":["event_id","skill_slug","task"],"quality_fields":["task_success","output_quality","error_type","human_review_required","used_in_production","workspace","evidence_url","time_to_useful_ms","source_version"],"ranking_inputs_updated":["Trust Score v5 outcome confidence","Agent Proven Score","Resolve ranking task-fit evidence","Skill detail machine-readable metadata","Outcome leaderboard"]},"agent_contract":{"suited_tasks":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"suited_agents":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI"],"install_command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","trust_score":78,"trust_version":"trust-score-v5","risk_level":"medium","do_not_use_when":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"before_install":["Read the audit page and machine-readable metadata.","Confirm the install command, license, and permission surface fit the workspace.","Get explicit human approval or choose an alternative before installing."],"after_run":["Report the outcome to /api/agent/outcome using the resolve event id.","Include output_quality, workspace, human_review_required, and evidence_url when available.","Re-resolve before broad production rollout."]},"bestFor":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"knownRisks":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"],"backward_compatible":{"trust_score_v4":{"version":"trust-score-v4","score":92,"tier":"production","label":"Production candidate","summary":"Strong OpenAgentSkill Trust Score across adoption, recent maintenance, license clarity, documentation, dependency/runtime risk, install safety, permission surface, and install availability."}}},"trust_score_v4":{"version":"trust-score-v4","score":92,"tier":"production","label":"Production candidate","summary":"Strong OpenAgentSkill Trust Score across adoption, recent maintenance, license clarity, documentation, dependency/runtime risk, install safety, permission surface, and install availability.","recommendedAction":"Shortlist for production use, then run a normal repository and dependency review.","dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":100,"weight":0.13,"status":"pass","detail":"31K GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":97,"weight":0.08,"status":"pass","detail":"31K stars, 2.7K forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"7d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":100,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":82,"weight":0.12,"status":"pass","detail":"network or browser surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":60,"weight":0.07,"status":"warn","detail":"filesystem or document access, network or browser access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices"},{"id":"review_status","label":"Review status","score":88,"weight":0.05,"status":"pass","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":42,"weight":0.13,"status":"warn","detail":"Early agent signal: 100% success from 1 agent outcomes"}],"checks":[{"status":"pass","label":"GitHub adoption","detail":"31K GitHub stars"},{"status":"pass","label":"Stars/forks activity","detail":"31K stars, 2.7K forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"7d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"pass","label":"Dependency/runtime risk","detail":"network or browser surface"},{"status":"pass","label":"Install availability","detail":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"warn","label":"Permission surface","detail":"filesystem or document access, network or browser access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices"},{"status":"pass","label":"Review status","detail":"AI review data available"},{"status":"warn","label":"Agent Proven outcomes","detail":"Early agent signal: 100% success from 1 agent outcomes"},{"status":"pass","label":"Ownership","detail":"Listing manually verified"},{"status":"pass","label":"OpenAgentSkill usage","detail":"90 views, 7 install copies"},{"status":"warn","label":"Agent outcomes","detail":"Early agent signal: 100% success from 1 agent outcomes"}],"strengths":["Manually verified listing","AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Large GitHub adoption signal","Install command has no obvious high-risk pattern","OpenAgentSkill usage activity detected"],"warnings":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"],"evidence":{"stars":"31K GitHub stars","repoActivity":"31K stars, 2.7K forks","lastPushed":"7d since push","license":"MIT","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","install":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","installSafety":"standard package or runtime install path","permissionSurface":"filesystem or document access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"Early agent signal: 100% success from 1 agent outcomes"},"installReadiness":{"ready":true,"command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","policy":"agent_install_candidate","label":"Agent install candidate","notes":["Install path is available","Repository evidence is available","License is declared","Early agent signal (42/100 Agent Proven)","7d since push"]},"agentCompatibility":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"]},"outcomeEvidence":{"total":1,"successes":1,"failures":0,"notRelevant":0,"successRate":100,"installAttempts":1,"riskBlocked":0,"setupRequired":0,"installSuccessRate":100,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":100,"recentFailureRate":0,"uniqueAgents":1,"agentProvenScore":42,"agentProvenLabel":"Early agent signal","lastOutcomeAt":"2026-08-28T02:04:51.603489+00:00","label":"Early agent signal: 100% success from 1 agent outcomes"},"autoInstall":{"allowed":true,"sandboxRequired":false,"policy":"agent_install_candidate","reason":"Trust Score v4 allows sandbox-first agent installation after normal workspace review."},"bestFor":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface"],"knownRisks":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"]},"agent_proven":{"version":"agent-proven-v1","score":42,"tier":"early","label":"Early agent signal","summary":"Early agent signal: 1 outcome, 100% success, Agent Proven Score 42/100.","metrics":{"totalOutcomes":1,"successfulOutcomes":1,"failedOutcomes":0,"installAttempts":1,"installSuccessRate":100,"successRate":100,"recentSuccessRate":100,"recentFailureRate":0,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":1,"lastOutcomeAt":"2026-08-28T02:04:51.603489+00:00"},"signals":["100% all-time success","100% recent success","1 install attempt","1 agent surface"],"penalties":[]},"outcome_stats":{"skill_slug":"vercel-react-best-practices","total_outcomes":1,"successful_outcomes":1,"failed_outcomes":0,"not_relevant_outcomes":0,"risk_blocked_outcomes":0,"setup_required_outcomes":0,"install_attempts":1,"verified_installs":1,"success_rate":100,"install_success_rate":100,"avg_output_quality":null,"avg_time_to_useful_ms":null,"production_outcomes":0,"human_review_required_outcomes":0,"low_quality_outcomes":0,"recent_outcomes_30d":1,"recent_successful_outcomes_30d":1,"recent_failed_outcomes_30d":0,"recent_success_rate":100,"recent_failure_rate":0,"unique_agents":1,"agent_proven_score":42.3,"last_success_at":"2026-08-28T02:04:51.603489+00:00","last_failure_at":null,"last_outcome_at":"2026-08-28T02:04:51.603489+00:00","updated_at":"2026-08-28T02:04:51.603489+00:00"},"safety":{"score":59,"level":"review_before_install","label":"Review before install","safety_tier":{"tier":"reviewed","label":"Reviewed with permission notes","badge":"REVIEWED","summary":"Usable candidate, but the agent should surface permission and audit notes before installation.","recommended_action":"Require human approval before installing into a real workspace.","auto_install_policy":"review","reasons":["High-risk permission hints: Secrets or environment access","59/100 agent safety score"]},"auto_install_allowed":false,"human_review_required":true,"blocked":false,"audit_risk":"safe_to_try","permission_hints":[{"id":"browser","label":"Browser automation","reason":"Skill may drive a browser or interact with web pages.","severity":"medium"},{"id":"network","label":"Network access","reason":"Skill likely fetches remote pages, APIs, repositories, or external services.","severity":"medium"},{"id":"filesystem","label":"Filesystem access","reason":"Skill may read or write project files, documents, generated artifacts, or local workspace state.","severity":"medium"},{"id":"secrets","label":"Secrets or environment access","reason":"Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.","severity":"high"},{"id":"database","label":"Database access","reason":"Skill may inspect schemas, query databases, or work with persistent stores.","severity":"medium"}],"policy_warnings":["High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing"],"constraints_applied":{"max_risk":"medium","needs_install_command":true,"min_stars":0}},"safety_gate":{"tier":"reviewed","label":"Reviewed with permission notes","badge":"REVIEWED","auto_install_policy":"review","auto_install_allowed":false,"blocked":false,"human_review_required":true,"recommended_action":"Require human approval before installing into a real workspace.","reasons":["High-risk permission hints: Secrets or environment access","59/100 agent safety score"]},"eval":{"version":"openagentskill-skill-eval-v1","status":"review","score":87,"risk_level":"medium","decision":{"recommendation":"manual_review","reason":"Require human approval before installing into a real workspace.","auto_install_allowed":false,"policy":"review","human_review_required":true},"blockers":[],"warnings":["Agent safety gate: Usable candidate, but the agent should surface permission and audit notes before installation.","Permission surface: filesystem or document access, network or browser access","High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access"],"validation_plan":["Inspect repository, README/SKILL.md, license, and recent commits before production use.","Install in an isolated workspace or sandbox with no production secrets available.","Run the smallest representative task and record files touched, commands run, network access, and outputs.","Compare the selected skill against at least one alternative when the eval status is review or failed.","Promote only after the agent reports a successful verification result and unresolved warnings are accepted."],"checks":[{"id":"task_fit","label":"Task fit","status":"pass","score":94,"required_for_auto_install":true,"detail":"Task wording matches this skill metadata.","evidence":["Evaluate Vercel React Best Practices before installing it in an agent workflow","coding-agents","Browser automation workflows; Claude Code teams; teams that value GitHub adoption signals"]},{"id":"install_path","label":"Install path","status":"pass","score":92,"required_for_auto_install":true,"detail":"Install handoff is available.","evidence":["npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"]},{"id":"install_safety","label":"Install command safety","status":"pass","score":92,"required_for_auto_install":true,"detail":"standard package or runtime install path","evidence":["npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices"]},{"id":"trust_score","label":"Trust score","status":"pass","score":92,"required_for_auto_install":true,"detail":"Strong OpenAgentSkill Trust Score across adoption, recent maintenance, license clarity, documentation, dependency/runtime risk, install safety, permission surface, and install availability.","evidence":["Production candidate","31K GitHub stars","MIT"]},{"id":"audit_score","label":"Audit score","status":"pass","score":94,"required_for_auto_install":true,"detail":"Safe to try","evidence":["Permission surface may require sandboxing"]},{"id":"agent_safety_gate","label":"Agent safety gate","status":"warn","score":58,"required_for_auto_install":true,"detail":"Usable candidate, but the agent should surface permission and audit notes before installation.","evidence":["Require human approval before installing into a real workspace.","High-risk permission hints: Secrets or environment access"]},{"id":"readme_skillmd_completeness","label":"README/SKILL.md completeness","status":"pass","score":100,"required_for_auto_install":false,"detail":"Metadata includes enough usage and workflow context","evidence":["Strong README/SKILL.md context"]},{"id":"license_clarity","label":"License clarity","status":"pass","score":86,"required_for_auto_install":true,"detail":"MIT","evidence":["MIT"]},{"id":"recent_maintenance","label":"Recent maintenance","status":"pass","score":100,"required_for_auto_install":false,"detail":"7d since push","evidence":["7d since push"]},{"id":"permission_surface","label":"Permission surface","status":"warn","score":60,"required_for_auto_install":true,"detail":"filesystem or document access, network or browser access","evidence":["Browser automation: medium","Network access: medium","Filesystem access: medium"]},{"id":"alternatives","label":"Alternatives available","status":"info","score":55,"required_for_auto_install":false,"detail":"No close alternatives were found in the current shortlist.","evidence":[]}],"endpoints":{"web":"https://www.openagentskill.com/skills/vercel-react-best-practices/evals","api":"/api/agent/evals?slug=vercel-react-best-practices","text":"/api/agent/evals?slug=vercel-react-best-practices&format=text"}},"agent_readable_metadata":{"version":"openagentskill-agent-metadata-v2","skill":{"slug":"vercel-react-best-practices","name":"Vercel React Best Practices","description":"React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.","category":"coding-agents","url":"https://www.openagentskill.com/skills/vercel-react-best-practices","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","github_repo":"vercel-labs/agent-skills"},"suited_tasks":["Browser automation workflows","Claude Code teams","teams that value GitHub adoption signals","Navigate pages","Click and type safely","Check visual and DOM state","Inspect repository metadata","Compare code changes"],"suited_agents":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI","OpenAI Agents","Browser agents"],"install":{"command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","ready":true,"targets":[{"id":"openagentskill-cli","label":"CLI","kind":"command","value":"npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add vercel-react-best-practices"},{"id":"codex","label":"Codex","kind":"agent-prompt","value":"Install the \"Vercel React Best Practices\" agent skill from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"claude-code","label":"Claude Code","kind":"agent-prompt","value":"Add \"Vercel React Best Practices\" as a Claude Code skill from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"cursor","label":"Cursor","kind":"agent-prompt","value":"Turn \"Vercel React Best Practices\" from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."}],"handoff_url":"https://www.openagentskill.com/api/skills/vercel-react-best-practices/install","manifest_url":"https://www.openagentskill.com/api/registry/manifest/vercel-react-best-practices"},"trust":{"score":92,"label":"Production candidate","version":"trust-score-v4","install_policy":"agent_install_candidate","evidence":{"stars":"31K GitHub stars","repoActivity":"31K stars, 2.7K forks","lastPushed":"7d since push","license":"MIT","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","install":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","installSafety":"standard package or runtime install path","permissionSurface":"filesystem or document access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"Early agent signal: 100% success from 1 agent outcomes"},"outcome_evidence":{"total":1,"successes":1,"failures":0,"not_relevant":0,"success_rate":100,"recent_success_rate":100,"recent_failure_rate":0,"install_attempts":1,"install_success_rate":100,"risk_blocked":0,"setup_required":0,"avg_output_quality":null,"production_outcomes":0,"last_outcome_at":"2026-08-28T02:04:51.603489+00:00","label":"Early agent signal: 100% success from 1 agent outcomes"},"auto_install":{"allowed":true,"sandbox_required":false,"reason":"Trust Score v4 allows sandbox-first agent installation after normal workspace review."},"best_for":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"known_risks":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"]},"agent_proven":{"version":"agent-proven-v1","score":42,"tier":"early","label":"Early agent signal","summary":"Early agent signal: 1 outcome, 100% success, Agent Proven Score 42/100.","metrics":{"totalOutcomes":1,"successfulOutcomes":1,"failedOutcomes":0,"installAttempts":1,"installSuccessRate":100,"successRate":100,"recentSuccessRate":100,"recentFailureRate":0,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":1,"lastOutcomeAt":"2026-08-28T02:04:51.603489+00:00"},"signals":["100% all-time success","100% recent success","1 install attempt","1 agent surface"],"penalties":[]},"audit":{"score":95,"risk_level":"safe_to_try","risk_label":"Safe to try","warnings":["Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access"]},"safety_gate":{"tier":"reviewed","label":"Reviewed with permission notes","auto_install_policy":"review","auto_install_allowed":false,"human_review_required":true,"blocked":false,"recommended_action":"Require human approval before installing into a real workspace."},"quality":{"score":100,"label":"Excellent"},"supply":{"track":"Coding and developer agents","scenario":"GitHub automation","maintenance":"7d since push","risk":"Safe to try"},"alternative_skills":[],"do_not_use_when":["teams that need a vendor-supported SLA","high-compliance environments without internal security review","No major risk signals from current metadata","High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"],"agent_contract":{"task_input":"Use Vercel React Best Practices in an agent workflow","recommended_action":"Require human approval before installing into a real workspace.","install_policy":"review","minimum_review_before_use":["Trust: 92/100 Production candidate","Audit: 95/100 Safe to try","Safety: 59/100 Review before install","Review repository, license, install command, and permission surface before production use."],"expected_agent_output":{"selected_skill":"vercel-react-best-practices (Vercel React Best Practices)","install_command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","risk_summary":"Safe to try; Reviewed with permission notes; Review before production","verification_result":"Report the smallest successful task, files touched, warnings, and any missing setup."}},"outcome_feedback":{"endpoint":"https://www.openagentskill.com/api/agent/outcome","method":"POST","requires_resolve_event_id":true,"event_id_source":"Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"payload_template":{"event_id":"<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>","skill_slug":"vercel-react-best-practices","task":"Use Vercel React Best Practices in an agent workflow","agent":"codex","outcome":"success","install_used":true,"risk_blocked":false,"setup_required":false,"task_success":true,"output_quality":4,"error_type":null,"human_review_required":false,"workspace":"sandbox","time_to_useful_ms":120000,"notes":"Report the smallest successful task, setup friction, files touched, and risk notes."}},"endpoints":{"web":"https://www.openagentskill.com/skills/vercel-react-best-practices","api":"https://www.openagentskill.com/api/agent/skills/vercel-react-best-practices","audit":"https://www.openagentskill.com/skills/vercel-react-best-practices/audit","eval":"https://www.openagentskill.com/api/agent/evals?slug=vercel-react-best-practices&task=Use%20Vercel%20React%20Best%20Practices%20in%20an%20agent%20workflow&max_risk=medium","resolve":"https://www.openagentskill.com/api/agent/resolve?task=Use%20Vercel%20React%20Best%20Practices%20in%20an%20agent%20workflow&agent=codex&max_risk=medium","receipt":"https://www.openagentskill.com/api/agent/receipt?task=Use%20Vercel%20React%20Best%20Practices%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text","install":"https://www.openagentskill.com/api/skills/vercel-react-best-practices/install","manifest":"https://www.openagentskill.com/api/registry/manifest/vercel-react-best-practices"}},"machine_metadata":{"version":"openagentskill-agent-metadata-v2","skill":{"slug":"vercel-react-best-practices","name":"Vercel React Best Practices","description":"React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.","category":"coding-agents","url":"https://www.openagentskill.com/skills/vercel-react-best-practices","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","github_repo":"vercel-labs/agent-skills"},"suited_tasks":["Browser automation workflows","Claude Code teams","teams that value GitHub adoption signals","Navigate pages","Click and type safely","Check visual and DOM state","Inspect repository metadata","Compare code changes"],"suited_agents":["Codex","Claude Code","Cursor","React","Next.js","OpenAgentSkill CLI","OpenAI Agents","Browser agents"],"install":{"command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","ready":true,"targets":[{"id":"openagentskill-cli","label":"CLI","kind":"command","value":"npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add vercel-react-best-practices"},{"id":"codex","label":"Codex","kind":"agent-prompt","value":"Install the \"Vercel React Best Practices\" agent skill from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"claude-code","label":"Claude Code","kind":"agent-prompt","value":"Add \"Vercel React Best Practices\" as a Claude Code skill from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."},{"id":"cursor","label":"Cursor","kind":"agent-prompt","value":"Turn \"Vercel React Best Practices\" from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes."}],"handoff_url":"https://www.openagentskill.com/api/skills/vercel-react-best-practices/install","manifest_url":"https://www.openagentskill.com/api/registry/manifest/vercel-react-best-practices"},"trust":{"score":92,"label":"Production candidate","version":"trust-score-v4","install_policy":"agent_install_candidate","evidence":{"stars":"31K GitHub stars","repoActivity":"31K stars, 2.7K forks","lastPushed":"7d since push","license":"MIT","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","install":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","installSafety":"standard package or runtime install path","permissionSurface":"filesystem or document access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"Early agent signal: 100% success from 1 agent outcomes"},"outcome_evidence":{"total":1,"successes":1,"failures":0,"not_relevant":0,"success_rate":100,"recent_success_rate":100,"recent_failure_rate":0,"install_attempts":1,"install_success_rate":100,"risk_blocked":0,"setup_required":0,"avg_output_quality":null,"production_outcomes":0,"last_outcome_at":"2026-08-28T02:04:51.603489+00:00","label":"Early agent signal: 100% success from 1 agent outcomes"},"auto_install":{"allowed":true,"sandbox_required":false,"reason":"Trust Score v4 allows sandbox-first agent installation after normal workspace review."},"best_for":["coding-agents","agent-skill","react","nextjs","performance","frontend"],"known_risks":["Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"]},"agent_proven":{"version":"agent-proven-v1","score":42,"tier":"early","label":"Early agent signal","summary":"Early agent signal: 1 outcome, 100% success, Agent Proven Score 42/100.","metrics":{"totalOutcomes":1,"successfulOutcomes":1,"failedOutcomes":0,"installAttempts":1,"installSuccessRate":100,"successRate":100,"recentSuccessRate":100,"recentFailureRate":0,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":1,"lastOutcomeAt":"2026-08-28T02:04:51.603489+00:00"},"signals":["100% all-time success","100% recent success","1 install attempt","1 agent surface"],"penalties":[]},"audit":{"score":95,"risk_level":"safe_to_try","risk_label":"Safe to try","warnings":["Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access"]},"safety_gate":{"tier":"reviewed","label":"Reviewed with permission notes","auto_install_policy":"review","auto_install_allowed":false,"human_review_required":true,"blocked":false,"recommended_action":"Require human approval before installing into a real workspace."},"quality":{"score":100,"label":"Excellent"},"supply":{"track":"Coding and developer agents","scenario":"GitHub automation","maintenance":"7d since push","risk":"Safe to try"},"alternative_skills":[],"do_not_use_when":["teams that need a vendor-supported SLA","high-compliance environments without internal security review","No major risk signals from current metadata","High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access","Agent Proven outcomes: Early agent signal: 100% success from 1 agent outcomes"],"agent_contract":{"task_input":"Use Vercel React Best Practices in an agent workflow","recommended_action":"Require human approval before installing into a real workspace.","install_policy":"review","minimum_review_before_use":["Trust: 92/100 Production candidate","Audit: 95/100 Safe to try","Safety: 59/100 Review before install","Review repository, license, install command, and permission surface before production use."],"expected_agent_output":{"selected_skill":"vercel-react-best-practices (Vercel React Best Practices)","install_command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","risk_summary":"Safe to try; Reviewed with permission notes; Review before production","verification_result":"Report the smallest successful task, files touched, warnings, and any missing setup."}},"outcome_feedback":{"endpoint":"https://www.openagentskill.com/api/agent/outcome","method":"POST","requires_resolve_event_id":true,"event_id_source":"Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"payload_template":{"event_id":"<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>","skill_slug":"vercel-react-best-practices","task":"Use Vercel React Best Practices in an agent workflow","agent":"codex","outcome":"success","install_used":true,"risk_blocked":false,"setup_required":false,"task_success":true,"output_quality":4,"error_type":null,"human_review_required":false,"workspace":"sandbox","time_to_useful_ms":120000,"notes":"Report the smallest successful task, setup friction, files touched, and risk notes."}},"endpoints":{"web":"https://www.openagentskill.com/skills/vercel-react-best-practices","api":"https://www.openagentskill.com/api/agent/skills/vercel-react-best-practices","audit":"https://www.openagentskill.com/skills/vercel-react-best-practices/audit","eval":"https://www.openagentskill.com/api/agent/evals?slug=vercel-react-best-practices&task=Use%20Vercel%20React%20Best%20Practices%20in%20an%20agent%20workflow&max_risk=medium","resolve":"https://www.openagentskill.com/api/agent/resolve?task=Use%20Vercel%20React%20Best%20Practices%20in%20an%20agent%20workflow&agent=codex&max_risk=medium","receipt":"https://www.openagentskill.com/api/agent/receipt?task=Use%20Vercel%20React%20Best%20Practices%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text","install":"https://www.openagentskill.com/api/skills/vercel-react-best-practices/install","manifest":"https://www.openagentskill.com/api/registry/manifest/vercel-react-best-practices"}},"supply_profile":{"track":{"slug":"coding","label":"Coding and developer agents","shortLabel":"Coding","description":"Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills."},"scenario":{"label":"GitHub automation","description":"I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.","useCases":[{"slug":"browser-automation","title":"Browser automation"},{"slug":"github-automation","title":"GitHub automation"},{"slug":"local-desktop","title":"Local desktop"}]},"applicableAgents":["Claude Code","OpenAI Agents","Cursor","Browser agents","CLI"],"install":{"ready":true,"command":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","primaryTarget":"CLI","targetCount":4},"githubQuality":{"stars":30850,"starsLabel":"31K","forks":2738,"license":"MIT","qualityScore":100,"trustScore":93,"auditScore":95},"maintenance":{"status":"fresh","label":"7d since push","daysSincePush":7,"lastPushedAt":"2026-08-28T13:36:31+00:00"},"risk":{"level":"safe_to_try","label":"Safe to try","requiresReview":true,"notes":["Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access"]},"coverageTags":["Coding","GitHub automation","coding-agents","agent-skill","react","nextjs","performance","frontend"]},"audit":{"audit_score":95,"risk_level":"safe_to_try","risk_label":"Safe to try","quality_score":100,"trust_score":93,"maintenance_score":100,"security_score":87,"install_score":92,"warnings":["Permission surface may require sandboxing","Permission surface needs review: filesystem or document access, network or browser access","Permission surface: filesystem or document access, network or browser access"]},"quality_signals":{"model":"v2","star_score":31.42,"usage_score":5,"review_score":13.65,"metadata_score":15,"freshness_score":15},"platforms":["Codex","Claude Code","Cursor","React","Next.js","OpenAI Agents","Browser agents"],"use_cases":[{"slug":"browser-automation","title":"Browser automation","url":"https://www.openagentskill.com/use-cases/browser-automation"},{"slug":"github-automation","title":"GitHub automation","url":"https://www.openagentskill.com/use-cases/github-automation"},{"slug":"local-desktop","title":"Local desktop","url":"https://www.openagentskill.com/use-cases/local-desktop"},{"slug":"coding-agents","title":"Coding agents","url":"https://www.openagentskill.com/use-cases/coding-agents"}],"stacks":[{"slug":"frontend-product-ui","title":"Frontend and UI","url":"https://www.openagentskill.com/collections/frontend-product-ui"},{"slug":"browser-qa-agent","title":"Browser QA agent","url":"https://www.openagentskill.com/collections/browser-qa-agent"},{"slug":"web-data-pipeline","title":"Web data pipeline","url":"https://www.openagentskill.com/collections/web-data-pipeline"}],"install":"npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices","install_targets":[{"id":"openagentskill-cli","label":"CLI","title":"OpenAgentSkill CLI","kind":"command","value":"npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add vercel-react-best-practices","description":"Resolve policy, run the source installer safely, and report a verified install receipt.","copyLabel":"Copy command"},{"id":"codex","label":"Codex","title":"Codex install prompt","kind":"agent-prompt","value":"Install the \"Vercel React Best Practices\" agent skill from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.","description":"Give Codex a repo-aware install prompt when the skill is not available through a local CLI.","copyLabel":"Copy prompt"},{"id":"claude-code","label":"Claude Code","title":"Claude Code skill prompt","kind":"agent-prompt","value":"Add \"Vercel React Best Practices\" as a Claude Code skill from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.","description":"Use this prompt to ask Claude Code to add the skill and explain the local activation steps.","copyLabel":"Copy prompt"},{"id":"cursor","label":"Cursor","title":"Cursor rule prompt","kind":"agent-prompt","value":"Turn \"Vercel React Best Practices\" from https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: React and Next.js performance guidance for writing, reviewing, and refactoring production UI code. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"vercel-react-best-practices\",\"task\":\"Install Vercel React Best Practices\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.","description":"Use this when installing as Cursor project rules or reusable agent instructions.","copyLabel":"Copy prompt"}],"repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","github_repo":"vercel-labs/agent-skills","version":"1.0.0","license":"MIT","urls":{"web":"https://www.openagentskill.com/skills/vercel-react-best-practices","repository":"https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices","api":"/api/agent/skills/vercel-react-best-practices","install_api":"/api/skills/vercel-react-best-practices/install"},"meta":{"created_at":"2026-07-21T10:20:07.698576+00:00","updated_at":"2026-09-05T06:05:07.633321+00:00","agent_friendly":true}}