Add config for Cursor plugin#178
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a Cursor plugin configuration for Dart and Flutter, along with local testing instructions in the README.md. The review feedback correctly identifies two minor documentation inconsistencies in the README regarding the directory copy instructions and the reference to the MCP configuration file name.
|
|
||
| You can test this plugin locally by copying it to your Cursor plugins directory. | ||
|
|
||
| 1. Copy the `plugins` directory to your local Cursor plugins folder: |
There was a problem hiding this comment.
The text mentions copying the plugins directory, but the command below copies the repository directory (agent-plugins). We should update the text to refer to the repository directory to avoid confusion.
| 1. Copy the `plugins` directory to your local Cursor plugins folder: | |
| 1. Copy the repository directory to your local Cursor plugins folder: |
| cp -r /path/to/flutter/agent-plugins ~/.cursor/plugins/local/dart-flutter | ||
| ``` | ||
|
|
||
| 2. Restart Cursor. The editor will automatically discover and load the skills under `skills/` and configure the MCP server defined in `mcp.json`. |
There was a problem hiding this comment.
The README refers to mcp.json, but the plugin configuration in .cursor-plugin/plugin.json specifies ./.mcp.json (with a leading dot). We should update this reference to .mcp.json for consistency.
| 2. Restart Cursor. The editor will automatically discover and load the skills under `skills/` and configure the MCP server defined in `mcp.json`. | |
| 2. Restart Cursor. The editor will automatically discover and load the skills under skills/ and configure the MCP server defined in .mcp.json. |
Moved from dart-lang/ai.