Skip to main content

Commands reference

The full grammar for ZAR’s comment commands. For a friendlier walkthrough, see Commands.

Invocation

A command is a comment that begins with one of these tokens (case-insensitive), followed by the command text:
All four prefixes are equivalent.

Permission

The author must have write access. OWNER, MEMBER, and COLLABORATOR are accepted automatically; others are checked for write, maintain, or admin permission via GitHub. Insufficient permission gets a refusal reply.

Commands

Behavior notes

  • Parsing. ZAR first matches commands with a fast deterministic parser; if that doesn’t match, it falls back to interpreting the comment with Claude. Plain forms above always match the fast path.
  • Replies. ZAR responds in a threaded reply, mentioning the author, confirming the change or explaining why it couldn’t act (e.g. “didn’t understand the command”, or “update” used outside a PR).
  • Quotes for style. Both "…" and '…' work; unquoted text is taken up to the end of the command. Use quotes when the style text contains punctuation.
  • Immediate effect. Toggles and style changes apply right away; there’s no separate confirmation step.

Examples