Refactors skim reader into a directive