add write_snippet.md