← 开源
s-smits

agentic-cursorrules

A practical approach to managing multiple AI agents in Cursor through strict file-tree partitioning and domain boundaries.

AI EngineeringPrompt & ScaffoldPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
646
Star
54
Fork
+0
本周
3
贡献者
创建于 2024-11-25 · 更新于 2026-09-26 · 今日第 15574 名
主要开发者
s-smitsbradenkeithflight505

s-smits/agentic-cursorrules 排名第 15,574,有 646 个星标。

同类别比较

s-smits/agentic-cursorrules 排名第 15,574,此处有 8 个同类条目;modiqo/waggle 排名第 15,573。

同类别比较
名称排名指标
luolin-ai/Dify-Enterprise-WeChat-bot15,560
星标数:
647
分叉数:
99
简介:
基于Dify的企业微信知识库机器人,基于企微gpt知识库的bot机器人,能够自动回复企业微信中收到的消息。这个机器人能够处理私聊和群聊,还可以记住与用户的聊天内容,从而做出更加贴合上下文的回应。此外,您还可以设置白名单来控制机器人与哪些用户或群组交互。如需自己dify网站版的机器人
manojmallick/sigmap15,561
语言:
JavaScript
星标数:
647
分叉数:
51
24mlight/a-share-mcp-is-just-i-need15,566
语言:
Python
星标数:
646
分叉数:
110
modiqo/waggle15,573
语言:
Rust
星标数:
646
分叉数:
69
cloneofsimo/paint-with-words-sd15,581
语言:
Jupyter Notebook
星标数:
645
分叉数:
49
简介:
Implementation of Paint-with-words with Stable Diffusion : method from eDiff-I that let you generate image from text-labeled segmentation map.
huchenlei/ComfyUI-IC-Light-Native15,585
语言:
Python
星标数:
645
分叉数:
36
简介:
ComfyUI native implementation of IC-Light
lofcz/LLMTornado15,587
语言:
C#
星标数:
645
分叉数:
119
简介:
The .NET library to build AI agents with 30+ built-in connectors.
v4rl-ucy/ccm_slam15,591
语言:
C++
星标数:
645
分叉数:
111
简介:
CCM-SLAM: Robust and Efficient Centralized Collaborative Monocular SLAM for Robotic Teams
关键参数与规格
关键参数与规格
参数值
语言Python
类别AI Engineering
子类别Prompt & Scaffold
星标数646
分叉数54
贡献者3
创建日期2024-11-25
更新日期2026-09-26
1 天星标数0
7 天星标数0
排名15,574
上次排名15,383
排名变化-191
7 天星标排名15,066
上次 7 天星标排名15,068
7 天星标排名变化2
总星标排名15,852
上次总星标排名15,824
总星标排名变化-28
国家Netherlands
README 摘录

agentic-cursorrules **Give your AI agents a sense of place. ** Partition large codebases into domain-specific contexts for multi-agent workflows. This tool generates isolated markdown rule files that prevent agent conflicts by giving them explicit file-tree boundaries. Why this exists We've all been there: you give an AI agent access to your whole repository, and suddenly it's "refactoring" a utility file that breaks five other modules you didn't even mention. Traditional workflows drown agents in context they don't

need. **Agentic-cursorrules** solves this by keeping each agent inside a clearly defined slice of the tree. Conversations stay focused, diffs stay local, and coordination overhead drops because your agents aren't trying to understand the entire universe at once. How it works At its core, this tool is a boundary manager. It reads a configuration (which it can auto-detect for you! ) mapping directory patterns to named domains. When you run it, it resolves these domains, respects your rules, and

writes per-domain markdown files (like ). These files describe the boundaries, relevant paths, and guardrails for that specific domain. You reference these in your IDE (Cursor, Windsurf, etc. 10+ and uv (because life is too short for slow installs). The command is the friendliest way to start. It scans your project, guesses the logical domains, and builds a for you interactively. Using the tool Auto-pilot mode Just want to see what it finds? This scans your repo and saves

a without overwriting your main config. Great for checking if your folder structure makes sense to a machine. Taking control For production use, you'll likely want to define your boundaries manually in : Then generate the files: Handy options : The friendly setup wizard. : dry-run that shows you what config is loaded. : Paste a text-based file tree if you want to generate config from a diagram. : Keep the generated markdown files in the script directory (useful for testing without cluttering

your actual project). : Run continuously every minute (good for active development sessions). What you get For each domain, you get a markdown file like . Reference this file when you start a chat with your AI. It contains a visual tree of *only* the files that matter to that domain, along with instructions to "only reference and modify files within this structure. Repository layout Just so you know where things are:

