Skip to content

Add config for Cursor plugin#178

Draft
keertip wants to merge 1 commit into
flutter:mainfrom
keertip:cursor-plugin
Draft

Add config for Cursor plugin#178
keertip wants to merge 1 commit into
flutter:mainfrom
keertip:cursor-plugin

Conversation

@keertip

@keertip keertip commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Moved from dart-lang/ai.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread README.md

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:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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.

Suggested change
1. Copy the `plugins` directory to your local Cursor plugins folder:
1. Copy the repository directory to your local Cursor plugins folder:

Comment thread README.md
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`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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.

Suggested change
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant