new-functionality

Scaffold cross-service operations with command handlers, Saga and TCC workflows, and REST endpoints.

5|2|Updated Jun 28, 2023
One-click install
npx skills add https://github.com/socialsoftware/microservices-simulator --skill new-functionality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-functionality
Source: https://github.com/socialsoftware/microservices-simulator/tree/main/.claude/skills/new-functionality
Command: npx skills add https://github.com/socialsoftware/microservices-simulator --skill new-functionality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement a streamlined template to add a new cross-service operation across the quizzes domain, wiring commands, sagas, TCC, controllers, and tests to accelerate feature delivery.

Core Features & Use Cases

  • Cross-service orchestration: coordinates commands across aggregates (primary and related).
  • End-to-end scaffolding: provides Saga and TCC workflows, command and handler classes, REST endpoints, and test stubs.
  • Incremental integration: supports wiring in a new operation with validation, unit/integration tests, and service wiring.

Quick Start

Provide a FunctionalityName and PrimaryAggregate to scaffold the workflow and begin implementing command, saga, and TCC components.

Frequently Asked Questions about new-functionality

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

FAQPage Schema
How do I implement a new cross-service operation in microservices?

To implement a new cross-service operation, you need to scaffold command handlers, Saga and TCC workflows, and test fixtures to coordinate commands across primary and related aggregates within your domain.

What is the best way to coordinate Sagas and TCC workflows for a new microservice feature?

Coordinating Sagas and TCC workflows requires scaffolding end-to-end components that wire service methods, expose REST endpoints, and validate incremental integration across the quizzes domain and related aggregates.

How do I scaffold command handlers and REST endpoints for microservices coordination?

Scaffolding command handlers and REST endpoints involves creating command classes, wiring entry-point services, and generating test stubs to automate cross-service operation delivery across the microservices architecture.

Do I need to provide specific parameters to scaffold a cross-service Saga workflow?

Yes, you need to provide a FunctionalityName and PrimaryAggregate to begin scaffolding the workflow and generate the required command, Saga, and TCC components for the operation.

Can I use this approach to add operations across multiple aggregates in the quizzes domain?

Yes, this approach applies across the quizzes domain by coordinating primary and related aggregates, wiring services, and exposing REST endpoints as required for the new cross-service operation.

What limitations should I consider when automating TCC workflow scaffolding for microservices?

Automating TCC workflow scaffolding requires careful validation through unit and integration tests, as incremental integration must correctly wire service methods and entry-point components to avoid coordination failures.