Skip to content

[docs] Add instructions for installing the Claude plugin - #13643

Open
jesskuras wants to merge 4 commits into
flutter:mainfrom
jesskuras:add-claude-plugin-install-docs
Open

[docs] Add instructions for installing the Claude plugin#13643
jesskuras wants to merge 4 commits into
flutter:mainfrom
jesskuras:add-claude-plugin-install-docs

Conversation

@jesskuras

@jesskuras jesskuras commented Jul 29, 2026

Copy link
Copy Markdown

This PR adds documentation for installing the official Flutter plugin for Claude Code across the AI assistance documentation pages ('agent-skills.md', 'mcp-server.md', and 'coding-assistants.md').

Changes

  • 'ai/agent-skills.md': Adds a '### Using the Claude Code plugin' section showing how to add the 'flutter/agent-plugins' marketplace and install 'dart-flutter@dart-flutter'.
  • 'ai/mcp-server.md': Adds a '#### Install via plugin (recommended)' option under '### Claude Code' alongside the manual 'claude mcp add' option.
  • 'ai/coding-assistants.md': Adds a '## Claude Code' section with overview and installation instructions.

@jesskuras
jesskuras requested review from a team and sfshaza2 as code owners July 29, 2026 20:33

@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 updates the documentation to include instructions for setting up Claude Code with Flutter and Dart. It adds details on installing the official Flutter plugin to automatically configure agent skills and the MCP server. The review feedback suggests minor phrasing and grammatical improvements to clarify that the plugin is installed via the plugin marketplace rather than directly from GitHub, and to add missing articles for better readability.

Comment on lines +86 to +88
If you use Claude Code, you can install the official Flutter plugin directly
from GitHub. This installs Flutter and Dart agent skills alongside the
[Dart and Flutter MCP server](/ai/mcp-server):

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

For better accuracy and grammatical flow, consider phrasing this to indicate installation is done via the plugin marketplace rather than directly from GitHub, and add the article 'the' before 'Flutter and Dart agent skills'.

Suggested change
If you use Claude Code, you can install the official Flutter plugin directly
from GitHub. This installs Flutter and Dart agent skills alongside the
[Dart and Flutter MCP server](/ai/mcp-server):
If you use Claude Code, you can install the official Flutter plugin
via the plugin marketplace. This installs the Flutter and Dart agent skills
alongside the [Dart and Flutter MCP server](/ai/mcp-server):

Comment thread sites/docs/src/content/ai/mcp-server.md Outdated
Comment on lines +310 to +312
The easiest way to set up the Dart and Flutter MCP server in Claude Code is to
install the official Flutter plugin from GitHub. This installs both the MCP
server and official [Agent skills](/ai/agent-skills):

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

For consistency and accuracy, refer to installing the plugin via the marketplace rather than directly from GitHub, and add the missing article 'the' before 'official Agent skills'.

Suggested change
The easiest way to set up the Dart and Flutter MCP server in Claude Code is to
install the official Flutter plugin from GitHub. This installs both the MCP
server and official [Agent skills](/ai/agent-skills):
The easiest way to set up the Dart and Flutter MCP server in Claude Code is to
install the official Flutter plugin via the plugin marketplace. This installs
both the MCP server and the official [Agent skills](/ai/agent-skills):

@flutter-website-bot

flutter-website-bot commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit 7842442):

https://flutter-docs-prod--docs-pr13643-add-claude-plugin-inst-9b5stgrp.web.app

@jesskuras
jesskuras marked this pull request as draft July 29, 2026 20:44
@flutter-website-bot

flutter-website-bot commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit 7842442):

https://flutter-dev-230821--www-pr13643-add-claude-plugin-inst-y2549srf.web.app

@jesskuras
jesskuras marked this pull request as ready for review July 29, 2026 21:42

@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 updates the documentation to add instructions for integrating Claude Code with Flutter and Dart agent skills and MCP servers. However, the reviewer pointed out that the documented claude plugin commands and plugin marketplace do not actually exist in Claude Code. The feedback suggests removing these incorrect plugin instructions and instead guiding users to use the skills CLI for automatic discovery and the standard claude mcp command for manual configuration.

Comment on lines +84 to +106
### Using the Claude Code plugin

If you use Claude Code, you can install the official Flutter plugin. This
installs the Flutter and Dart agent skills alongside the
[Dart and Flutter MCP server](/ai/mcp-server):

1. Add the Flutter marketplace for Claude plugins:

```console
$ claude plugin marketplace add flutter/agent-plugins
```

2. Install the plugin:

```console
$ claude plugin install dart-flutter@dart-flutter
```

3. Verify the installation:

```console
$ claude plugin marketplace list
```

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 claude plugin command and plugin marketplace do not exist in Claude Code. Claude Code is configured via MCP servers (using claude mcp) and does not have a plugin system or marketplace.

