vertical-slice
Organize .NET Features with Vertical Slice Architecture
Layered projects can scatter one feature across many folders and abstractions. This skill guides .NET feature organization with colocated handlers, endpoints, validation, and optional modules.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
Review the Skillstore skill "vertical-slice" from https://skillstore.io/skills/codewithmukesh-vertical-slice.md and its manifest at https://skillstore.io/api/skills/codewithmukesh-vertical-slice/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "vertical-slice". How should we organize a simple CreateOrder operation?
Resultado esperado:
- Keep the request, response, validator, and handler together in the Orders feature folder.
- Group order endpoints and map the handler result to a created response or a problem response.
- Place persistence infrastructure and shared validation behaviors outside individual features.
Usando "vertical-slice". Our small API does not need messaging or a mediator dependency. Which handler pattern fits?
Resultado esperado:
- Use raw handler classes with direct endpoint injection.
- Keep each handler focused on one operation and use the application persistence context directly.
- Provide application-specific registration, validation, and result mapping around the example.
Usando "vertical-slice". Orders and Catalog are growing independently. How should we separate them?
Resultado esperado:
- Give each module its own feature folders and persistence context.
- Keep the API host responsible for module registration and endpoint composition.
- Prefer integration events between modules and keep shared contracts limited.
Auditoria de segurança
SeguroAll 25 static findings are false positives: Markdown backticks were mistaken for shell execution, and C# declarations were mistaken for reconnaissance. No evidence found of malicious commands, data exfiltration, or prompt injection in the reviewed skill.
Fatores de risco
⚙️ Comandos externos (21)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/codewithmukesh-vertical-slice/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/codewithmukesh-vertical-slice?utm_source=security_passport_badge)Badge HTML
<a href="https://skillstore.io/skills/codewithmukesh-vertical-slice?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/codewithmukesh-vertical-slice/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Cartão incorporável
<iframe src="https://skillstore.io/embed/skills/codewithmukesh-vertical-slice.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citações acadêmicas (APA · BibTeX · CFF)
Citação APA
codewithmukesh. (2026). vertical-slice security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/codewithmukesh-vertical-slice/audits/1Citação BibTeX
@techreport{codewithmukesh-codewithmukesh-vertical-slice-2026,
author = {codewithmukesh},
title = {vertical-slice security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/codewithmukesh-vertical-slice/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "vertical-slice security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "codewithmukesh"
date-released: "2026-10-31"
url: "https://skillstore.io/skills/codewithmukesh-vertical-slice/audits/1"
identifiers:
- type: other
value: "skillstore:codewithmukesh-vertical-slice:audit:1"
description: "Skillstore immutable audit report identifier"
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
Add a focused API operation
Plan a new order operation with colocated contracts, validation, handling, and endpoint wiring.
Choose a handler approach
Compare Mediator, Wolverine, and raw handlers against messaging needs and dependency preferences.
Introduce module boundaries
Outline separate modules with their own features and persistence contexts while reducing direct feature coupling.
Teste estes prompts
Explain how to organize a CreateProduct operation as a .NET vertical slice, including request, response, validation, handler, and endpoint responsibilities.
Plan a CreateOrder slice using raw handler classes and our existing AppDbContext. List the required types, endpoint wiring, and missing application dependencies.
Compare Mediator and Wolverine for our .NET API with asynchronous integration events. Recommend an approach and explain validation, registration, and endpoint implications.
Review our Orders and Catalog feature layout for direct handler coupling and unnecessary layers. Propose module boundaries, persistence ownership, and shared contracts.
Boas práticas
- Match the existing handler pattern before introducing a new library or convention.
- Start with one file per operation and split complex features into colocated files when necessary.
- Keep shared infrastructure outside features and avoid direct calls between feature handlers.
Evitar
- Adding service and repository layers inside every slice without a concrete need.
- Calling another feature handler directly instead of defining a suitable shared boundary.
- Combining unrelated operations and business workflows into one oversized feature file.
Perguntas frequentes
What does this skill provide?
Does vertical slice architecture require a mediator library?
Which handler approach does the guide recommend by default?
Can I paste the examples into an empty project?
How does the skill handle larger applications?
Does the skill automatically install dependencies or execute scripts?
Detalhes do desenvolvedor
Autor
codewithmukeshLicença
MIT
Revisão da Skillstore
r1
Aviso de versão
O autor não declarou uma versão.
Referência
a5562f8bf6b94571e112c2eb74222dd89dbcf60b
Atualidade da manutenção
31/10/2026
Uso
0 downloads · 0 visualizações
Estrutura de arquivos
📄 SKILL.md