用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/scouzi1966/maclocal-api --skill build-afm命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | build-afm |
| description | Build or test maclocal-api reliably with Xcode 27 and MLX resources. |
Run every direct SwiftPM build or test through the repository wrapper:
Scripts/swiftpm-reliable.sh build -c release --product afm
Scripts/swiftpm-reliable.sh test -c release
Do not invoke raw swift build or swift test. The wrapper selects the
reliable Xcode 27 build driver, detects and repairs stale explicit-module state
once, writes persistent logs, and stages the canonical metallib from the
resolved AFMKit package beside every XCTest executable where MLX's C++ runtime
expects mlx.metallib.
The wrapper also exports MACAFM_MLX_METALLIB for AFMKit's own resource
locator. Do not add ad hoc copies or paths to normal test commands. Set that
variable only when deliberately qualifying a different metallib. Use Release
builds for all performance measurements.
Run Scripts/check-afmkit-consumer-boundary.sh after dependency or packaging
changes. Normal builds must keep the immutable AFMKit/MLX graph and must not
apply the legacy vendor patch stack.