Right now, vendor skillbooks are generated through merchant/treasure generation (i.e. random). Last I heard, I think Larian were considering making some something specific for skill books to be less random. I don't know if they'll follow up on that, or if they do, whether it'll make it in for the release.