Write documentation from the code, not from memory
Writing docs for something you did not build means interviewing whoever did, then writing it down before you forget the parts you did not understand.
› Write clear documentation for the sync module: what it does, how to use it, and what it depends on.A draft grounded in the actual implementation rather than a description of it. Ask it to show you the code behind any claim you doubt.