archived/refine-dev/SKILL.md
协助开发基于 Refine 框架的 React 应用。提供项目初始化、核心配置、数据提供者(Data Providers)、认证(Auth Provider)以及 UI 库集成的指导。专注于使用 shadcn/ui 构建现代化的后台管理系统。
npx skillsauth add cruldra/skills refine-devInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Refine 是一个基于 React 的框架,用于快速构建数据密集型应用。它通过解耦业务逻辑与 UI 层,提供了极高的开发效率。
在执行任何初始化命令之前,你必须先询问并收集用户的偏好。不要假设默认值,请确认以下参数:
项目名称与元数据:
--init-author-name)--init-author-url)--init-license, 例如 MIT)--init-private)前端框架选择:
Refine 架构配置:
根据用户在初始化阶段提供的偏好,运行对应的初始化命令。
# 示例:使用 Vite + shadcn/ui 预设
npm create refine-app@latest [项目名] -- --preset vite-shadcn
在 App.tsx (或 Next.js 的布局文件) 中配置组件:
import { Refine } from "@refinedev/core";
function App() {
return (
<Refine
dataProvider={dataProvider}
authProvider={authProvider}
resources={[
{
name: "posts",
list: "/posts",
create: "/posts/create",
edit: "/posts/edit/:id",
show: "/posts/show/:id",
},
]}
>
{/* 页面组件 */}
</Refine>
);
}
testing
智能体 UAT 验收测试技能。用于验证智能体在真实场景下的表现是否满足预期。支持任意智能体框架(langchain、langgraph、deepagents、crewai 等)。触发词:测试智能体、验收测试、agent test、UAT
tools
Use when you need to create a Gitea issue, update its spec/plan markers, read or merge an issue's state JSON, or post a PR review comment in a repo that uses the spx CLI (superpowers-vscode workflow).
development
Use when implementing, modifying, refactoring, or reviewing code and the agent must follow explicit coding standards for simplicity, readability, maintainability, testability, project conventions, and minimal safe changes.
development
Use when integrating the deepagents SDK into a Python project — creating agents, configuring backends, adding subagents, middleware, memory, or skills. Also use when debugging deepagents agents or choosing between StateBackend, FilesystemBackend, and LocalShellBackend.