patterns-crud skillA
patterns-crud is agent-read markdown (skill) from mendixlabs/mxcli: Standard Create/Read/Update/Delete microflow patterns with the naming conventions that go with them. Use when writing the action microflows behind page buttons rather than looking up individual syntax..
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
# CRUD Action Patterns
Standard patterns for Create, Read, Update, Delete operations on entities.
## Naming Conventions
| Prefix | Purpose | Example |
|--------|---------|---------|
| `ACT_` | Action microflow (page button) | `ACT_Customer_Save` |
| `VAL_` | Validation microflow | `VAL_Customer_Save` |
| `DS_` | Data source microflow | `DS_Customer_GetAll` |
| `SUB_` | Sub-microflow (internal) | `SUB_Customer_SendEmail` |
## Save Pattern (Create/Update)
Used for Save buttons on NewEdit pages.
```mdl
/**
* Save action for Customer NewEdit page
* Validates, commits, and closes the page
*
* @param $Customer The customer to save
* @returns true if saved successfully
*/
create microflow Module.ACT_Customer_Save (
$Customer: Module.Customer
)
returns boolean
begin
-- Validate first
declare $IsValid boolean = true;
$IsValid = call microflow Module.VAL_Customer_Save($Customer = $Customer);
if $IsValid then
commit $Customer;
close page;
end if;
return $IsValid;
end;
/
```
## Validation Pattern
Companion validation microflow for Save actions.
```mdl
/**
* Validate Customer before save
*
* @param $Customer The customer to validate
…Read the whole file at its exact version.
How to install
mdr add mendixlabs/mxcli/patterns-crud@git:20260824.826e4cdmdr add mendixlabs/mxcli/patterns-crud@sha256:5da61ab421036611Pin 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_iywmc4vhydderkwe)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260824.826e4cd latest | 2026-08-24 | 826e4cd | 5,060 B | A | view · diff |
| git:20260821.ff81a24 | 2026-08-21 | ff81a24 | 5,007 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 (5060 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_iywmc4vhydderkwe GET https://markdownregistry.com/api/v1/resolve?ref=mendixlabs/mxcli/patterns-crud GET https://markdownregistry.com/api/v1/blob/5da61ab421036611131d85af8821f4409e68a1065db6af7bdc3409f858365313
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.