This repository hosts curated "system instructions" and "rules" for AI coding assistants (GitHub Copilot, Cursor, Windsurf, etc.) to ensure they generate high-quality, production-ready code.
AI models are powerful but often generate generic or outdated code. By providing them with specific constraints, best practices, and preferred patterns, we can force them to adhere to production standards (in this case, focusing on enterprise Spring Boot & Java).
Comprehensive rules for building modern enterprise applications.
- Main Instructions File (The "Master Prompt")
- Deep Dive Rules:
- Copy the contents of the relevant
.github-copilot-instructions.mdinto your own repository's.github/copilot-instructions.md. - (Optional) Copy the
copilot-rules/folder to your repo to reference specific deep-dive context.
- Copy the
copilot-rules/directory associated with your stack into your project's.cursor/rules/folder. - Cursor will index these files and use them to enforce project-specific logic.
Contributions are welcome! If you have optimized prompts or rules for other stacks (React, Python, Go, etc.), please submit a Pull Request.