Skip to content

naravid19/ai-project-rules-generator

generating-project-rules

Verified

Make sure to use this skill WHENEVER the user mentions creating, generating, or updating project rules files (.cursorrules, AGENTS.md, CLAUDE.md, GEMINI.md, or equivalent) for any software project. This is essential when a user wants to integrate AI skills into their development workflow, or when they need cross-platform AI tool configuration. Skip this for general code generation, refactoring, or tasks unrelated to AI agent configuration files.

assets/templates/README.md

View on GitHub
# ๐Ÿ“‹ Template Gallery

Pre-made `.cursorrules` examples for common project types. Use these as **references** โ€” the workflow generates custom versions tailored to your project.

## Available Templates

| Template               | Directory           | Best For                                  |
| ---------------------- | ------------------- | ----------------------------------------- |
| **React + TypeScript** | `react-typescript/` | React SPAs, Next.js, Vite projects        |
| **Python FastAPI**     | `python-fastapi/`   | REST APIs, microservices, async backends  |
| **Flutter Mobile**     | `flutter-mobile/`   | Cross-platform mobile apps                |
| **Node.js Express**    | `nodejs-express/`   | Express.js REST APIs, TypeScript backends |
| **Chrome Extension**   | `chrome-extension/` | Manifest V3 browser extensions            |
| **Next.js Full-Stack** | `nextjs-fullstack/` | Full-stack web apps with App Router       |
| **Go Microservice**    | `go-microservice/`  | Cloud-native Go services, Kubernetes      |
| **Unity Game**         | `unity-game/`       | 3D/2D games with C# and Unity             |
| **CLI Tool**           | `cli-tool/`         | Command-line tools with Commander.js      |
| **LangChain RAG**      | `langchain-rag/`    | AI/ML RAG pipelines, LLM applications     |

## Configuration Template

| File                    | Purpose                                                      |
| ----------------------- | ------------------------------------------------------------ |
| `rulesrc-template.yaml` | Example `.rulesrc.yaml` config โ€” customize workflow behavior |
| `mcp_registry.yaml`     | Default mapping from technical intent keywords to MCP server names |

## How to Use

These templates are **NOT** meant to be copied directly. Instead:

1. **Run the workflow** โ€” `/create-project-rules` generates tailored files
2. **Use templates as inspiration** โ€” compare your generated files with these
3. **Configure with `.rulesrc.yaml`** โ€” copy `rulesrc-template.yaml` to your project root as `.rulesrc.yaml`
4. **Confirm one skill root** โ€” mark exactly one `skill_sources` entry as `confirmed: true`
5. **Contribute your own** โ€” submit a PR with your project type template

> [!TIP]
> The workflow will generate better results than any template because it analyzes YOUR specific project.

## Template Structure

Each template directory contains:

```
{project-type}/
โ””โ”€โ”€ .cursorrules    # Example coding standards
```

## Coverage by Category

| Category             | Templates                                        |
| -------------------- | ------------------------------------------------ |
| ๐ŸŒ Web Frontend      | React TypeScript, Next.js Full-Stack             |
| โš™๏ธ Backend API       | Python FastAPI, Node.js Express, Go Microservice |
| ๐Ÿงฉ Browser Extension | Chrome Extension                                 |
| ๐Ÿ“ฑ Mobile App        | Flutter Mobile                                   |
| ๐ŸŽฎ Game Dev          | Unity Game                                       |
| ๐Ÿ’ป CLI Tool          | CLI Tool                                         |
| ๐Ÿค– AI/ML             | LangChain RAG                                    |
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why โ€” repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" โ€” or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself โ€” your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall