Back to home@xby-skill

xby-extract-antv-topic

No description

Stars
0
Language
TypeScript
Created
Aug 28, 2026
Updated
Aug 28, 2026
GitHub repo

Introduction

xby-extract-antv-topic

DeepSeek Harness (DSH) 的插件:AntV文档协议服务

为AI开发和QA设计的模型上下文协议服务器,提供AntV文档上下文和代码示例。

功能

  • set_xby_apikey — 在聊天中设置 API 密钥(自动持久化,重启有效)
  • extract_antv_topic — AntV Intelligent Assistant Preprocessing Tool - Specifically designed to handle any user queries related to AntV visualization libraries. This tool is the first step in processing AntV technology stack issues, responsible for intelligently identifying, parsing, and structuring user visualization requirements.

MANDATORY: Must be called for ANY new AntV-related queries, including simple questions. Always precedes query_antv_document tool.

When to use this tool:

  • AntV-related queries: Questions about g2/g6/l7/x6/f2/s2/g/ava/adc libraries.
  • Visualization tasks: Creating charts, graphs, maps, or other visualizations.
  • Problem solving: Debugging errors, performance issues, or compatibility problems.
  • Learning & implementation: Understanding concepts or requesting code examples.

Key features:

  • Smart Library Detection: Scans installed AntV libraries and recommends the best fit based on query and project dependencies.
  • Topic & Intent Extraction: Intelligently extracts technical topics and determines user intent (implement/solve).
  • Task Complexity Handling: Detects complex tasks and decomposes them into manageable subtasks.
  • Seamless Integration: Prepares structured data for the query_antv_document tool to provide precise solutions.
  • query_antv_document — AntV Context Retrieval Assistant - Fetches relevant documentation, code examples, and best practices from official AntV resources. Supports g2, g6, l7, x6, f2, s2, g, ava, adc libraries, and handles subtasks iterative queries.

MANDATORY: Must be called for ANY AntV-related query (g2, g6, l7, x6, f2, s2, g, ava, adc), regardless of task complexity. No exceptions for simple tasks.

When to use this tool:

  • Implementation & Optimization: To implement new features, modify styles, refactor code, or optimize performance in AntV solutions.
  • Debugging & Problem Solving: For troubleshooting errors, unexpected behaviors, or technical challenges in AntV projects.
  • Learning & Best Practices: To explore official documentation, code examples, design patterns, or advanced features.
  • Complex Task Handling: For multi-step tasks requiring subtask decomposition (e.g., "Build a dashboard with interactive charts").
  • Simple modifications: Even basic changes like "Change the chart's color" or "Update legend position" in AntV context.

安装

方式一:从 GitHub 直接安装(推荐)

# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-extract-antv-topic

方式二:从本地目录安装(开发模式)

# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-extract-antv-topic

方式三:通过 cordis.patch.yml 开发调试

dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml

配置

获取 API 密钥

前往 小笨羊官网 注册并获取 API 密钥。