Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

zentaozentao 命令行

Agent Skill

zentao 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,638

周安装

54

GitHub Stars

10

下载量

1,173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zentao(zentao 命令行)
来源仓库:https://github.com/leeguooooo/zentao-mcp
仓库路径:skills/zentao
安装命令:
npx skills add https://github.com/leeguooooo/zentao-mcp --skill zentao
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/leeguooooo/zentao-mcp --skill zentao

简介

zentao 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 它可辅助分析代码差异、跟踪任务进展或生成协作摘要,适用于需要快速理解项目上下文的场景。
  • 通过 npx skills add 命令从指定仓库安装,具体用法需结合原始 README 进一步确认。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • zentao 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

zentao (ZenTao CLI)

When to use this skill

Use this skill when the user asks anything about 禅道 / ZenTao, including:

  • bugs: list, mine, stats, get, create, resolve, assign, comment, close, activate
  • tasks: list, get, create, start, finish, pause, close
  • stories: list, get, create
  • todos: list, get, create, finish, close
  • products, programs, projects, executions
  • plans, releases, builds
  • test cases, test tasks, test suites
  • docs and doc libraries
  • users and departments
  • issues and risks
  • login, whoami, self-test, JSON export

Typical user asks include:

  • “帮我查禅道 bug / task / story / todo”
  • “统计一下 bug 解决率” / “看看各产品的 bug 解决情况”
  • “看一下产品、项目、执行、版本、计划、构建”
  • “查测试单、测试用例、测试套件”
  • “看文档库 / 文档 / 部门 / 用户”
  • “查问题 / 风险”
  • “帮我登录禅道” / “验证禅道连接”

Installation

npx skills add leeguooooo/zentao-mcp -y -g
pnpm i -g @leeguoo/zentao-mcp

Fallbacks:

npm i -g @leeguoo/zentao-mcp
npx -y @leeguoo/zentao-mcp --help

skills add installs the skill definition; the CLI still needs to be available as zentao in PATH for normal usage.

Login

zentao login --zentao-url="https://zentao.example.com/zentao" --zentao-account="leo" --zentao-password="***"
zentao whoami

IMPORTANT: --zentao-url usually must include /zentao.

Quick start

zentao login --zentao-url="https://zentao.example.com/zentao" --zentao-account="leo" --zentao-password="***"
zentao whoami
zentao self-test

Capability map

Use the singular command for one record or a state-changing action, and the plural command for list queries.

zentao login
zentao whoami
zentao self-test
zentao products list
zentao programs list
zentao projects list
zentao projects builds --id 22
zentao executions list
zentao bugs list --product 6
zentao bugs mine --status active --include-details
zentao bugs stats --product-ids 1,2 --group-by product|person [--from DATE] [--to DATE]
zentao bug get|create|resolve|assign|comment|close|activate ...
zentao tasks list --execution 25
zentao task get|create|start|finish|pause|close ...
zentao stories list --product 3
zentao story get|create ...
zentao todos list|get|create|finish|close ...
zentao plans list|get ...
zentao releases list|get ...
zentao testcases list|get ...
zentao testtasks list|get ...
zentao testsuites list|get ...
zentao docs libs|list|get ...
zentao users list
zentao departments list
zentao issues list|get ...
zentao risks list|get ...

Auth and output rules

  • All commands can read credentials from saved login config.
  • Flags also work: --zentao-url, --zentao-account, --zentao-password
  • Environment variables also work: ZENTAO_URL, ZENTAO_ACCOUNT, ZENTAO_PASSWORD
  • Add --json when the caller wants raw machine-readable output.
  • ZenTao URLs usually need the /zentao suffix.

Bug commands

zentao bugs list --product 6
zentao bugs mine --scope assigned --status active --include-details
zentao bug get --id 1329
zentao bug create --product 6 --title "bug title" [--severity 3] [--pri 2] [--type codeerror] [--steps "..."] [--assigned-to account] [--opened-build trunk]
zentao bug resolve --id 1329 --resolution fixed [--resolved-build trunk] [--assigned-to kelly] [--comment "..."]
zentao bug assign --id 1329 --assigned-to rd-yitong [--comment "..."]
zentao bug close --id 1329 [--comment "..."]
zentao bug activate --id 1329 [--assigned-to account] [--comment "..."]
zentao bug comment --id 1329 --comment "已确认,等待修复"

Resolution values: fixed, bydesign, duplicate, postponed, notrepro, willnotfix, tostory, external

Bug stats

# 按产品统计解决率
zentao bugs stats --product-ids 1,2 --group-by product

# 按人员统计解决率(按实际解决人 resolvedBy 分组)
zentao bugs stats --product-ids 1,2 --group-by person

# 按产品统计指定时间段内的解决数量
zentao bugs stats --product-ids 1,2 --group-by product --from 2026-01-01 --to 2026-04-09

# 按人员统计指定时间段内的解决数量
zentao bugs stats --product-ids 1,2 --group-by person --from 2026-03-01 --to 2026-03-31

# JSON 输出
zentao bugs stats --product-ids 1,2 --group-by product --json
  • --product-ids 必填,逗号分隔
  • --group-by 支持 productperson,默认 product
  • 不指定 --from/--to 时输出解决率;指定时间段时输出该期间的解决数量
  • 人员维度按 resolvedBy(实际解决人)分组

Task commands

zentao tasks list --execution 25
zentao task get --id 388
zentao task create --execution 25 --name "task name" [--assigned-to account] [--pri 3] [--estimate 8] [--type devel] [--desc "..."]
zentao task start --id 388 [--consumed 2] [--left 6]
zentao task finish --id 388 [--finished-date "2026-04-08"] [--consumed 8]
zentao task pause --id 388
zentao task close --id 388 [--comment "done"]

Story commands

zentao stories list --product 3
zentao story get --id 1
zentao story create --product 3 --title "story title" [--spec "description"] [--pri 2] [--estimate 3] [--type story] [--assigned-to account]

Todo commands

zentao todos list
zentao todos get --id 1
zentao todos create --name "todo name" [--type custom] [--date 2026-04-08] [--begin 09:00] [--end 10:00] [--pri 3] [--desc "..."] [--assigned-to account]
zentao todos finish --id 1
zentao todos close --id 1

Product, program, project, and execution commands

zentao products list
zentao programs list
zentao projects list
zentao projects builds --id 22
zentao executions list

Product plans and releases

zentao plans list --product 3
zentao plans get --id 1
zentao releases list --product 3
zentao releases get --id 1

Testing commands

zentao testcases list --product 3
zentao testcases get --id 1
zentao testtasks list
zentao testtasks get --id 1
zentao testsuites list --product 3
zentao testsuites get --id 1

Organization & docs

zentao users list
zentao departments list
zentao docs libs
zentao docs list --lib 50
zentao docs get --id 1

Issues & risks

zentao issues list
zentao issues get --id 1
zentao risks list
zentao risks get --id 1

JSON output

All commands support --json for full JSON payload:

zentao whoami --json
zentao bugs list --product 6 --json
zentao task get --id 388 --json
zentao users list --json
zentao issues get --id 1 --json

Recommended execution pattern

When helping a user operationally, prefer this sequence:

  1. Ensure CLI exists: zentao --help
  2. Ensure auth exists: zentao whoami
  3. If auth may be broken, run: zentao self-test
  4. Use the narrowest command that answers the request.
  5. Add --json when the caller needs structured output for follow-up automation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.13%
按下载量换算412

Claude

30.27%
按下载量换算355

Cursor

17.89%
按下载量换算210

Gemini CLI

8.66%
按下载量换算102

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills