How to add corner trim to a shed without exterior access?
I would build the shed on rollers or skids three feet from the neighbors' walls. Finish it completely and properly, then roll or slide it into position, lever it up and slip the timbers out. A 10x10 shed should be very manageable.
Leave any unnecessary interior work for afterwards to keep weight down.