docstring for generic skip and limit generator