home/roleplay/create-user-service-prompt

Create User Service.prompt

GPTClaudeGemini··1,025 copies·updated 2026-07-14
create-user-service-prompt.prompt
# Artifact Prompt: create_user_service

Implement the `create_user_service` artifact.

## Role
service

## Module
user

## Responsibilities
- Execute one application-level operation
- Coordinate domain behavior through abstractions
- Accept a user creation input
- Persist through the repository interface

## Must not
- Contain transport-specific behavior
- Access infrastructure implementations directly
- Embed persistence implementation logic

## Allowed dependencies
- src/domain
- src/application/interfaces

## Forbidden dependencies
- src/interfaces
- src/infrastructure

## Inputs
- CreateUserInput

## Outputs
- CreateUserOutput

## Completion criteria
- The artifact focuses exclusively on its defined responsibilities.
- The implementation respects forbidden dependencies and architectural rules.

when to use it

Community prompt sourced from the open-source GitHub repo Arcflect/batonel (Apache-2.0). A "Create User Service.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

Arcflect/batonel · Apache-2.0