完善 snippets