I find myself frequently creating one-off repos to test a concept or technology. To streamline this process, I have written a bash function and included it in my bashrc configuration.
When invoked, it creates a new directory, creates a mercurial repository preconfigured for git integration with a main bookmark activated, creates a README.md file, and then opens the directory in my editor of choice (VSCode).