To use agent skills with Claude Code, users should install them into the project's .agents/skills directory using the skills CLI (as described in the 'Using the skills CLI' section), which Claude Code will then automatically discover.

Suggested change
### Using the Claude Code plugin
If you use Claude Code, you can install the official Flutter plugin. This
installs the Flutter and Dart agent skills alongside the
[Dart and Flutter MCP server](/ai/mcp-server):
1. Add the Flutter marketplace for Claude plugins:
```console
$ claude plugin marketplace add flutter/agent-plugins
```
2. Install the plugin:
```console
$ claude plugin install dart-flutter@dart-flutter
```
3. Verify the installation:
```console
$ claude plugin marketplace list
```
### Claude Code integration
If you use Claude Code, it will automatically discover any agent skills installed in your project's `.agents/skills` directory. Simply follow the [Using the skills CLI](#using-the-skills-cli) instructions above to install the skills in your project workspace.

Comment on lines +305 to 336
You can configure Claude Code to use the Dart and Flutter MCP server either
by installing the official plugin or by configuring the server manually.

#### Install via plugin (recommended)

The easiest way to set up the Dart and Flutter MCP server in Claude Code is to
install the official Flutter plugin. This installs both the MCP
server and official [agent skills](/ai/agent-skills):

1. Add the Flutter marketplace for Claude plugins:

```console
$ claude plugin marketplace add flutter/agent-plugins
```

2. Install the plugin:

```console
$ claude plugin install dart-flutter@dart-flutter
```

3. Verify the installation:

```console
$ claude plugin marketplace list
```

#### Configure manually

Alternatively, to configure Claude Code to use only the Dart and Flutter MCP
server for the current project, use the `claude mcp add` CLI command:

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 claude plugin command and plugin marketplace do not exist in Claude Code. Claude Code only supports MCP servers via the claude mcp command. Please revert this section to the original manual configuration instructions.

Suggested change
You can configure Claude Code to use the Dart and Flutter MCP server either
by installing the official plugin or by configuring the server manually.
#### Install via plugin (recommended)
The easiest way to set up the Dart and Flutter MCP server in Claude Code is to
install the official Flutter plugin. This installs both the MCP
server and official [agent skills](/ai/agent-skills):
1. Add the Flutter marketplace for Claude plugins:
```console
$ claude plugin marketplace add flutter/agent-plugins
```
2. Install the plugin:
```console
$ claude plugin install dart-flutter@dart-flutter
```
3. Verify the installation:
```console
$ claude plugin marketplace list
```
#### Configure manually
Alternatively, to configure Claude Code to use only the Dart and Flutter MCP
server for the current project, use the `claude mcp add` CLI command:
To configure Claude Code to use the Dart and Flutter MCP server
for the current project, use the `claude mcp add` CLI command:

Comment on lines +46 to +57
[Claude Code](https://code.claude.com/) is an agentic coding assistant from
Anthropic that runs in your terminal. You can equip Claude Code with domain
expertise and tools for Flutter and Dart by installing the official Flutter
plugin:

```console
$ claude plugin marketplace add flutter/agent-plugins
$ claude plugin install dart-flutter@dart-flutter
```

For more details on setting up skills and tools with Claude Code, see the
[agent skills](/ai/agent-skills) and [MCP server](/ai/mcp-server) pages.

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 claude plugin command and plugin marketplace do not exist in Claude Code. Please replace this with a general description of how to equip Claude Code with skills and tools by pointing to the other pages.

Suggested change
[Claude Code](https://code.claude.com/) is an agentic coding assistant from
Anthropic that runs in your terminal. You can equip Claude Code with domain
expertise and tools for Flutter and Dart by installing the official Flutter
plugin:
```console
$ claude plugin marketplace add flutter/agent-plugins
$ claude plugin install dart-flutter@dart-flutter
```
For more details on setting up skills and tools with Claude Code, see the
[agent skills](/ai/agent-skills) and [MCP server](/ai/mcp-server) pages.
[Claude Code](https://code.claude.com/) is an agentic coding assistant from
Anthropic that runs in your terminal. You can equip Claude Code with domain
expertise and tools for Flutter and Dart by setting up agent skills and the MCP server.
For more details on setting up skills and tools with Claude Code, see the
[agent skills](/ai/agent-skills) and [MCP server](/ai/mcp-server) pages.

@jesskuras
jesskuras requested a review from mariamhas July 29, 2026 21:44

@lamek lamek 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.

The Flutter skills repo is now agent plugins (https://github.com/flutter/agent-plugins).

Because the instructions are the same, I recommend keeping the updates here to the skills page, and linking back to it from both the other two (MCP and Coding Assistants).

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.

3 participants