بنقرة واحدة
add-mcp-feature
Instructions for adding new features (tools, prompts, etc.) to the dart_mcp_server package.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Instructions for adding new features (tools, prompts, etc.) to the dart_mcp_server package.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Find and close obsolete, stale, or not reproducible issues in the dart-lang/ai repository.
Instructions for updating the README.md file in the `dart_mcp_server` package.
Instructions for updating the supported Model Context Protocol (MCP) specification version in the `dart_mcp` package.
| name | add_mcp_feature |
| description | Instructions for adding new features (tools, prompts, etc.) to the dart_mcp_server package. |
Follow these instructions when adding new tools, prompts, or other capabilities
to the dart_mcp_server.
All server features are implemented as mixins on the DartMCPServer at
pkgs/dart_mcp_server/lib/src/server.dart.
pkgs/dart_mcp_server/lib/src/mixins/
to see if your feature fits into an existing category (e.g., analyzer.dart,
pub.dart).initialize
method of the mixin, which is an override and must call super.initialize().ParameterNames extension in
pkgs/dart_mcp_server/lib/src/utils/names.dart and use that constant
instead of hardcoding string literals in your tool parsing and schema.Always add tests for any new features.
TestHarness class located in
pkgs/dart_mcp_server/test/test_harness.dart.pkgs/dart_mcp_server/test/tools/ for examples of
how to test specific tools.TestHarness lacks functionality needed
for your test, feel free to add it.pkgs/dart_mcp_server/tool/update_readme.dart script to update the
README.md file with any new features, it must be ran from the
pkgs/dart_mcp_server directory.README.md file as needed.CHANGELOG.md file to include any user facing updates.SKILL.md file if that would be helpful for future features.