Download the source code, open it using turbowarp, then create a new sprite. This sprite is the custom mod. To edit the mod, just edit the sprite. To export / share the mod with other people, export the sprite.