Generate a complete project rules system for GitHub Copilot, Cursor, OpenAI Codex, and any AI coding agent — instructions, prompts, rules, skills, task tracking, documentation scaffolding, and observation logs — from a single prompt.
# AI Agent Rules Generator > ⭐ **If you clone this repo, please give it a star.** It helps others find it and keeps the project going. [](LICENSE)      **Generate a complete project rules system for GitHub Copilot, Cursor, OpenAI Codex, and any AI coding agent — instructions, prompts, rules, skills, task tracking, documentation scaffolding, reports, and observation logs — from a single prompt.** --- ## What This Is A reusable prompt that analyzes any software project and generates a full engineering workflow system tailored to your AI coding agent. Feed it a project description, point it at your codebase, choose your target platform(s), and it produces everything your agent needs to work effectively: coding conventions, task lifecycle rules, documentation structure, planning templates, commit workflows, and multi-tier verification gates. It works with any stack — PHP, TypeScript, Python, Swift, Go, Rust, or anything else. The generator discovers your project's framework, dependencies, and architecture, then produces rules tailored to what it finds. ### Supported Platforms | Target | Output Location | What Gets Generated | |--------|----------------|---------------------| | **GitHub Copilot** | `.github/instructions/` · `.github/prompts/` | Up to 8 instruction files (scoped via `applyTo`) + up to 8 reusable prompt files | | **Cursor** | `.cursor/rules/` | 7–9 `.mdc` rule files with
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.