Skip to content

Overhaul AI documentation architecture and getting started guides - #13778

Merged
jesskuras merged 23 commits into
flutter:mainfrom
jesskuras:ai-docs-overhaul
Aug 28, 2026
Merged

Overhaul AI documentation architecture and getting started guides#13778
jesskuras merged 23 commits into
flutter:mainfrom
jesskuras:ai-docs-overhaul

Conversation

@jesskuras

@jesskuras jesskuras commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description

This PR overhauls the content and information architecture of the Flutter AI documentation (docs.flutter.dev/ai), unifying getting started workflows, consolidating conceptual guides, and removing outdated / redundant pages.

Key Changes

  1. Centralize setup in /ai/get-started:
    • Multi-agent tabs for Antigravity (CLI & IDE), Claude Code, Cursor, GitHub Copilot (VS Code), Codex, and Other (generic MCP clients).
    • High-level primer on how plugins, skills, and MCP work together.
  2. Consolidate tooling concepts in /ai/tools:
    • Unified conceptual overview for Agent skills, Dart and Flutter MCP server, Developer Knowledge MCP server, Package skills, and AI rules.
    • Includes progressive disclosure explanations, an architecture overview, and a "When to use what" comparison guide.
  3. Add Package skills guide in /ai/package-skills:
    • Instructions for app developers on discovering skills with dart run skills@ get.
    • Guidelines for package authors on bundling skills in skills/<package_name>/SKILL.md.
    • Cross-linked from /packages-and-plugins/using-packages and /packages-and-plugins/developing-packages.
  4. Deprecations and Removals:
    • Removed redundant / outdated pages: /ai/create-with-ai, /ai/coding-assistants/*, /ai/antigravity*, /ai/agent-skills, /ai/mcp-server, /ai/ai-rules, /ai/best-practices/developer-experience, and /ai/evals.
    • Added permanent 301 redirects in sites/docs/firebase.json for all removed routes.
  5. Navigation & Cross-links:
    • Streamlined the Develop with AI sidebar hierarchy in sites/docs/src/data/sidenav/default.yml.
    • Updated cross-site links (index.md, llms.txt, hot-reload.md, etc.).

- Centralize coding assistant setup instructions in /ai/get-started with tabs for Antigravity, Claude Code, Cursor, GitHub Copilot, Codex, and generic MCP clients.
- Add /ai/tools explaining agent skills, the Dart and Flutter MCP server, Developer Knowledge MCP server, package skills, AI rules, and custom agents.
- Add /ai/package-skills for app developers and package authors.
- Cross-link package skills in /packages-and-plugins guides and sidebar.
- Remove redundant and deprecated pages (/ai/create-with-ai, /ai/coding-assistants/*, /ai/agent-skills, /ai/mcp-server, /ai/ai-rules, /ai/best-practices/developer-experience, /ai/evals).
- Configure 301 redirects for all removed pages in sites/docs/firebase.json.
- Update sidebar navigation in default.yml and fix cross-site links.
@flutter-website-bot

flutter-website-bot commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

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

https://flutter-docs-prod--docs-pr13778-ai-docs-overhaul-robeno19.web.app

@flutter-website-bot

flutter-website-bot commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

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

https://flutter-dev-230821--www-pr13778-ai-docs-overhaul-grh8yqwe.web.app

@jesskuras
jesskuras marked this pull request as ready for review August 25, 2026 20:23
@jesskuras
jesskuras requested review from a team and sfshaza2 as code owners August 25, 2026 20:23

@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 reorganizes and consolidates the AI-assisted development documentation for Flutter and Dart. It removes several redundant or outdated markdown files (such as agent-skills.md, ai-rules.md, antigravity.md, and mcp-server.md) and introduces two new guides: package-skills.md and tools.md. Additionally, it updates the get-started.md guide to serve as a comprehensive entry point for setting up various AI coding assistants, and updates relevant links, redirects, and the sidebar navigation accordingly. The review feedback highlights an outdated global configuration path for the Antigravity CLI and points out multiple instances of an invalid Dart CLI command syntax (using skills@ instead of skills).

Comment thread sites/docs/src/content/ai/get-started.md
Comment thread sites/docs/src/content/ai/package-skills.md
Comment thread sites/docs/src/content/ai/package-skills.md
Comment thread sites/docs/src/content/ai/package-skills.md
Comment thread sites/docs/src/content/ai/tools.md
Comment thread sites/docs/src/content/packages-and-plugins/using-packages.md
Comment thread sites/docs/src/content/ai/package-skills.md Outdated

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

Looks great overall

Comment thread sites/docs/src/content/ai/get-started.md Outdated
Comment thread sites/docs/src/content/ai/get-started.md Outdated
Comment thread sites/docs/src/content/ai/get-started.md

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

@jesskuras, this is a great overhaul! I leave the technical accuracy to the tech reviewers (and the bot certainly has thoughts), but I spent some time on the staged site and it's so much cleaner, more concise, and clearer. I'm glad that the AI tab (which I'm not a fan of and would prefer to delete) just takes you to the same pages as the sidenav that you've restored. I know you have some feedback to incorporate, but I'm going to lgtm this so you can land when ready!

Comment thread sites/docs/src/content/ai/package-skills.md Outdated

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

LGTM.

Much cleaner, great update Jess.

Comment thread sites/docs/src/content/tools/hot-reload.md Outdated
Comment thread sites/docs/src/content/tools/hot-reload.md Outdated
Co-authored-by: Jacob MacDonald <jakemac@google.com>
jesskuras and others added 4 commits August 26, 2026 12:45
Co-authored-by: John Ryan <ryjohn@google.com>
Co-authored-by: John Ryan <ryjohn@google.com>
Co-authored-by: Shams Zakhour <44418985+sfshaza2@users.noreply.github.com>

[Antigravity](https://antigravity.google/) is a suite of agentic development
tools built by Google that includes the Antigravity IDE and Antigravity CLI.
[Antigravity](https://antigravity.google/) is an agentic development platform

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.

could this link go to the antigravity build by google plugin page where they mention our plugin and the contents of it?

https://antigravity.google/docs/build-with-google/#dart-and-flutter

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, added!

</Tab>

<Tab name="Cursor">
<Tab name="Codex">

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.

(super nit) could codex go before github co pilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No problem, reordered them.

Comment thread sites/docs/src/content/ai/get-started.md
* To give your assistant search access to official Flutter and Dart
documentation, connect to the [Developer Knowledge MCP server](
https://developers.google.com/knowledge/mcp).
* To explore or contribute to the official plugins, check out the

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.

currently we arent open for contributions.. havent figured out that process yet. can we just say explore more?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ooh sure, updated.

Comment thread sites/docs/src/content/ai/tools.md Outdated
Comment thread sites/docs/src/content/ai/tools.md Outdated
{:.table .table-striped}

:::note
**Measuring AI tooling quality:** To learn how Flutter and Dart measure

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.

this is in active construction and nothing to see here... can we remove this for now and when we have something lets add this back in?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure thing, removed for now.

When you install an official Flutter agent plugin, it connects your assistant
to two core capabilities:

* **Agent skills**: On-demand procedural guides from the official Flutter and

@mariamhas mariamhas Aug 27, 2026

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.

could this link to the other page where you talk about them? ignore if that is overkill

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh yeah, I'm fine adding in links, sounds good to me.

* **Agent skills**: On-demand procedural guides from the official Flutter and
Dart repositories that teach the assistant how to perform specific tasks,
such as creating responsive layouts, managing state, or writing widget tests.
* **Dart and Flutter MCP server**: A Model Context Protocol (MCP) server that

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.

same comment as above for agent skills, should this link to other page where you dive into it more. ignroe if overkill

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added!

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

Overall this is exactly what i was looking for with the feedback i provided last time. Thank you! left some comments to consider before merging

@jesskuras
jesskuras merged commit 602492c into flutter:main Aug 28, 2026
14 checks passed
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.

7 participants