dataset skillA
dataset is agent-read markdown (skill) from tbc-servicos/dataagile-agent-kit: Cria dataset JavaScript para TOTVS Fluig com defineStructure(), createDataset(), try/catch e logging completo. Use quando precisar consultar dados no Fluig, integrar com Protheus via REST, consulta SQL, atualizar dados externos ou dataset com constraints. Suporta: SQL simples, REST Protheus (GET/POST), SQL dinâmico com validação anti-injection..
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
## Consulta MCP
Antes de gerar código, consulte o MCP `tbc-knowledge`:
```
searchFluigApi({ category: "dataset" })
// → métodos DatasetFactory, DatasetBuilder, constraints, colunas
searchFluigPatterns({ category: "template", skill: "fluig-dataset" })
// → templates: base, SQL, REST Protheus, constraints
searchFluigPatterns({ category: "naming" })
// → convenção de nomenclatura ds_[acao]_[entidade].js
```
---
## Fluxo de Desenvolvimento
1. Nomear dataset: `ds_[acao]_[entidade].js`
2. Implementar `defineStructure()` — define colunas
3. Implementar `createDataset()` — executa lógica, retorna dados
4. Sempre usar `try/catch` e logging
5. Testar com fluig-test
---
## Instruções para Claude
1. **Perguntar antes de gerar:** Qual o nome do dataset? Qual a fonte de dados (SQL, REST Protheus, dataset interno)? Quais colunas retornar? Precisa de constraints?
2. **Consultar MCP** para obter o template correto conforme o tipo de dataset solicitado.
3. **Sempre incluir** `try/catch` com `log.info` na entrada e `log.error` no catch.
4. **Validar inputs** em datasets SQL dinâmico — nunca concatenar parâmetros sem sanitização.
…Read the whole file at its exact version.
How to install
mdr add tbc-servicos/dataagile-agent-kit/dataset@git:20260518.b7d2ec5mdr add tbc-servicos/dataagile-agent-kit/dataset@sha256:203d9a18c31ff87ePin 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.
[](https://markdownregistry.com/a/art_k2nkncxhrhriujw2)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1616 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
tbc-servicos/dataagile-agent-kit · 3 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_k2nkncxhrhriujw2 GET https://markdownregistry.com/api/v1/resolve?ref=tbc-servicos/dataagile-agent-kit/dataset GET https://markdownregistry.com/api/v1/blob/203d9a18c31ff87eed38c2b9323f077d8d82f4d0bee7f8ebebd36e3d8a676ce9
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
Every file in tbc-servicos/dataagile-agent-kit