Writing Custom Starlark Lint Rules

Create and execute custom Starlark linting rules for Mendix projects.

1|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/engalar/mxcli-taskdemo --skill writing-custom-starlark-lint-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Writing Custom Starlark Lint Rules
Source: https://github.com/engalar/mxcli-taskdemo/tree/main/TaskDemo/.claude/skills/write-lint-rules
Command: npx skills add https://github.com/engalar/mxcli-taskdemo --skill writing-custom-starlark-lint-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides the framework and documentation necessary to enforce custom project standards and architectural patterns within Mendix projects using Starlark-based linting.

Core Features & Use Cases

  • Custom Rule Definition: Create domain-specific validation logic for entities, microflows, and pages.
  • Automated Quality Assurance: Integrate custom checks into the mxcli linting workflow to catch architectural drift early.
  • Use Case: Define a rule to ensure all persistent entities have mandatory access rules or to enforce naming conventions across your Mendix module.

Quick Start

Create a new file in the .claude/lint-rules/ directory and define a check function to validate your project structure.

Frequently Asked Questions about Writing Custom Starlark Lint Rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom linting rules for Mendix projects?

Custom linting rules for Mendix are created by defining a check function in a new file within the .claude/lint-rules/ directory to validate your project structure against domain-specific standards.

What is Starlark-based linting used for in Mendix?

Starlark-based linting is used to enforce custom architectural standards and quality checks across Mendix entities, microflows, and pages by querying project metadata and reporting violations.

Can I enforce naming conventions and access rules using mxcli linting?

Yes, you can enforce naming conventions and mandatory access rules by integrating custom Starlark validation logic into the mxcli linting workflow to catch architectural drift early.

Does the Starlark linting API support checking persistent entities and microflows?

Yes, the Starlark linting API supports checking persistent entities and microflows by allowing you to define domain-specific validation logic that queries project metadata and reports violations.

What is the best way to automate quality assurance for Mendix architectural standards?

The best way to automate quality assurance for Mendix architectural standards is integrating custom Starlark-based linting checks into the mxcli workflow to automatically catch architectural drift early.

Do I need to use a specific API to query project metadata for custom Mendix lint rules?

Yes, developing custom Mendix lint rules requires adhering to the defined Starlark API for querying project metadata and reporting violations accurately within your validation logic.