🎯

refine-dev

🎯Skill

from itechmeat/llm-code

VibeIndex|
What it does

Rapidly builds enterprise CRUD React apps with headless framework, providing data management, routing, and authentication out of the box.

πŸ“¦

Part of

itechmeat/llm-code(31 items)

refine-dev

Installation

Quick InstallInstall with npx
npx add-skill itechmeat/llm-code
Quick InstallInstall with npx
npx add-skill itechmeat/llm-code --list
Quick InstallInstall with npx
npx add-skill itechmeat/llm-code --skill vite --skill fastapi
Quick InstallInstall with npx
npx add-skill itechmeat/llm-code -a claude-code -a github-copilot
Quick InstallInstall with npx
npx add-skill itechmeat/llm-code -y
πŸ“– Extracted from docs: itechmeat/llm-code
5Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

"Refine.dev headless React framework for CRUD apps: data providers, resources, routing, authentication, hooks, and forms."

Overview

# Refine.dev Framework

Refine is a headless React framework for building enterprise CRUD applications. It provides data fetching, routing, authentication, and access control out of the box while remaining UI-agnostic.

When to use

  • Building admin panels, dashboards, or internal tools with React
  • Need CRUD operations with various backends (REST, GraphQL, Supabase, Strapi, etc.)
  • Want a headless approach with Mantine UI integration
  • Setting up Vite-based React projects with data management
  • Implementing authentication flows in React admin apps

Core Concepts

Refine is built around these key abstractions:

  1. Data Provider β€” adapter for your backend (REST, GraphQL, etc.)
  2. Resources β€” entities in your app (e.g., posts, users, products)
  3. Hooks β€” useList, useOne, useCreate, useUpdate, useDelete, useForm, useTable
  4. Auth Provider β€” handles login, logout, permissions
  5. Router Provider β€” integrates with React Router, etc.

Quick Start (Vite)

```bash

npm create refine-app@latest

# Select: Vite, Mantine, REST API (or your backend)

```

Or manual setup:

```bash

npm install @refinedev/core @refinedev/mantine @refinedev/react-router @mantine/core @mantine/hooks @mantine/form @mantine/notifications

```

Minimal App Structure

```tsx

// src/App.tsx

import { Refine } from "@refinedev/core";

import { MantineProvider } from "@mantine/core";

import routerProvider from "@refinedev/react-router";

import dataProvider from "@refinedev/simple-rest";

import { BrowserRouter, Routes, Route } from "react-router-dom";

function App() {

return (

dataProvider={dataProvider("https://api.example.com")}

routerProvider={routerProvider}

resources={[

{

name: "posts",

list: "/posts",

create: "/posts/create",

edit: "/posts/edit/:id",

show: "/posts/show/:id",

},

]}

>

{/ Your routes here /}

);

}

```

Critical Prohibitions

  • Do NOT mix multiple UI libraries (pick Mantine and stick with it)
  • Do NOT bypass data provider β€” always use Refine hooks for data operations
  • Do NOT hardcode API URLs β€” use data provider configuration
  • Do NOT skip resource definition β€” all CRUD entities must be declared in resources
  • Do NOT ignore TypeScript types β€” Refine is fully typed, leverage it

Steps for New Feature

  1. Define the resource in
  2. Create page components (List, Create, Edit, Show)
  3. Set up routes matching resource paths
  4. Use appropriate hooks (useTable for lists, useForm for create/edit)
  5. Configure auth provider if authentication is needed

Definition of Done

  • [ ] Resource defined in Refine configuration
  • [ ] All CRUD pages implemented with proper hooks
  • [ ] Routes match resource configuration
  • [ ] TypeScript types for resource data defined
  • [ ] Error handling in place
  • [ ] Loading states handled

References (Detailed Guides)

Core

  • [data-providers.md](references/data-providers.md) β€” Data provider interface, available providers, custom implementation
  • [resources.md](references/resources.md) β€” Resource definition and configuration
  • [routing.md](references/routing.md) β€” React Router integration and route patterns

Hooks

  • [hooks.md](references/hooks.md) β€” All hooks: useList, useOne, useCreate, useUpdate, useDelete, useForm, useTable, useSelect

Security & Auth

  • [auth.md](references/auth.md) β€” Auth provider, access control, RBAC/ABAC, Casbin/CASL integration

UI & Components

  • [mantine-ui.md](references/mantine-ui.md) β€” Mantine components integration
  • [inferencer.md](references/inferencer.md) β€” Auto-generate CRUD pages from API schema

Utilities & Features

  • [notifications.md](references/notifications.md) β€” Notification provider and useNotification hook
  • [i18n.md](references/i18n.md) β€” Internationalization with i18nProvider
  • [realtime.md](references/realtime.md) β€” LiveProvider for websocket/realtime subscriptions

Links

  • Official docs: https://refine.dev/docs/
  • GitHub: https://github.com/refinedev/refine
  • Mantine integration: https://refine.dev/docs/ui-integrations/mantine/