nova-service

Create a multi-model service function with a dataclass Result.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/rafaelcostaf4-afk/SurveyHub --skill nova-service
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nova-service
Source: https://github.com/rafaelcostaf4-afk/SurveyHub/tree/main/.claude/skills/new-usecase
Command: npx skills add https://github.com/rafaelcostaf4-afk/SurveyHub --skill nova-service

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cria uma função de serviço que orquestra lógica de negócio complexa envolvendo múltiplos apps e models, com retorno estruturado via dataclass Result.

Core Features & Use Cases

  • Orquestra múltiplos models para lógica que não pertence a um único model.
  • Efeitos colaterais externos como envio de email, geração de arquivos ou notificações.
  • Retorno estruturado com dataclass Result para status e mensagens.
  • Casos de uso: aprovação de registros, ativação de usuários, exportação de dados.

Quick Start

Provide an app name and service name to generate a new multi-model service function with a dataclass Result.

Frequently Asked Questions about nova-service

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

FAQPage Schema
How do I orchestrate business logic across multiple Django apps and models?

You orchestrate cross-app Django business logic by creating a multi-model service function that coordinates workflows spanning multiple models and returns a structured dataclass Result. This isolates complex logic from views and ensures safe, structured returns.

What is a service function for complex business logic in Python?

A Python service function for complex business logic is an orchestration layer handling workflows spanning multiple models or external side effects. It enforces a structured dataclass Result for predictable returns, keeping cross-app logic out of views and models.

When do I need a multi-model service with a dataclass Result?

You need a multi-model service with a dataclass Result when logic spans multiple models, triggers external side effects like emails or file generation, or requires cross-app workflows. It is ideal for processes like user activation or data export needing structured status returns.

How do I handle external side effects like email and file generation in Django orchestration?

You handle external side effects like email and file generation in Django orchestration by encapsulating them within a multi-model service function. This orchestrates side effects alongside model updates and returns a structured dataclass Result indicating workflow status.

Can I use a dataclass Result for cross-app workflow status in Django?

Yes, you can use a dataclass Result for cross-app workflow status in Django. The service function enforces a dataclass Result to provide a structured and safe return type for status and messages when orchestrating complex logic across multiple apps.

What is the best way to structure cross-app workflows in Python without fat models?

The best way to structure cross-app workflows in Python without fat models is using a service function. It orchestrates multi-model logic and external side effects while enforcing a dataclass Result, keeping models focused on data and views focused on presentation.