# 面向 AI 助手的 DiceBear 编码助手会凭记忆编写 DiceBear,而这些记忆大多早于版本 10。下面的代码块就是解决方案:将它粘贴到项目中,助手就能获得适用于项目语言的当前版本软件包、API 的结构,以及查找选项的地址。 ## 项目规则 助手会从其所在的代码仓库中读取规则文件,通常是 `AGENTS.md`。助手所需的一切都在这个代码块中: ```md ## DiceBear Use DiceBear 10. Documentation: https://www.dicebear.com/llms.txt There are six native cores with identical output, not one library with wrappers. Use the one matching this project's language. Do not reach for the JavaScript core when the project is written in something else: JavaScript @dicebear/core + @dicebear/styles PHP dicebear/core + dicebear/styles Python dicebear-core + dicebear-styles Rust dicebear-core + dicebear-styles Go github.com/dicebear/dicebear-go/v10 + github.com/dicebear/styles/v10 Dart dicebear_core + dicebear_styles Every style page carries a loading snippet for all six, for example https://www.dicebear.com/styles/lorelei/index.md HTTP API: https://api.dicebear.com/10.x/