gen-service

Generates Kotlin application-layer service components from UseCase files and port interfaces.

Updated Jul 27, 2024
One-click install
npx skills add https://github.com/Jeongjjuna/ontongsal --skill gen-service-jeongjjuna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gen-service
Source: https://github.com/Jeongjjuna/ontongsal/tree/main/spring-rest-api/.claude/skills/gen-service
Command: npx skills add https://github.com/Jeongjjuna/ontongsal --skill gen-service-jeongjjuna

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of service components such as Command/Query Service, Creator/Updater/Deleter/Finder/EventHandler, and Repository for any given UseCase, significantly reducing the manual effort required for service development.

Core Features & Use Cases

  • Automated Service Component Generation: Based on UseCase descriptions, generates full-fledged service components.
  • Use Case Analysis: Parses UseCase files to determine required components and interfaces.
  • Customizable Output: Allows users to specify output location and structure.

Quick Start

Run the 'gen-service' skill with the path to the UseCase file to generate the corresponding services.

Frequently Asked Questions about gen-service

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

FAQPage Schema
How do I automate service generation from UseCase descriptions in Kotlin?

Automated service generation from UseCase descriptions reads UseCase files, analyzes domain logic, and creates Kotlin application layer components like command services, query services, and event handlers. It parses domain files and port interfaces to determine required components automatically.

What service components can be generated using domain-driven design analysis?

Domain-driven design analysis generates application layer components including command services, query services, creators, updaters, deleters, finders, event handlers, and repositories. It parses UseCase files to determine the required components and interfaces for the domain logic.

Do I need existing domain files and port interfaces to generate services?

Yes, existing domain files and port interfaces are required to generate services. The tool analyzes these files to execute successfully, parsing UseCase descriptions to determine the necessary application layer components and their corresponding interfaces.

How to generate command and query services from UseCase files?

To generate command and query services from UseCase files, run the service generation skill with the path to the UseCase file. It analyzes domain logic and outputs full-fledged service components, allowing you to specify the output location and structure.

Can I customize the output location and structure when generating service architecture components?

Yes, you can customize the output location and structure when generating service architecture components. The generation process allows users to specify where the created application layer components like creators, updaters, and finders are placed.

What are the limitations of automated service generation for UseCase analysis?

Automated service generation for UseCase analysis requires Kotlin and depends on properly structured domain files and port interfaces. It cannot execute successfully without analyzing these existing files to determine the required application layer components.