常见问题

记录了多少星标和分叉?

s-smits/agentic-cursorrules 有 646 个星标和 54 个分叉。

仓库排名是多少?

s-smits/agentic-cursorrules 排名第 15,574。

记录的语言和类别是什么?

s-smits/agentic-cursorrules 有 646 个星标,语言为 Python,类别为 AI Engineering。

哪个仓库排名最接近?

s-smits/agentic-cursorrules 与 modiqo/waggle 比较,后者排名第 15,573,有 646 个星标。

README

agentic-cursorrules

Give your AI agents a sense of place.

Partition large codebases into domain-specific contexts for multi-agent workflows. This tool generates isolated markdown rule files that prevent agent conflicts by giving them explicit file-tree boundaries.

Why this exists

We've all been there: you give an AI agent access to your whole repository, and suddenly it's "refactoring" a utility file that breaks five other modules you didn't even mention.

Traditional workflows drown agents in context they don't need. Agentic-cursorrules solves this by keeping each agent inside a clearly defined slice of the tree. Conversations stay focused, diffs stay local, and coordination overhead drops because your agents aren't trying to understand the entire universe at once.

How it works

At its core, this tool is a boundary manager. It reads a configuration (which it can auto-detect for you!) mapping directory patterns to named domains.

When you run it, it resolves these domains, respects your .gitignore rules, and writes per-domain markdown files (like @agent_backend_api.md). These files describe the boundaries, relevant paths, and guardrails for that specific domain. You reference these in your IDE (Cursor, Windsurf, etc.) so your AI helper knows exactly where its lane is—and stays in it.

Getting started

You'll need Python 3.10+ and uv (because life is too short for slow installs).

# 1. Clone the repo
git clone https://github.com/s-smits/agentic-cursorrules.git .agentic-cursorrules
cd .agentic-cursorrules

# 2. Install dependencies
uv sync

# 3. Run the setup wizard
uv run agentic-cursorrules --init

The --init command is the friendliest way to start. It scans your project, guesses the logical domains, and builds a config.yaml for you interactively.

Using the tool

Auto-pilot mode

Just want to see what it finds?

uv run agentic-cursorrules --auto-config

This scans your repo and saves a config_auto.yaml without overwriting your main config. Great for checking if your folder structure makes sense to a machine.

Taking control

For production use, you'll likely want to define your boundaries manually in config.yaml:

project_title: "super-app"
tree_focus:
  - "backend/api"       # The API team's domain
  - "frontend/dashboard" # The dashboard team's domain
  - "shared/utils"      # Everyone's favorite dumping ground

Then generate the files:

uv run agentic-cursorrules

Handy options

  • --init: The friendly setup wizard.
  • --verify-config: dry-run that shows you what config is loaded.
  • --tree-input: Paste a text-based file tree if you want to generate config from a diagram.
  • --local-agents: Keep the generated markdown files in the script directory (useful for testing without cluttering your actual project).
  • --recurring: Run continuously every minute (good for active development sessions).

What you get

For each domain, you get a markdown file like @agent_backend_api.md.

Reference this file when you start a chat with your AI. It contains a visual tree of only the files that matter to that domain, along with instructions to "only reference and modify files within this structure." It's like putting blinders on a racehorse—it keeps them moving forward, fast.

Repository layout

Just so you know where things are:

.agentic-cursorrules/
├── agentic_cursorrules/          # The brains of the operation
│   ├── agent_generator.py        # Writes the markdown files
│   ├── config_updater.py         # Manages the yaml configs
│   ├── project_tree_generator.py # Draws those pretty trees
│   └── smart_analyzer.py         # Sherlock Holmes for your folder structure
├── main.py                       # The entry point
├── config.yaml                   # Your settings
└── pyproject.toml                # Dependencies
排名相邻
同类项目