genies-usage

Guide Rust developers through the Genies DDD and Dapr framework.

1|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/tdcare/genies --skill genies-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: genies-usage
Source: https://github.com/tdcare/genies/tree/main/.qoder/skills/genies-usage
Command: npx skills add https://github.com/tdcare/genies --skill genies-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Genies usage guide helps Rust developers quickly understand how to use Genies framework features (DDD, Dapr, Casbin, configuration) and patterns to build robust microservices.

Core Features & Use Cases

  • Learn how to scaffold aggregates, domain events, and Dapr subscriptions.
  • Understand permission filtering and configuration patterns for Genies-based apps.
  • Use cases covering development, testing, and deployment workflows with Genies.

Quick Start

Create a new Genies project and initialize the framework to implement aggregates and domain events.

Frequently Asked Questions about genies-usage

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

FAQPage Schema
How do I build Rust microservices with DDD and Dapr?

Build Rust microservices with DDD and Dapr by using Genies to scaffold aggregates, define domain events via macros, and manage Dapr subscriptions. The framework provides macros for Aggregate, DomainEvent, and Config to streamline initialization.

What is the best way to implement field-level permissions in a Rust DDD framework?

Implement field-level permissions in a Rust DDD framework by integrating Casbin with Genies. Use the casbin macro definition to apply authorization filtering and manage access control across domain aggregates and service endpoints.

How do I set up domain events and Dapr subscriptions in Rust?

Set up domain events and Dapr subscriptions in Rust using Genies macros. Define DomainEvent and topic macros to handle event publishing and subscribe to Dapr topics, enabling asynchronous communication between microservices.

Can I sync OpenAPI schemas automatically when using a Rust Dapr framework?

Yes, you can sync OpenAPI schemas automatically when using the Genies Rust framework. Genies supports OpenAPI schema syncing alongside Dapr integration, allowing you to maintain API documentation while building aggregates and configuring wrappers.

Does Genies support configuration management across development, testing, and deployment workflows?

Yes, Genies supports configuration management across development, testing, and deployment workflows. Use the Config macro to manage environment-specific settings, ensuring consistent behavior for Rust microservices from local testing to production deployment.

How do I scaffold an aggregate in Rust using a DDD framework?

Scaffold an aggregate in Rust using the Genies DDD framework by applying the Aggregate macro. This defines your aggregate root structure, encapsulates domain logic, and integrates with domain events to maintain consistency within microservice boundaries.