I generally use comments, especially for something I forgot twice.
[forgot] is useful code to remember something, as is, even more succinctly, [!]. You can also put [! (description)] to remember what it's for.
You may need recursive text search on all the story.ni files to find this, but it can help a lot for precise syntax.
The sort of thing I often forget is
definition: a person (called x) is y-ish:
to decide what number is palace-let:
to decide whether below-is-wrong:
to decide whether you-can-advance:
to decide which person is the suspect:
to decide which direction is the psgdir of (gu - a guardian):