AgentSkillsCN

dart-analyze-files

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

SKILL.md
--- frontmatter
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:

json
{"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.

json
{
  "type": "object"
}

Background Tasks

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

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