clean-architecture is agent-read markdown (skill) from tbc-servicos/dataagile-agent-kit: Aplica os princípios de Clean Architecture (livro de Robert Martin, o Uncle Bob) ao desenvolvimento Fluig — regra de dependência e camadas no widget Angular + PO-UI (component → service de aplicação → domínio puro → adapter HTTP/Dataset), datasets server-side e eventos de workflow como adaptadores finos, SOLID em TypeScript com a DI do Angular. Use quando o dev pedir para "organizar o widget em camadas", "desacoplar regra de negócio do componente", "aplicar clean architecture", "aplicar SOLID", .
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Clean Architecture aplicada ao Fluig
Destilação prática dos princípios de *Clean Architecture* para os dois mundos do Fluig:
o **widget Angular + PO-UI** (front) e o **lado plataforma** (datasets, eventos de
workflow e formulários). Objetivo: regra de negócio que sobrevive a troca de tela, de
endpoint e de versão — e é **testável com Jasmine/Karma sem HTTP nem plataforma no ar**.
> Skills irmãs: `/fluig:ddd` (modelagem — *o que* construir), esta (estrutura — *como
> organizar*). Se o time também usa o plugin protheus, os equivalentes são
> `/protheus:clean-architecture` e `/protheus:ddd` — mesmos princípios, outro stack.
## Consulta MCP (antes de gerar código)
- **Versão do Angular/PO-UI: nunca fixe em código novo.** Leia o `package.json` do projeto;
para projeto novo, use a versão estável atual do Angular (o PO-UI acompanha o major do
Angular). Confirme via MCP — não confie na memória do modelo para versão.
- **MCP do Angular CLI** (`npx -y @angular/cli mcp`): `get_best_practices` e
`search_documentation` antes de decidir padrão (standalone, signals, control flow);
`list_projects` para entender o workspace; `modernize`/`onpush_zoneless_migration` em
código legado.
…
Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
GET https://markdownregistry.com/api/v1/artifacts/art_cgwugvorqcy6vzbe
GET https://markdownregistry.com/api/v1/resolve?ref=tbc-servicos/dataagile-agent-kit/clean-architecture
GET https://markdownregistry.com/api/v1/blob/287376cc667c02c2c021a54a02e6d705675b065947d1cffb0fbde1c180647762
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
tbc-servicos/dataagile-agent-kit · fluig/skills/brainstorm/SKILL.md · Gate de design para desenvolvimento Fluig. Use ANTES de criar qualquer artefato (widget, form, dataset, workflow)…
tbc-servicos/dataagile-agent-kit · fluig/skills/ddd/SKILL.md · Aplica Domain-Driven Design (baseado em Implementing DDD, de Vaughn Vernon) ao desenvolvimento Fluig — linguagem ubíqua…
tbc-servicos/dataagile-agent-kit · fluig/skills/debug/SKILL.md · Debugging sistemático para Fluig. Guia investigação de root cause em 4 fases: reproduzir, investigar, hipótese…
tbc-servicos/dataagile-agent-kit · fluig/skills/deploy/SKILL.md · Deploy de artefatos Fluig no servidor de teste. Lê CLAUDE.md para identificar ambiente, confirma com o dev, aciona…
tbc-servicos/dataagile-agent-kit · fluig/skills/feedback/SKILL.md · Registra um aprendizado de correção na base de conhecimento Fluig. Usar quando Claude erra e o dev corrige, para que o…
tbc-servicos/dataagile-agent-kit · fluig/skills/form/SKILL.md · Cria formulário HTML para TOTVS Fluig com events/ e Util/. Use quando precisar criar formulário Fluig, adicionar…
tbc-servicos/dataagile-agent-kit · fluig/skills/implement/SKILL.md · Orquestra Agent Team para executar plano Fluig — fluig-implementer (sonnet) implementa em worktree isolado…
tbc-servicos/dataagile-agent-kit · fluig/skills/init-project/SKILL.md · Inicializa um projeto Fluig — entrevista o desenvolvedor e gera CLAUDE.md com contexto do cliente (URL servidor…
ciembor/agent-rules-books · clean-architecture/SKILL.md · Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or…
wondelai/skills · plugins/systems-architecture/skills/clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…
wondelai/skills · clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…
wondelai/skills · plugins/wondelai-skills/skills/clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…