skeleton spec for compress and decompess