Works for Cursor and Windsurf.
A prompt is generated with Grok 3 Thinking, based on this template:
Upon receiving a file containing multiple LLM prompts separated by `---`, each with coding rules for various tools, follow these steps to create a single, optimized prompt for an AI coding assistant: