{"slug": "i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef", "title": "I got tired of repeating engineering rules to AI on every project. So I built GEF.", "summary": "A developer built Guardian Engineering Framework (GEF), an open-source project generator that integrates engineering rules, AI prompts, and CI/CD directly into new projects to prevent AI assistants from forgetting best practices. GEF automatically configures GitHub Flow, conventional commits, ADRs, and security checks, pushing AI to follow a reproducible workflow.", "body_md": "For several months, I noticed the same problem with Cursor, Windsurf, and other AI assistants.\n\nThey're excellent…\n\nbut they quickly forget project rules.\n\nAt first:\n\nclean architecture\n\nconventional commits\n\ndocumentation\n\ntests\n\nThen, after a few hours of development:\n\n200-line functions\n\ndirect push to main\n\nno ADR\n\nforgotten documentation\n\nignored OWASP rules\n\nEnd up, you end up repeating the same instructions:\n\n\"Use GitHub Flow\"\n\n\"Don't forget the tests\"\n\n\"Respect the complexity limits\"\n\n\"Document this decision\"\n\nAgain.\n\nAnd again.\n\nAnd again.\n\nSo I decided to reverse the problem.\n\nInstead of reminding the AI of the rules…\n\n...why not integrate them directly into the project?\n\nThis is exactly what Guardian Engineering Framework (GEF) does.\n\nThe idea\n\nGEF is a project generator.\n\nBut unlike a simple scaffold, it also installs:\n\nEngineering Playbook\n\nAI prompts\n\nGit Hooks\n\nCI/CD\n\nCursor/Windsurf rules\n\nADR\n\nDiátaxis documentation\n\nright from project creation.\n\n`npx create-gef`\n\nA few minutes later, the project already has technical governance.\n\nWhat is generated\n\nGEF automatically configures:\n\nGitHub Flow\n\nConventional Commits\n\nPull Request template\n\nCI GitHub Actions\n\nDocker\n\ndocumentation\n\nADR\n\nlint\n\nsecurity\n\nAI prompts\n\nThe goal is for the project to enforce best practices, even when multiple developers or multiple AIs are involved.\n\nAn AI that acts as a Tech Lead\n\nThis is the point I find most interesting.\n\nThe framework pushes the AI to:\n\ncreate ADRs\n\nopen Pull Requests\n\nrespect issues\n\nrun tests\n\nfollow a reproducible workflow\n\nThe AI is no longer just a code generator.\n\nIt follows a process.\n\nWhy it's open source\n\nI wanted something usable with:\n\nCursor\n\nWindsurf\n\nGitHub Copilot\n\nClaude Code\n\nwithout depending on a specific IDE.\n\nAll the rules reside within the project.\n\nRepository\n\nGitHub:\n\n[https://github.com/Gnzikoune/GEF](https://github.com/Gnzikoune/GEF)\n\nNPM:\n\n[https://www.npmjs.com/package/create-gef](https://www.npmjs.com/package/create-gef)\n\nFeedback is welcome.", "url": "https://wpnews.pro/news/i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef", "canonical_source": "https://dev.to/gnzikoune/i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef-4b6d", "published_at": "2026-07-21 02:23:41+00:00", "updated_at": "2026-07-21 02:59:44.890357+00:00", "lang": "en", "topics": ["developer-tools", "artificial-intelligence", "ai-tools"], "entities": ["GEF", "Cursor", "Windsurf", "GitHub Copilot", "Claude Code", "GitHub", "NPM"], "alternates": {"html": "https://wpnews.pro/news/i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef", "markdown": "https://wpnews.pro/news/i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef.md", "text": "https://wpnews.pro/news/i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef.txt", "jsonld": "https://wpnews.pro/news/i-got-tired-of-repeating-engineering-rules-to-ai-on-every-project-so-i-built-gef.jsonld"}}