crud-service
OfficialEnforce robust Service layer rules for PowerX.
AuthorArtisanCloud
Version1.0.0
Installs0
System Documentation
What problem does it solve?
PowerX CRUD Service 规则(事务、审计、错误翻译、传输解耦)。
Core Features & Use Cases
- 统一 Service 层职责:鉴权/审计、事务边界、幂等与并发控制、错误翻译(404/409),与 Repository/DTO/Handler/DI 对齐,保持传输无关(HTTP/gRPC 共用)。
- 设计原则:Service 通过注入仓库层接口与 shared.Deps 实现解耦,确保跨层边界清晰,便于测试和复用。
- Use Case: Ensure consistent CRUD operations with proper transaction handling and error translation across the API surface.
Quick Start
Configure the CRUD service to enforce transactional boundaries, auditing hooks, and standardized error translation across all internal services.
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-service Download link: https://github.com/ArtisanCloud/PowerX/archive/main.zip#crud-service 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.