How to add a slot to a class?
To add a slot (or instance variable), expand the class definition by clicking the grey bar just below the class name in the class coder.
Then add slots in the dedicated form field:

You can also add a slot from a fixit in a method coder: if you refer to an unbound variable, the fixit will offer to make it a temporary or a slot.
