AI Coding Rules Generator
Generate instruction files for Cursor, Windsurf, GitHub Copilot, or any AGENTS.md agent. Describe your project, set your rules, and copy or download the file. Everything runs in your browser.
About the AI Coding Rules Generator
The AI Coding Rules Generator builds instruction files for AI coding assistants like Cursor, Windsurf, GitHub Copilot, and any agent that reads an AGENTS.md file. You describe your project, list your tech stack, and set conventions plus do and don't rules, and the tool assembles a clean rules file ready to drop into your repo. Everything runs in your browser, so nothing you type is uploaded or stored.
How it works
- Pick your target assistant. This sets the section style and the download filename, such as .cursorrules or .github/copilot-instructions.md.
- Fill in the project description and add your tech stack as tags.
- Add coding conventions, things the assistant should always do, and things it should never do. Each is a repeatable list you can grow or trim.
- Copy the assembled file or download it with the correct filename for your target.
Features
- Four targets: Cursor (.cursorrules), Windsurf (.windsurfrules), GitHub Copilot (.github/copilot-instructions.md), and generic (AGENTS.md).
- Tech stack tag input with quick add and remove.
- Repeatable lists for conventions, always-do rules, and never-do rules.
- Live preview of the full rules file in a monospace box as you type.
- Copy to clipboard or download with the right filename for the selected target.
Frequently asked questions
Which assistants does this support?
It generates files for Cursor (.cursorrules), Windsurf (.windsurfrules), GitHub Copilot (.github/copilot-instructions.md), and a generic AGENTS.md that many agents and CLIs read. Changing the target updates the section style and the download filename.
Is the output the same for every target?
The content you enter stays the same, but the file is framed for the chosen assistant and uses that assistant's expected filename. The body is plain Markdown with clear sections, so it works well across tools.
Where do I put the generated file?
Cursor, Windsurf, and AGENTS.md files go in your project root. The Copilot file goes in a .github folder as copilot-instructions.md. Download the file and place it at the path shown in the filename.
Is my project information sent anywhere?
No. The file is assembled entirely in your browser. Nothing you enter is uploaded, logged, or shared.
Can I edit the file after generating it?
Yes. The output is plain text in standard Markdown, so you can copy it into your editor and adjust any section by hand at any time.