better snippet workflow