In the documents regarding Custom Instructions Files you mentioned:
In addition to the customInstructions property in JSON, you can use a dedicated file for mode-specific instructions: Create a file named .clinerules-{mode-slug}
But when I do it, it does not append the custom instructions in this file in the custom mode I created.