Skip to main content

Authoring with AI

Use generated context instead of copying the whole website into a prompt:

All of these are generated from the same contract snapshot.

Prompt template

Create a Hexis Lua script for this observable goal:
[goal]

Use only members present in https://docs.usehexis.com/llms-api.txt.
Prefer Supported members. Explain any Advanced or Experimental member before
using it. Include preconditions, a timeout, cancellation behavior, and cleanup.
Do not infer similarly named, planned, legacy, or internal functions.

Review generated Lua

  1. Search llms-api.txt for every hexis.* member.
  2. Confirm signatures and stability against the linked page.
  3. Check world, inventory, GUI, and server assumptions.
  4. Add a finite timeout to every wait or polling loop.
  5. Test with a visible stop control.

Keep private data out of prompts

Do not send license data, session tokens, authenticated URLs, private logs, server addresses, personal information, or another person's script to a model unless you are authorized to share it.