if your searching especially for info about portable Scheme code, following places might help:
one more:
this SWANK server implementation for around a dozen R7RS (and older) Schemes has some common code and then some implementation-specific helpers defined here:
https://github.com/ecraven/r7rs-swank/tree/master/specific