๐ Workflow for generating .cursorrules and AGENTS.md files with dynamic AI skills integration
Explore the docs ยป
View Example
ยท
Report Bug
ยท
Request Feature
Table of Contents
A structured 5-stage workflow for creating professional project rules (.cursorrules) and AI agent guidelines (AGENTS.md). This workflow helps you establish consistent coding standards across all your projects while ensuring AI assistants understand your codebase.
- โ Consistent Standards - Same structure across all projects
- โ AI-Ready - AI assistants understand your codebase better
- โ Dynamic Skills - Never outdated with dynamic skill discovery
- โ Time-Saving - Complete in 30-60 minutes
- โ Best Practices - Built from proven patterns
| Feature | Description |
|---|---|
| 5-Stage Workflow | Structured process with time estimates |
| Keyword Tables | Easy skill discovery by project type |
| Verification Checklist | Ensure quality with reader testing | | Quick Reference Card | At-a-glance summary for fast execution |
- ๐ Web Frontend - React, Vue, Angular, Next.js
- โ๏ธ Backend API - Node.js, Python, Go, Rust
- ๐งฉ Chrome Extensions - Manifest V3
- ๐ฑ Mobile Apps - React Native, Flutter
- ๐ป CLI Tools - Bash, PowerShell
- ๐ค AI/ML Projects - LLM, RAG, Agents
- ๐ฎ Game Development - Unity, Godot, Unreal
- An AI assistant that supports skills (Cursor, Claude, etc.)
- Access to
.agent/skills/CATALOG.md(skill library) - Your project source code
- Download the workflow file to your project:
(Ensure you have an
curl -o .agent/workflows/create-project-rules.md https://raw.githubusercontent.com/naravid19/ai-project-rules-generator/main/workflows/create-project-rules.md
.agent/workflowsdirectory first)
Run the workflow with your AI assistant:
/create-project-rules
Or simply ask:
"Create professional project rules for this project"
- Open
.agent/workflows/create-project-rules.md - Follow the 5 stages step by step
- Get
.cursorrulesandAGENTS.mdtailored to your project
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CREATE PROJECT RULES - QUICK REF โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Stage 1: Analyze โ Config, Tech Stack, Patterns โ
โ Stage 2: Skills โ Search CATALOG.md + Read โ
โ Stage 3: .cursorrules โ Standards, Rules, Examples โ
โ Stage 4: AGENTS.md โ Skills section (dynamic!) โ
โ Stage 5: Verify โ Checklist + Reader Test โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โฑ๏ธ Total Time: 30-60 minutes โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Stage | Time | Description |
|---|---|---|
| 1. Project Analysis | 10-15 min | Understand structure, tech stack, patterns |
| 2. Skill Discovery | 5-10 min | Search CATALOG.md for relevant skills |
| 3. Create .cursorrules | 10-20 min | Write coding standards and rules |
| 4. Create AGENTS.md | 5-10 min | Write AI guidelines with dynamic skills |
| 5. Verification | 5 min | Checklist and reader testing |
# Project Rules: My Chrome Extension
## Tech Stack
- Language: JavaScript (ES2020+)
- Platform: Chrome Extension (Manifest V3)
## Critical Rules
1. โ Never use `localStorage` - use `chrome.storage` instead
2. โ
Always check `chrome.runtime.lastError` after API calls## ๐ฏ Available Skills
> [!IMPORTANT]
> Always check `.agent/skills/CATALOG.md` before starting any task!
### Helpful Keywords
- Extension: `browser`, `extension`, `chrome`, `manifest`
- Testing: `testing`, `jest`, `unit`- Core workflow with 5 stages
- Time estimates for each stage
- Example outputs
- Quick reference card
- Add more project type examples
- Visual diagram for workflow
- Multi-language support
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
naravid19 - GitHub Profile
Project Link: https://github.com/naravid19/ai-project-rules-generator