# Dartdoc Samples and SnippetsThe [snippets] tool uses the files in the `skeletons` directory to inject codeblocks generated from `{@tool dartpad}`, `{@tool sample}`, and `{@tool snippet}`sections found in doc comments into the API docs.[snippet]:https://github.com/flutter/assets-for-api-docs/tree/master/packages/snippets