User Repository Gateway.prompt
# Artifact Prompt: user_repository_gateway
Implement the `user_repository_gateway` artifact.
## Role
gateway
## Module
user
## Responsibilities
- Implement infrastructure-facing persistence access
- Translate between persistence structures and domain/application models
- Support user persistence operations
## Must not
- Contain transport-specific logic
- Define core business policy
- Act as an application service
## Allowed dependencies
- src/domain
- src/application
- src/infrastructure
## Forbidden dependencies
- src/interfaces
## Outputs
- UserRepositoryGateway
## 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 "User Repository Gateway.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