snippet spec