With an AI assistant

Give your assistant the kit (it has a brief, AGENTS.md), or paste this prompt. It points to the spec and the validator, so the assistant can write a book and check its own work.

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]

Files for AI tools and editors

  • book-format.mdThe whole format in one Markdown file: the best single thing to give an assistant.
  • ledu-book-kit.zipThe starter kit: the spec, AGENTS.md (a brief for the assistant), the schemas, the validator and a sample book.
  • llms.txtThe site's index for AI tools, in the llms.txt convention.
  • schema/v2/*.schema.jsonJSON Schemas. Add "$schema" with this address to a book file and editors such as VS Code check it as you type.