write-lint-rules SKILL.md skillA
write-lint-rules from mendixlabs/mxcli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mendixlabs/mxcli/write-lint-rules@git:20261101.c7eb423Pins git:20261101.c7eb423 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mendixlabs/mxcli
- Path
.claude/skills/mendix/write-lint-rules/SKILL.md- Versions recorded
- 38
- Latest version
- git:20261101.c7eb423, committed Nov 1, 2026
- First version recorded
- Aug 21, 2026
- Size
- 38,397 bytes
- Repository stars
- 137
- License
- Apache-2.0
Write custom Starlark lint rules in .claude/lint-rules/ that run beside the built-ins under `mxcli lint`. Use when a project convention should be enforced automatically.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- skill-index: generated by scripts/skill-index.py; make check-skill-index -->
## Find it fast
`sed -n '<from>,<to>p' SKILL.md` one section rather than reading the file;
`./mxcli syntax <topic>` answers *how do I write this* for a fraction of either.
| lines | section |
|---|---|
| 25-67 | Rule File Structure |
| 68-163 | Available Query Functions |
| 164-545 | Object Properties |
| 546-559 | Helper Functions |
| 560-646 | Common Patterns |
| 647-655 | Validation |
<!-- /skill-index -->
# Writing Custom Starlark Lint Rules
Custom lint rules are written in Starlark (a Python-like language) and placed in `.claude/lint-rules/` as `.star` files. They run alongside the built-in rules when `mxcli lint -p app.mpr` is executed.
## Rule File Structure
Every `.star` file must define metadata constants and a `check()` function:
```python
RULE_ID = "CUSTOM001" # unique identifier
RULE_NAME = "MyRule" # Short display name
DESCRIPTION = "What it checks" # One-line description
CATEGORY = "security" # Category: naming, quality, design, security, etc.
SEVERITY = "warning" # hint, info, warning, error
def check():
violations = []
…Read the whole file at its exact version.
How to install
mdr add mendixlabs/mxcli/write-lint-rules@sha256:4492b1a93ba0efb5The line at the top of this page pins the label git:20261101.c7eb423, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_m2st5t2xrvezrdzd)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 38 versions of this file, between Aug 21, 2026 and Nov 1, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261101.c7eb423 latest | 2026-11-01 | c7eb423 | 38,397 B | A | view · diff |
| git:20261101.19e0546 | 2026-11-01 | 19e0546 | 38,106 B | A | view · diff |
| git:20261031.b00bc28 | 2026-10-31 | b00bc28 | 41,619 B | A | view · diff |
| git:20261031.01eeb7e | 2026-10-31 | 01eeb7e | 39,113 B | A | view · diff |
| git:20261031.865b1e6 | 2026-10-31 | 865b1e6 | 42,626 B | A | view · diff |
| git:20261027.1efde4f | 2026-10-27 | 1efde4f | 42,468 B | A | view · diff |
| git:20261021.d036ecc | 2026-10-21 | d036ecc | 42,194 B | A | view · diff |
| git:20261020.fd57cb6 | 2026-10-20 | fd57cb6 | 41,836 B | A | view · diff |
| git:20261020.af7ac9c | 2026-10-20 | af7ac9c | 41,828 B | A | view · diff |
| git:20261020.fd29386 | 2026-10-20 | fd29386 | 41,837 B | A | view · diff |
| git:20261020.78b768b | 2026-10-20 | 78b768b | 41,837 B | A | view · diff |
| git:20261017.1a855e5 | 2026-10-17 | 1a855e5 | 41,435 B | A | view · diff |
| git:20261017.f84d93c | 2026-10-17 | f84d93c | 40,966 B | A | view · diff |
| git:20261017.fd15667 | 2026-10-17 | fd15667 | 41,321 B | A | view · diff |
| git:20261017.257bf88 | 2026-10-17 | 257bf88 | 40,942 B | A | view · diff |
| git:20261017.d06dd92 | 2026-10-17 | d06dd92 | 40,876 B | A | view · diff |
| git:20261010.50fe33a | 2026-10-10 | 50fe33a | 40,852 B | A | view · diff |
| git:20261008.cc5813b | 2026-10-08 | cc5813b | 40,355 B | A | view · diff |
| git:20261007.deb5557 | 2026-10-07 | deb5557 | 39,586 B | A | view · diff |
| git:20261007.c149390 | 2026-10-07 | c149390 | 39,746 B | A | view · diff |
| git:20261003.63f98d1 | 2026-10-03 | 63f98d1 | 38,977 B | A | view · diff |
| git:20261003.335e8ad | 2026-10-03 | 335e8ad | 38,488 B | A | view · diff |
| git:20261003.d7bbb31 | 2026-10-03 | d7bbb31 | 39,361 B | A | view · diff |
| git:20261003.493bb7c | 2026-10-03 | 493bb7c | 39,186 B | A | view · diff |
| git:20261003.544283c | 2026-10-03 | 544283c | 38,872 B | A | view · diff |
| git:20260926.f725ce9 | 2026-09-26 | f725ce9 | 33,166 B | A | view · diff |
| git:20260926.27cca2e | 2026-09-26 | 27cca2e | 27,847 B | A | view · diff |
| git:20260925.2f58869 | 2026-09-25 | 2f58869 | 27,466 B | A | view · diff |
| git:20260925.7c8619b | 2026-09-25 | 7c8619b | 27,361 B | A | view · diff |
| git:20260925.aaa5645 | 2026-09-25 | aaa5645 | 27,065 B | A | view · diff |
| git:20260925.86d395e | 2026-09-25 | 86d395e | 26,980 B | A | view · diff |
| git:20260922.84449c7 | 2026-09-22 | 84449c7 | 26,579 B | A | view · diff |
| git:20260922.6fda7ec | 2026-09-22 | 6fda7ec | 26,492 B | A | view · diff |
| git:20260922.46bd1f7 | 2026-09-22 | 46bd1f7 | 26,263 B | A | view · diff |
| git:20260918.59db6e7 | 2026-09-18 | 59db6e7 | 24,872 B | A | view · diff |
| git:20260917.1b3adf7 | 2026-09-17 | 1b3adf7 | 23,505 B | A | view · diff |
| git:20260917.829eceb | 2026-09-17 | 829eceb | 22,343 B | A | view · diff |
| git:20260821.ff81a24 | 2026-08-21 | ff81a24 | 22,114 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 (38397 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 · 137 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_m2st5t2xrvezrdzd GET https://markdownregistry.com/api/v1/resolve?ref=mendixlabs/mxcli/write-lint-rules GET https://markdownregistry.com/api/v1/blob/4492b1a93ba0efb59d005a84b83e8e5b58f1e4f51f2f1be19cbfc0fb010e2b6d
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.