dart-analyze-files

要在 Dart 或 Flutter 项目中运行静态分析,请分析文件以查找编译和 lint 错误。

📖 中文导读:要在 Dart 或 Flutter 项目中运行静态分析,请分析文件以查找编译和 lint 错误。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: dart-analyze-files description: "To run static analysis across a Dart or Flutter project, analyze files to find compile and lint errors."

Usage

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

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

Tool Description

Analyzes the entire project for errors.

Arguments Schema

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

{
  "type": "object"
}

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>"}}