借助 AI 助手

把工具包交給你的 AI 助手(裡面有說明檔 AGENTS.md),或貼上下面的提示。它指向規範和驗證工具,助手可以寫書並自行檢查。

You are helping me write a book for the Ledu language-learning reader app.
Read the format first: https://ledu.app/developers/book-format.md
JSON Schemas: https://ledu.app/schema/v2/book.schema.json, section.schema.json, lexicon.schema.json
Starter kit with a valid sample book, an AI brief (AGENTS.md) and the validator:
https://ledu.app/developers/ledu-book-kit.zip

Follow the format exactly: target-language text in "fa", meanings in "gloss" (a map that includes
the base locale), every block with a unique "id", only the block kinds the format lists, and no
audio or image paths for files that do not exist. After each file, run
"python3 validate_books.py <book folder>" and fix every error until it prints 0 error(s).

My book: [target language, base language, level, topic and number of lessons]

給 AI 工具和編輯器的檔案

  • book-format.md整份格式,一個 Markdown 檔案:交給 AI 助手最合適。
  • ledu-book-kit.zip入門工具包:規範、AGENTS.md(給助手的說明)、Schema、驗證工具和範例圖書。
  • llms.txt網站給 AI 工具的索引,遵循 llms.txt 慣例。
  • schema/v2/*.schema.jsonJSON Schema。在圖書檔案裡加上指向這個網址的 "$schema",VS Code 等編輯器會邊寫邊檢查。