ワンクリックで
add-crud-resource
Use when adding a brand-new CRUD resource beyond the core entity (e.g. a second model the PS requires).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when adding a brand-new CRUD resource beyond the core entity (e.g. a second model the PS requires).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when building or restyling any page or component.
Use when constructing forms, inputs, submit behaviors, validation displays, and feedback toast alerts.
Use when creating new Next.js route handlers using the custom helper wrapper.
Use whenever the Prisma schema changes and a migration is needed.
Use when integrating third-party APIs (e.g. SMTP emails, SMS notification gateways, payment checkout gates, or OCR parsers).
Use when adapting the template's placeholder Item entity to a hackathon problem statement's actual domain entity.
| name | add-crud-resource |
| description | Use when adding a brand-new CRUD resource beyond the core entity (e.g. a second model the PS requires). |
Follow this checklist to introduce a new resource model to the system:
Prisma Model Setup:
prisma/schema.prisma and define your new model (e.g., Category, Comment, Log).User or the main entity.Migration & Types:
npx prisma migrate dev --name add_new_model.npx prisma generate to update types.API Endpoints:
src/app/api/new-resource/route.ts (GET all, POST create).src/app/api/new-resource/[id]/route.ts (GET single, PUT update, DELETE).Frontend Interface:
src/app/new-resource/page.tsx utilizing the <DataTable> primitive.src/app/new-resource/[id]/page.tsx.Navigation integration:
<Navbar> or <Sidebar> as needed.