feat: add custom pluggable widget AIGC skill#42
Conversation
Add a skill file that teaches Claude to autonomously create Mendix pluggable widgets from natural language descriptions. Includes: - Step-by-step scaffolding with correct widget id namespace format - Complete property type reference (string, attribute, datasource, etc.) - React component patterns and Mendix prop API usage - Build, install, and troubleshooting guide Key fix: widget id must include a lowercase widget name segment (e.g. com.example.widgets.helloworld.HelloWorld) to match the JS subdirectory the build tool creates, preventing 404 at runtime.
ako
left a comment
There was a problem hiding this comment.
Clean new skill, no overlap, well-structured. The widget ID namespace fix is a valuable gotcha to document.
Follow-up: Widget should be developed inside the Mendix projectThe skill currently scaffolds the widget as a standalone directory with a manual Mendix best practiceDevelop the widget inside the Mendix project directory, with What this enables
Suggested changes to the skill
This turns the dev cycle from "build → copy → reload" into just "save → F4". |
Follow-up: Development vs publishing workflow + Marketplace stepsTwo-phase approachThe skill should cover both phases, since they use different project structures:
The widget source is self-contained ( Marketplace publishing workflowThe skill should include a section on getting the widget into the Marketplace. Steps from the Mendix docs: Preparation:
Submission (via marketplace.mendix.com → Add Content):
Ongoing:
Suggested skill structure |
Summary
.claude/skills/mendix/create-custom-widget.md) that teaches Claude to autonomously scaffold, build, and install Mendix pluggable widgets from natural language descriptionscom.example.widgets.helloworld.HelloWorld) to match the JS subdirectory the build tool creates, preventing 404 at runtimeTest plan
com/example/widgets/helloworld/HelloWorld.js) aligns with<file path>in package.xml🤖 Generated with Claude Code