Manage snippets in an automated and reusable manner