Skip to content

Add resources for all the examples, following https://flutter.dev/go/packaged-ai-assets#62

Open
jakemac53 wants to merge 3 commits intoNorbert515:mainfrom
jakemac53:packaged-ai-assets-resoruces
Open

Add resources for all the examples, following https://flutter.dev/go/packaged-ai-assets#62
jakemac53 wants to merge 3 commits intoNorbert515:mainfrom
jakemac53:packaged-ai-assets-resoruces

Conversation

@jakemac53
Copy link

This is mostly for my own prototyping purposes, but it wouldn't hurt to land officially so I thought I would send it your way. Eventually, this will just work with the normal MCP server once the changes hit stable.

This is best used in conjunction with a rules files update (GEMINI.md etc), like the following:

## Dart MCP server instructions

Always list the resources from the dart MCP server at the start of every conversation. These contain vital skills from package dependencies that you can use to perform complex tasks.

You can then use this branch of the MCP server https://github.com/dart-lang/ai/tree/packaged-ai-assets-prototype and these resources will be exposed to your agent.

The exact interaction model you will get is dependent on the client, but in Antigravity this enables things like "evaluate my package for nocterm best practices" and it will go read the appropriate examples.

@jakemac53
Copy link
Author

Note that I generated the file using Gemini, so it could be missing some, and the descriptions/titles may not all totally make sense, so you might want to take a glance before landing :)

@jakemac53
Copy link
Author

Note that I just updated the folder name, but haven't updated the prototype yet to read that one, I will soon.

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