add guide key
add before-save-hook