Ryanba 30f6f18d41
文档: 同步 OpenClaw 安装与集成说明 (#432)
Syncs OpenClaw install docs and integration paths. Aligns README examples with current script behavior.
2026-04-10 18:54:58 -05:00

39 lines
729 B
Markdown

# Cursor Integration
Converts the full Agency roster into Cursor `.mdc` rule files. Rules are
**project-scoped** — install them from your project root.
## Install
```bash
# Run from your project root
cd /your/project
/path/to/agency-agents/scripts/install.sh --tool cursor
```
This creates `.cursor/rules/<agent-slug>.mdc` files in your project.
## Activate a Rule
In Cursor, reference an agent in your prompt:
```
@frontend-developer Review this React component for performance issues.
```
Or enable a rule as always-on by editing its frontmatter:
```yaml
---
description: Expert frontend developer...
globs: "**/*.tsx,**/*.ts"
alwaysApply: true
---
```
## Regenerate
```bash
./scripts/convert.sh --tool cursor
```