/dart-query:dart-query-setup-dart-queryfrom dart-query
"Set up dart-query MCP server with SLOP management and configure Dart access token. 以SLOP管理配置dart-query MCP服務器及Dart訪問令牌. Use when: install dart-query, setup dart integration, configure DART_TOKEN, first time dart setup, connect dart to claude"
Ships in dart-query. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
此命令為Claude Code配置dart-query MCP服務器。
依下列步驟設置dart-query:
REQUIRED: 首先確保用戶已配置Dart API令牌。
詢問用戶是否已設置DART_TOKEN環境變量。若未設置,指導如下:
dsa_)~/.bashrc, ~/.zshrc, or ~/.profile):
export DART_TOKEN="your-token-here"
source ~/.bashrc (or ~/.zshrc)驗證令牌已設置:echo $DART_TOKEN
首選SLOP-MCP:
調用以下命令檢查slop-mcp是否可用:
mcp__plugin_slop-mcp_slop-mcp__get_metadata
若slop-mcp可用,以SLOP注冊dart-query:
mcp__plugin_slop-mcp_slop-mcp__manage_mcps
action: register
name: dart-query
type: command
command: npx
args: ["-y", "@standardbeagle/dart-query@latest"]
env: {DART_TOKEN: "${DART_TOKEN}"}
scope: user
若slop-mcp不可用,直接安裝:
工具調用失敗(工具未找到)時,降級為直接Claude MCP安裝:
claude mcp add dart-query --command "npx" --args "-y @standardbeagle/dart-query@latest" --env "DART_TOKEN=${DART_TOKEN}"
調用get_config測試連接:
If using slop-mcp:
mcp__plugin_slop-mcp_slop-mcp__execute_tool
mcp_name: dart-query
tool_name: get_config
parameters: {}
If using direct install:
mcp__plugin_dart-query_dart-query__get_config
應返回工作區配置,含可用看板、狀態及受派者。
若失敗,協助用戶排查令牌配置。
安裝後,以下dart-query工具可用:
| Tool | Purpose |
|---|---|
info | Progressive discovery help system |
get_config | Get workspace configuration |
list_tasks | List/filter tasks |
get_task | Get task details |
create_task | Create new task |
update_task | Update task properties |
delete_task | Move task to trash |
batch_update_tasks | Bulk update tasks with DartQL |
batch_delete_tasks | Bulk delete tasks with DartQL |
move_task | Reorder task position |
add_task_comment | Add comment to task |
list_comments | List task comments |
attach_url | Attach file from URL |
add_time_tracking | Track time on task |
search_tasks | Full-text task search |
list_docs | List documents |
get_doc | Get document details |
create_doc | Create new document |
update_doc | Update document |
delete_doc | Move doc to trash |
get_dartboard | Get dartboard info |
get_folder | Get folder info |
import_tasks_csv | Import tasks from CSV |
execute_dartql | Execute DartQL batch statements |
get_batch_status | Check batch operation progress |
Access Pattern:
mcp__plugin_slop-mcp_slop-mcp__execute_tool with mcp_name: dart-query, tool_name: <tool>mcp__plugin_dart-query_dart-query__<tool>協助用戶驗證令牌:
echo $DART_TOKEN
# Should show their token (dsa_...)
若未設置,引導至shell配置文件添加並重啟終端。
直接測試服務器:
npx @standardbeagle/dart-query info
若使用SLOP,查看服務器狀態:
mcp__plugin_slop-mcp_slop-mcp__manage_mcps
action: status
name: dart-query
若dart-query工具不可用:
claude mcp list或SLOP的manage_mcps搭配action: listmanage_mcps搭配action: reconnect, name: dart-query安裝後,以dart-query技能與工具:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub standardbeagle/standardbeagle-tools --plugin dart-query11 skills in this plugin
/dart-query-batch-opsdart-query batch operations - execute_dartql (recommended), batch update/delete, DartQL SQL-92 syntax, CSV import, safety protocols. 批量操作:execute_dartql(推薦)、批量更刪、DartQL語法、CSV導入、安全協議. Use when: bulk update tasks, batch delete, run DartQL query, import tasks from CSV, execute dartql statement, batch status change/dart-query-discoverydart-query progressive discovery and workspace configuration - info, get_config, get_dartboard, get_folder. 漸進探索dart-query能力,載入工作區配置. Use when: explore dart-query tools, load workspace config, check dartboard details, discover available statuses, initialize session/dart-query-project-recipesProject management recipes - sprint transitions, triage, team rebalancing, stale task cleanup, reporting, and priority recalibration with dart-query. 迭代交接、分類、團隊重平衡、陳舊清理、報告、優先級重校諸配方. Use when: end of sprint transition, triage backlog, rebalance team workload, cleanup stale tasks, generate sprint report, recalibrate priorities