core-usage
CommunityUnified HTTP responses and JWT utilities.
Authortdcare
Version1.0.0
Installs0
System Documentation
What problem does it solve?
genies_core provides a cohesive toolkit for building reliable HTTP handlers by standardizing response shapes, error handling, and authentication flow in Genies-based services.
Core Features & Use Cases
- RespVO<T> and ResultDTO<T> offer complementary response models for different consumer needs.
- Salvo integration allows handler results to be returned directly as typed responses.
- JWT authentication utilities (get_keycloak_keys, verify_with_keycloak) simplify token validation against Keycloak.
- Centralized error handling with a shared Error type and Result alias to streamline failure paths.
- Condition evaluation utilities enable runtime decision logic and policy enforcement.
Quick Start
Integrate genies_core into your Rust HTTP handlers to standardize responses, error handling, and JWT authentication.
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: core-usage Download link: https://github.com/tdcare/genies/archive/main.zip#core-usage 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.