From 92a0383eb36ae8f46847876d963f26a526063c33 Mon Sep 17 00:00:00 2001 From: Keerti Parthasarathy Date: Wed, 15 Jul 2026 07:02:30 -0700 Subject: [PATCH 1/3] Add config for Cursor plugin --- .cursor-plugin/plugin.json | 20 ++++++++++++++++++++ README.md | 13 +++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .cursor-plugin/plugin.json diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json new file mode 100644 index 0000000..eb15e14 --- /dev/null +++ b/.cursor-plugin/plugin.json @@ -0,0 +1,20 @@ +{ + "name": "dart-flutter", + "displayName": "Dart and Flutter", + "version": "1.0.0", + "description": "Official Cursor plugin for Dart and Flutter that installs Flutter/Dart Skills and Dart MCP server for building natively compiled, visually stunning applications for mobile, web, desktop, and embedded devices from a single codebase", + "author": { + "name": "Dart and Flutter Team", + "url": "https://flutter.dev" + }, + "homepage": "https://github.com/flutter/agent-plugins", + "repository": "https://github.com/flutter/agent-plugins", + "license": "BSD-3-Clause", + "keywords": [ + "flutter", + "dart", + "mobile" + ], + "mcpServers": "./.mcp.json", + "skills": "./skills/" +} \ No newline at end of file diff --git a/README.md b/README.md index 7aed699..1a1ee07 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,19 @@ claude plugin install dart-flutter@dart-flutter claude plugin marketplace list ``` +### Cursor Plugin + +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: + +```bash +mkdir -p ~/.cursor/plugins/local +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`. + ## Updating Plugins To update, run the following command: From a540f5f10fef7d3393eff5b273240e2fe255fa98 Mon Sep 17 00:00:00 2001 From: Keerti Parthasarathy Date: Thu, 16 Jul 2026 06:43:07 -0700 Subject: [PATCH 2/3] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a1ee07..41f74da 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ claude plugin marketplace list 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: +1. Copy the repository directory to your local Cursor plugins folder: ```bash mkdir -p ~/.cursor/plugins/local From 8dd7264e20cae1cceda03744f957e5fdded7fcd8 Mon Sep 17 00:00:00 2001 From: Keerti Parthasarathy Date: Thu, 16 Jul 2026 06:43:29 -0700 Subject: [PATCH 3/3] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 41f74da..1e2d26b 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ mkdir -p ~/.cursor/plugins/local 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`. +2. Restart Cursor. The editor will automatically discover and load the skills under skills/ and configure the MCP server defined in .mcp.json. ## Updating Plugins