xmake-script-modules
Installation
SKILL.md
Built-in Script-Module Reference
Inside the script domain (on_load, on_build, after_build, on_run, on_test, task/rule/plugin bodies, imported .lua modules) xmake provides a set of pre-imported modules. No import(...) needed for any of these — they are injected into the sandbox.
For how to write modules and use import() itself, see xmake-scripting.