home/language/create-user-controller-prompt

Create User Controller.prompt

GPTClaudeGemini··1,200 copies·updated 2026-07-14
create-user-controller-prompt.prompt
# Artifact Prompt: create_user_controller

Implement the `create_user_controller` artifact.

## Role
controller

## Module
user

## Responsibilities
- Accept input from an external interface
- Call the application layer
- Translate results into external response data

## Must not
- Contain business rules that belong to domain or application
- Contain direct persistence logic
- Write infrastructure-specific operations

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

## Forbidden dependencies
- src/infrastructure

## Inputs
- CreateUserRequest

## Outputs
- CreateUserResponse

## 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 Controller.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

languagecommunitygeneral

source

Arcflect/batonel · Apache-2.0