
Safe Action Testing
next-safe-action/skills/skills/safe-action-testing作者 next-safe-actiona2605bd2e84321245cba8f5718c144a6e4a5fa47无许可证收录于 2026年10月9日更新于 2026年10月9日
Use when writing tests for next-safe-action actions or hooks -- Vitest patterns for testing server actions directly, middleware behavior, hooks with React Testing Library, validation errors, and server errors
仅公开文件列表。将技能安装到工作区后即可查看文件内容。
| 路径 | 大小 | 类型 |
|---|---|---|
| SKILL.md | 8.1 KB | text/markdown |
来源与署名
来源:next-safe-action/skills位于skills/safe-action-testing提交a2605bd
许可证: 无许可证
内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。
更多来自 next-safe-action/skills 的技能

Safe Action Validation Errors
next-safe-action
说明 next-safe-action 的验证错误结构与辅助函数,用于返回并显示字段级和表单级错误。

Safe Action Middleware
next-safe-action
指导实现 next-safe-action 中间件,涵盖认证、日志、限流、错误处理与上下文扩展。

Safe Action Hooks
next-safe-action
指导使用 next-safe-action 的 React hooks 执行服务端操作、乐观更新与排队状态变更。

Safe Action Client
next-safe-action
指导创建和配置 next-safe-action 客户端与操作,包含校验和错误处理。

Safe Action Forms
next-safe-action
指导如何将 next-safe-action 与 React 表单集成,包括原生表单、react-hook-form 适配器和文件上传。

Safe Action Better Auth
next-safe-action
为 next-safe-action 服务端操作添加 Better Auth 会话认证与授权中间件。
更多Software Development技能

Playground
anthropics
构建自包含的交互式 HTML 演练场,包含控件、实时预览和可复制的提示词输出。

M5 Onboard
anthropics
通过 USB 检测 M5Stack ESP32 开发板,刷写 UIFlow 2.0 固件并安装 MicroPython 应用包。

Cardputer Buddy
anthropics
指导迭代 Cardputer-Adv 的 MicroPython 应用包:添加应用、通过 USB 串口推送文件、查看日志并运行 REPL 命令。

Web Design Guidelines
vercel-labs
依据从远程来源获取的 Web Interface Guidelines 审查 UI 代码,并以 file:line 形式报告问题。

Vercel React Native Skills
vercel-labs
React Native 与 Expo 最佳实践规则,涵盖列表性能、动画、导航、UI 模式、状态与 monorepo 配置。

Vercel React Best Practices
vercel-labs
Vercel 的 React 与 Next.js 性能指南,以 70 条规则的形式用于编写、审查和重构代码。