dart-resolve-workspace-symbol

To search for symbols across Dart workspaces, resolve a symbol name to find definitions or catch spelling errors.

⭐6stars🔀3forks📁View on GitHub🕐Updated Jan 7, 2026⬇️2downloads

When & Why to Use This Skill

This Claude skill enables efficient symbol resolution and discovery across Dart workspaces. By leveraging fuzzy search capabilities, it allows developers to quickly locate definitions, navigate complex codebases, and identify potential typos in symbol names, significantly streamlining the Dart development and debugging process.

Use Cases

  • Locating Definitions: Quickly find the exact location of a class, function, or variable definition within a large-scale Dart project.
  • Error Correction: Identify and fix 'undefined symbol' errors by using fuzzy search to find the correct spelling of a method or property.
  • Codebase Exploration: Navigate and understand unfamiliar Dart repositories by searching for key architectural symbols and their usages.
  • Workspace Navigation: Seamlessly jump between different packages and modules in a Dart workspace by resolving symbol names globally.
namedart-resolve-workspace-symbol
description"To search for symbols across Dart workspaces, resolve a symbol name to find definitions or catch spelling errors."

Usage

Use the MCP tool dev-swarm.request to send the payload as a JSON string:

{"server_id":"dart","tool_name":"resolve_workspace_symbol","arguments":{}}

Tool Description

Look up a symbol or symbols in all workspaces by name. Can be used to validate that a symbol exists or discover small spelling mistakes, since the search is fuzzy.

Arguments Schema

The schema below describes the arguments object in the request payload.

{
  "type": "object",
  "description": "Returns all close matches to the query, with their names and locations. Be sure to check the name of the responses to ensure it looks like the thing you were searching for.",
  "properties": {
    "query": {
      "type": "string",
      "description": "Queries are matched based on a case-insensitive partial name match, and do not support complex pattern matching, regexes, or scoped lookups."
    }
  },
  "required": [
    "query"
  ]
}

Background Tasks

If the tool returns a task id, poll the task status via the MCP request tool:

{"server_id":"dart","method":"tasks/status","params":{"task_id":"<task_id>"}}