crud-completeness

Design complete CRUD endpoints with validation, error handling, and soft delete.

44|9|Updated May 7, 2026
One-click install
npx skills add https://github.com/Omar-Obando/qwen-orchestrator --skill crud-completeness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crud-completeness
Source: https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/crud-completeness
Command: npx skills add https://github.com/Omar-Obando/qwen-orchestrator --skill crud-completeness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CRUD endpoints often end up inconsistent and fragile—missing validation, incomplete error handling, no soft-delete/restore behavior, and ad-hoc pagination/filtering that breaks as the product grows.

Core Features & Use Cases

  • Complete CRUD endpoint set: standard Create/Read/Update/Delete plus Restore and Bulk operations.
  • Validation and consistent error responses: input schema validation, business-rule checks, and standardized validation error payloads.
  • Enterprise-ready patterns: soft delete with restore, optimistic concurrency (e.g., ETag/If-Match), pagination, filtering, sorting, permissions, audit logging, and rate limiting guidance.

Example: implement a REST API for a resource (e.g., “projects”) where you need list/detail fetching with pagination and sorting, safe updates with version conflict handling, and deletion that can be restored.

Quick Start

Ask for complete CRUD endpoint design and implementation guidance for your resource, including validation, error formats, soft delete + restore, bulk actions, pagination, filtering, and optimistic concurrency.

Frequently Asked Questions about crud-completeness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a REST API with soft delete and restore functionality?

Soft delete and restore API design requires marking resources as inactive rather than permanently removing them, plus dedicated endpoints to reverse the deletion. This approach maintains referential integrity and supports audit logging requirements.

What is optimistic concurrency control and how does it work in API operations?

Optimistic concurrency control uses version identifiers like ETags and If-Match headers to detect concurrent modifications during API updates. If the resource version changed since the client read it, the API rejects the update with a conflict error.

How do I implement consistent pagination, filtering, and sorting across CRUD endpoints?

Consistent pagination, filtering, and sorting across CRUD endpoints requires standardized query parameter conventions and uniform response metadata. This approach ensures predictable list behavior and supports scalable bulk operations.

What validation and error handling patterns should production-grade CRUD APIs use?

Production CRUD APIs need schema validation for inputs, business-rule validation for domain logic, and standardized error response formats. Using consistent error codes across all operations enables reliable client-side error handling.

How do I add bulk operations to a CRUD API endpoint set?

Bulk CRUD operations require dedicated batch endpoints that accept array payloads for create, update, and delete actions. Responses should include per-item success or error statuses using standardized error codes.

When do I need optimistic concurrency control in my CRUD API?

Optimistic concurrency control is needed when multiple clients update shared resources concurrently. It prevents lost updates by detecting version conflicts and returning conflict errors when stale data is submitted.