Home / tbc-servicos / dataagile-agent-kit · fluig/skills/clean-architecture/SKILL.md · GitHub

clean-architecture skillA

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.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add tbc-servicos/dataagile-agent-kit/clean-architecture@git:20260807.443e141
Exact content
mdr add tbc-servicos/dataagile-agent-kit/clean-architecture@sha256:287376cc667c02c2

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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cgwugvorqcy6vzbe.svg)](https://markdownregistry.com/a/art_cgwugvorqcy6vzbe)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260807.443e141 latest2026-08-07 443e141 8,507 BA view · diff
git:20260712.364fada2026-07-12 364fada 7,494 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8507 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tbc-servicos/dataagile-agent-kit · 3 stars · license MIT · pushed 2026-09-24 · branch main

API

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.

More from tbc-servicos/dataagile-agent-kit

CLAUDE.md claude
tbc-servicos/dataagile-agent-kit · CLAUDE.md
git:20260712.364fada · audit A · 3 stars
CLAUDE.md@fluig claude
tbc-servicos/dataagile-agent-kit · fluig/CLAUDE.md
git:20260807.443e141 · audit A · 3 stars
api-ref skill
tbc-servicos/dataagile-agent-kit · fluig/skills/api-ref/SKILL.md · Referência das APIs TOTVS Fluig — DatasetFactory, DatasetBuilder, CardAPI, WCMAPI, fluigc, WFMovementDTO…
git:20260518.b7d2ec5 · audit A · 3 stars
brainstorm skill
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)…
git:20260807.443e141 · audit A · 3 stars
dataset skill
tbc-servicos/dataagile-agent-kit · fluig/skills/dataset/SKILL.md · Cria dataset JavaScript para TOTVS Fluig com defineStructure(), createDataset(), try/catch e logging completo. Use…
git:20260518.b7d2ec5 · audit A · 3 stars
ddd skill
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…
git:20260712.364fada · audit A · 3 stars
debug skill
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…
git:20260518.b7d2ec5 · audit A · 3 stars
deploy skill
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…
git:20260712.6010b47 · audit A · 3 stars
feedback skill
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…
git:20260518.b7d2ec5 · audit A · 3 stars
form skill
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…
git:20260518.b7d2ec5 · audit A · 3 stars
implement skill
tbc-servicos/dataagile-agent-kit · fluig/skills/implement/SKILL.md · Orquestra Agent Team para executar plano Fluig — fluig-implementer (sonnet) implementa em worktree isolado…
git:20260807.443e141 · audit A · 3 stars
init-project skill
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…
git:20260807.443e141 · audit A · 3 stars

Every file in tbc-servicos/dataagile-agent-kit

Other files named clean-architecture

clean-architecture skill
ciembor/agent-rules-books · clean-architecture/SKILL.md · Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or…
git:20260909.802595f · audit A · 2,850 stars
clean-architecture skill
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…
v1.4.0 · audit A · 2,253 stars
clean-architecture skill
wondelai/skills · clean-architecture/SKILL.md · Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to…
v1.4.0 · audit A · 2,253 stars
clean-architecture skill
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…
v1.4.0 · audit A · 2,253 stars
clean-architecture skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-php/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven…
git:20260223.c6d4db1 · audit A · 348 stars
clean-architecture skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-typescript/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Domain-Driven Design (DDD), and Hexagonal Architecture (Ports…
git:20260323.227390f · audit A · 348 stars
clean-architecture skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-python/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven…
git:20260223.c6d4db1 · audit A · 348 stars
clean-architecture skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-java/skills/clean-architecture/SKILL.md · Provides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven…
git:20260324.a02e282 · audit A · 348 stars

Browse by kind, by grade A, or by owner.