One of the most missed features for users switching to macOS is the inability to right-click and create a blank text document. You don't need to buy third-party apps for this! We can build it easily using macOS's built-in Automator.
If untitled.txt already exists, it automatically creates untitled-1.txt, untitled-2.txt, etc., preventing any errors.
Here is the step-by-step guide on how to set it up.
Open Spotlight (Cmd + Space), type Automator, and press Enter. Click on New Document.