create-use-case

Generate Request, UseCase, and Test artifacts following a strict TDD workflow.

Updated Dec 16, 2019
One-click install
npx skills add https://github.com/Dev-Int/tests --skill create-use-case
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-use-case
Source: https://github.com/Dev-Int/tests/tree/main/.claude/skills/create-use-case
Command: npx skills add https://github.com/Dev-Int/tests --skill create-use-case

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual effort of implementing business use cases by automatically generating Request, UseCase, and Test files following the mandatory TDD workflow.

Core Features & Use Cases

  • Business Logic Automation: Generate complete use case implementations with proper request-response patterns.
  • TDD Integration: Seamlessly integrate with the mandatory TDD workflow for quality assurance.
  • Use Case: When you need to implement a new business operation like renaming an article, this Skill creates all necessary components following best practices.

Quick Start

Create a use case for renaming articles in the Admin bounded context, following the TDD workflow.

Frequently Asked Questions about create-use-case

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

FAQPage Schema
How do I automate business logic implementation with TDD?

TDD automation generates Request, UseCase, and Test artifacts following Red, Green, and Refactor phases. This Skill creates complete use case implementations for operations like Create, Update, Delete, and queries, enforcing mandatory TDD workflow adherence with repository and finder patterns.

What's the best way to implement a new use case for commands and queries?

Generate use case files by applying TDD patterns to domain operations. The Skill creates Request, UseCase, and Test components from templates, using DataBuilder mocks and repository or finder patterns based on operation type.

Can I use this for business operations like renaming or searching items?

Yes. This covers domain operations including Create, Update, Delete, Rename, Find, List, and Search. Each generates corresponding Request, UseCase, and Test artifacts following the mandatory TDD workflow for your bounded context.

Do I need to manually write Request and UseCase files?

No. The Skill removes manual effort by automatically generating Request, UseCase, and Test files from designated templates, following TDD workflow best practices and ensuring consistent request-response patterns across your business logic.

What happens if I don't follow the TDD workflow?

The Skill enforces mandatory TDD workflow adherence. All generated artifacts follow Red, Green, and Refactor phases with proper mocking and repository or finder patterns, ensuring quality assurance and consistency.