patterns-data-processing skillA
patterns-data-processing is agent-read markdown (skill) from mendixlabs/mxcli: Patterns for loops, aggregates, batch processing and list transformation — including which retrieve source is legal where, and why nested loops are the wrong tool. Use when a microflow processes a list, merges data, or does anything in bulk..
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
# Data Processing Patterns
Patterns for loops, aggregates, batch processing, and data transformation.
## Loop Patterns
### Basic Loop
```mdl
/**
* Process all items in a list
*/
create microflow Module.ProcessItems (
$Items: list of Module.Item
)
returns boolean
begin
declare $ProcessedCount integer = 0;
loop $item in $Items
begin
-- Process each item
change $item (ProcessedDate = [%CurrentDateTime%]);
commit $item;
set $ProcessedCount = $ProcessedCount + 1;
end loop;
log info node 'Processing' 'Processed ' + $ProcessedCount + ' items';
return true;
end;
/
```
### Loop with Filtering
```mdl
/**
* Process only active items
*/
create microflow Module.ProcessActiveItems (
$Items: list of Module.Item
)
returns integer
begin
declare $count integer = 0;
loop $item in $Items
begin
if $item/IsActive then
-- Process active item
change $item (LastProcessed = [%CurrentDateTime%]);
commit $item;
set $count = $count + 1;
end if;
end loop;
return $count;
end;
/
```
### Loop with Accumulator
```mdl
/**
* Calculate total value of all orders
*/
create microflow Module.CalculateOrderTotal (
…Read the whole file at its exact version.
How to install
mdr add mendixlabs/mxcli/patterns-data-processing@git:20260916.fb6e35bmdr add mendixlabs/mxcli/patterns-data-processing@sha256:e2cd6a631ce0d703Pin 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_mi5mems5yhbhqwny)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.fb6e35b latest | 2026-09-16 | fb6e35b | 10,515 B | A | view · diff |
| git:20260821.ff81a24 | 2026-08-21 | ff81a24 | 9,222 B | A | view |
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 (10515 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
mendixlabs/mxcli · 124 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mi5mems5yhbhqwny GET https://markdownregistry.com/api/v1/resolve?ref=mendixlabs/mxcli/patterns-data-processing GET https://markdownregistry.com/api/v1/blob/e2cd6a631ce0d703212dfa2921183b1b801c8d3590f9384e0b7f48ae0bb0445e
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.