Skip to main content
在 Manus 中运行任何 Skill
一键导入

swr-hooks

星标2
分支0
更新时间2026年5月19日 14:01

Generate SWR data-fetching hooks (useSWR and useSWRMutation) following the project's fetcher pattern. Use this skill whenever the user asks to add a hook, create a useX function, fetch data from the API in a component, or needs client-side data fetching. Triggers on "add a hook for", "I need to fetch X", "create a mutation hook", or any request that implies a new hooks/api/*.ts file.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly