Alef绑定生成

原名:alef-generated-bindings

Alef 管理的包及绑定生成物。涵盖生成工作流、配置文件布局、核心侧修改影响及 FFI JSON 序列化要求。编辑相关代码或重新生成前必读。

分类
开发提效
版本
v1.0.0
作者
弈韬(@ra1nzzz)
下载
1
收藏
0
发布
2026-08-25
更新
2026-09-19
TRACE 评分
3 / 5

内容概览

Files under packages/ / and in the binding crates are generated by Alef — do not hand-edit. 1. Check alef.toml before touching anything in packages/ / or a binding crate 2. Modify the Rust source or alef.toml itself 3. task alef:generate → alef all --clean. This formats via poly as part of the run; there is no task alef:format 4. task alef:verify → alef verify --exit-code 5. task e2e:generate then task e2e:test (or task e2e:all) to verify behaviour 6. Commit Rust source + alef.toml + regenerated output atomically The alef: namespace is exactly: generate, verify, build, sync, docs, verify:readme-paths, verify:ffi-formats. Formatting is poly fmt / poly lint. task alef:verify. A hand-rolled git diff over packages/ is under-scoped — generated output also lands in crates/xberg-py/, crates/xberg-php/, crates/xberg-jni/, crates/xberg-node/, crates/xberg-wasm/, crates/xberg-ffi/, packages/dart/r…

查看 SKILL 详情