원클릭으로
servicestack-dto-design
Designs request/response DTOs using DTO-first, message-based ServiceStack conventions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Designs request/response DTOs using DTO-first, message-based ServiceStack conventions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | servicestack-dto-design |
| description | Designs request/response DTOs using DTO-first, message-based ServiceStack conventions. |
ServiceStack APIs are defined by their Request DTOs. Follow these principles for robust API design.
GetCustomers, CreateOrder).IReturn<T> to define the response type.
public class GetCustomer : IReturn<CustomerResponse>
{
public int Id { get; set; }
}
IVerb interfaces (e.g., IGet, IPost) to restrict allowed HTTP methods.[Route] attribute to define the API endpoint.
[Route("/customers/{Id}", "GET")]
ResponseStatus property to enable structured error handling by clients.
public class CustomerResponse
{
public Customer Result { get; set; }
public ResponseStatus ResponseStatus { get; set; }
}
GetCustomersResponse instead of List<Customer>) for future extensibility.ServiceModel) so they can be shared with clients without code generation.DataTable) in DTOs.[Api("Description")] and [ApiMember(Description="...")] attributes to enrich metadata/Swagger.Designs stable, discoverable APIs using routes, metadata, and versioning conventions.
Implements authentication using ServiceStack Auth Providers and session handling.
Applies role-, permission-, and ownership-based authorization using ServiceStack idioms.
Implements AutoQuery services, custom filters, and permission-aware querying.
Controls OpenAPI / metadata exposure without compromising ServiceStack-first design.
Uses OrmLite via the implicit Db connection and understands transaction semantics and rollback behavior.