# Admin CRUD Page

The Admin CRUD Page skill guides the creation of entity-management pages with tables, row actions, and create or edit forms. It targets SvelteKit projects that use Remote Functions.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 450 repo stars
- Author: svelte-society
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/svelte-society/sveltesociety.dev/tree/HEAD/.claude/skills/admin-crud-page/SKILL.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/admin-crud-page

## What it does

For a listing, the skill lays out a page with a table, a header, and actions on each row. Its create and edit patterns use forms and load data through `.remote.ts` files. The project needs the referenced components from `$lib/ui/admin/` already in place.

Server-side work belongs in Remote Functions: this pattern rules out `+page.server.ts`, `+server.ts`, and SvelteKit form actions. Call `checkAdminAuth()` first in admin Remote Functions. Without that check, the server functions do not follow the skill’s stated access pattern.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add svelte-society/sveltesociety.dev --skill admin-crud-page -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/admin-crud-page/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/admin-crud-page/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add svelte-society/sveltesociety.dev --skill admin-crud-page -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/admin-crud-page/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add svelte-society/sveltesociety.dev --skill admin-crud-page -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/admin-crud-page/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install svelte-society/sveltesociety.dev .claude/skills/admin-crud-page
```

2. **Manually: put the files in place**
- File: `.github/skills/admin-crud-page/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add svelte-society/sveltesociety.dev --skill admin-crud-page -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/svelte-society/sveltesociety.dev --path .claude/skills/admin-crud-page
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/admin-crud-page/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add svelte-society/sveltesociety.dev --skill admin-crud-page -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/svelte-society/sveltesociety.dev/tree/HEAD/.claude/skills/admin-crud-page/SKILL.md

## When to use it
- build a table for an entity list
- add edit and delete actions to table rows
- create a form for adding or editing a record
- move data loading and mutations into Remote Functions
- check administrator access in server functions

## Example prompts
- Create an entity list page under `src/routes/(admin)/admin/items/` using the Admin CRUD Page pattern.
- Add a record-edit page that loads its data and submits a form through Remote Functions.
- Set up admin functions for listing and deleting records, calling `checkAdminAuth()` first.

## Similar
- [spring-boot-crud-patterns](https://affpapa.org/en/nevibecode/skills/spring-boot-crud-patterns.md) — skill · 4100 installs
- [nestjs-drizzle-crud-generator](https://affpapa.org/en/nevibecode/skills/nestjs-drizzle-crud-generator.md) — skill · 3800 installs
- [lifecycle-crud](https://affpapa.org/en/nevibecode/skills/lifecycle-crud.md) — skill · 3700 installs
- [runpod-lifecycle-crud](https://affpapa.org/en/nevibecode/skills/runpod-lifecycle-crud.md) — skill · 1000 installs
- [zenstack-crud-server](https://affpapa.org/en/nevibecode/skills/zenstack-crud-server.md) — skill · 548 installs
- [gws-admin-reports](https://affpapa.org/en/nevibecode/skills/gws-admin-reports.md) — skill · 31700 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
