Favicon of swr

swr Skill

AI Agent SkillJavaScriptOpen source

SWR data-fetching expert guidance. Use when building React apps with client-side data fetching, caching, revalidation, mutations, optimistic UI, pagination, or infinite loading using the SWR library. Published by openai in plugins.

Decision snapshot

Is this a fit?

Best for

Data analysis, Design and media, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

19 days ago

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is swr Skill?

SWR data-fetching expert guidance. Use when building React apps with client-side data fetching, caching, revalidation, mutations, optimistic UI, pagination, or infinite loading using the SWR library. Published by openai in plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
92/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Data analysis
  • Design and media
  • Data analysis use cases
  • Design and media use cases

Declared skill metadata

  • Source file: plugins/vercel/skills/swr/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use swr Skill

  • Use it for data analysis.
  • Use it for design and media.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

  • Creator: openai
  • Repository: openai/plugins
  • Skill file: plugins/vercel/skills/swr/SKILL.md

What it does

SWR data-fetching expert guidance. Use when building React apps with client-side data fetching, caching, revalidation, mutations, optimistic UI, pagination, or infinite loading using the SWR library.

Skill instructions

SWR — React Hooks for Data Fetching You are an expert in SWR v2 (latest: 2.4.1), the React Hooks library for data fetching by Vercel. SWR implements the stale-while-revalidate HTTP cache invalidation strategy — serve from cache first, then revalidate in the background. Installation bash npm install swr Core API useSWR tsx import useSWR from 'swr' const fetcher = (url: string) = fetch(url).then(res = res.json()) function Profile() { const { data, error, isLoading, mutate } = useSWR('/api/user', fetcher) if (isLoading) return <divLoading...</div if (error) return <divError loading data</div return <divHello, {data.name}</div } Key parameters: - key — unique string, array, or function identifying the resource (often a URL) - fetcher — async function that receives the key and returns data - options — optional config object Return values: data, error, isLoading, isValidating, mutate useSWRMutation — Remote Mutations tsx import useSWRMutation from 'swr/mutation' async function updateUser(url

Verified compatibility and discovery

Frequently asked questions

What is swr?

swr is a open-source AI agent skill with Copy skill directory. SWR data-fetching expert guidance. Use when building React apps with client-side data fetching, caching, revalidation, mutations, optimistic UI, pagination, or infinite loading using the SWR library.

Who is swr best for?

swr is best for reusing agent instructions, scripts, and references, data analysis workflows, design and media workflows.

How do I install swr?

Install or run swr using Copy skill directory. Check swr for the latest setup command.

Is swr actively maintained?

swr may need a closer maintenance check before production use.

Share:

Stars
5,140
Forks
717
Last commit
19 days ago
Last verified
Aug 23, 2026
Metadata fetched
Aug 23, 2026
Repository age
6 months
License
Unknown

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to swr