From xmake-skills
Invokes Xmake CLI commands to configure, build, run, clean, install, pack, and inspect a project. Covers flags for xmake f, xmake, xmake run, xmake install, xmake pack, and related subcommands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xmake-skills:xmake-commandsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Xmake's CLI is a single `xmake` binary with subcommands. Without a subcommand it runs `build`.
Xmake's CLI is a single xmake binary with subcommands. Without a subcommand it runs build.
xmake f / xmake config)xmake f -m release # build mode
xmake f -p linux -a x86_64 # platform + arch
xmake f --toolchain=clang
xmake f -c # clear old config
xmake f --menu # interactive TUI (shows all options)
xmake f -v # verbose
Config is persisted under .xmake/, so later xmake calls reuse it.
xmake # build all default targets
xmake app # build a specific target
xmake -r # rebuild (force)
xmake -j 8 # parallel jobs
xmake -v # show compile commands
xmake -vD # verbose + diagnostics (for debugging xmake.lua)
xmake -w # treat warnings
xmake run # run default runnable target
xmake run app arg1 arg2 # pass arguments
xmake run -d app # run under debugger (gdb/lldb/cdb)
xmake clean # current config
xmake clean --all # all configs
xmake clean app # one target
xmake install -o /usr/local
xmake install --root app # one target, root-prefixed
xmake uninstall -o /usr/local
xmake pack)Produce distributable archives (zip/tar.gz/deb/rpm/nsis/wix/...):
xmake pack # default format
xmake pack -f zip
xmake pack -f nsis # Windows installer
xmake pack -f deb mylib # Debian package for one target
Packaging metadata is defined via xpack(...) in xmake.lua.
xmake show # project summary
xmake show -l targets
xmake show -l toolchains
xmake show -l plats
xmake show -t app # info for one target
xmake show --key=options
xmake project -k compile_commands # compile_commands.json
xmake project -k cmakelists # CMakeLists.txt (one-way export)
xmake project -k vsxmake -m "debug,release" # Visual Studio solution
xmake project -k xcode # Xcode project
xmake update # stable
xmake update -s dev # dev branch
xmake test → xmake-testsxpack interfaces → see xmake docsnpx claudepluginhub xmake-io/xmake-skills --plugin xmake-skillsGuides users through starting a new Xmake project: installation (brew, curl, scoop), creating projects from templates, and writing the minimal xmake.lua. Helpful for first-time Xmake users or scaffolding a new project.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.