crud-http-ruleset
OfficialStandardize PowerX HTTP CRUD handlers
AuthorArtisanCloud
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforces consistent, transport-layer-only HTTP CRUD behavior across the PowerX codebase so handlers remain thin, multi-tenant aware, and semantically equivalent to service and gRPC layers, reducing bugs and architectural drift.
Core Features & Use Cases
- Ruleset Enforcement: A comprehensive ruleset that validates route registration, handler signatures, and route prefixes to guarantee consistent API surface.
- Safety & Separation of Concerns: Ensures handlers do not perform DB or external IO, mandates tenant context injection, and centralizes audit and RBAC to the Service layer.
- Response & Pagination Conventions: Validates use of unified DTOs for errors, success envelopes, and pagination to make HTTP semantics equivalent to gRPC responses.
- Use Case: Run these checks during code review or CI to automatically detect handlers that violate multi-tenancy, routing, or DTO conventions before they reach production.
Quick Start
Run the ruleset checks against internal/transport/http, fix any handler violations to align routes, tenant handling, DTO usage, and remove DB/IO from handlers.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: crud-http-ruleset Download link: https://github.com/ArtisanCloud/PowerX/archive/main.zip#crud-http-ruleset Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.