Files
MultiPROG-Ultimate-Kit/18_Documentation/SCRIPT_WRITING_GUIDE.md
T
2026-09-04 11:35:41 -07:00

424 B

Script Writing Guide

Writing a new script

  1. Choose a template from 17_MultiPROG_SDK/templates.
  2. Fill in metadata and purpose.
  3. Keep host APIs behind wrappers.
  4. Validate all inputs and ranges.
  5. Test offline before any Multi-PROG-specific adaptation.

Good practices

  • Prefer pure functions.
  • Keep changes explicit and allow-listed.
  • Preserve immutable originals.
  • Use clear logging and error messages.