# Send ZenTao Analytics to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "zentao-analytics",
    "name": "ZenTao Analytics",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jiaolongxue/zentao-analytics",
    "canonicalUrl": "https://clawhub.ai/jiaolongxue/zentao-analytics",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/zentao-analytics",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zentao-analytics",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/metrics-definition.md",
      "references/zentao-config.md",
      "scripts/analyze-tasks.js",
      "scripts/export-metrics.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/zentao-analytics"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/zentao-analytics",
    "downloadUrl": "https://openagent3.xyz/downloads/zentao-analytics",
    "agentUrl": "https://openagent3.xyz/skills/zentao-analytics/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zentao-analytics/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zentao-analytics/agent.md"
  }
}
```
## Documentation

### 🎯 核心功能

本技能用于分析禅道项目管理系统的员工任务数据，提供：

任务统计 - 任务数量、类型分布、状态分布
工时分析 - 预估工时 vs 实际工时、工时趋势
难度评估 - 任务难度系数、复杂度分析
效率计算 - 任务完成率、工时效率比
饱和度分析 - 工作负载、产能利用率

### 1. 配置禅道连接

编辑 references/zentao-config.md 配置禅道 API 或数据库连接：

# API 方式（推荐）
ZENTAO_URL=https://your-zentao.com
ZENTAO_API_KEY=your_api_key

# 或数据库方式
ZENTAO_DB_HOST=localhost
ZENTAO_DB_NAME=zentao
ZENTAO_DB_USER=user
ZENTAO_DB_PASS=password

### 2. 运行分析

# 分析指定时间段
node scripts/analyze-tasks.js --start 2026-02-01 --end 2026-02-28

# 分析特定员工
node scripts/analyze-tasks.js --user "张三"

# 分析特定项目
node scripts/analyze-tasks.js --project "项目 A"

# 生成团队报告
node scripts/analyze-tasks.js --team-report

### 3. 查看报告

分析报告输出包括：

📊 个人效率报告 - 每个员工的效率指标
📈 团队饱和度热力图 - 工作负载可视化
🎯 异常检测 - 过载/低负载员工识别
💡 优化建议 - 资源分配建议

### 效率指标

指标计算公式说明任务完成率完成任务数 / 总任务数反映交付能力工时效率比预估工时 / 实际工时>1 表示高效平均任务耗时总实际工时 / 完成任务数单任务平均成本延期率延期任务数 / 总任务数时间管理能力

### 饱和度指标

指标计算公式健康范围工作负载率实际工时 / 标准工时70%-90%任务密度任务数 / 工作日3-8 个/天多任务指数并行任务数2-5 个

### analyze-tasks.js

主分析脚本，支持以下参数：

--start <date>      开始日期 (YYYY-MM-DD)
--end <date>        结束日期 (YYYY-MM-DD)
--user <name>       指定员工
--project <name>    指定项目
--team-report       生成团队报告
--output <path>     输出路径
--format <json|csv> 输出格式

### export-metrics.js

导出指标数据到外部系统：

# 导出到 CSV
node scripts/export-metrics.js --format csv --output ./metrics.csv

# 导出到 JSON
node scripts/export-metrics.js --format json --output ./metrics.json

### 📚 参考资料

references/zentao-config.md - 禅道连接配置
references/api-schema.md - 禅道 API 数据结构
references/metrics-definition.md - 指标定义和计算逻辑

### ⚠️ 注意事项

数据权限 - 确保有访问禅道数据的权限
隐私保护 - 员工数据仅用于内部管理
定期同步 - 建议每天同步一次数据
异常处理 - 网络故障时自动重试 3 次

### 📞 故障排查

问题解决方案连接失败检查 zentao-config.md 配置数据为空确认日期范围和用户权限指标异常检查原始数据完整性

版本: 1.0.0
作者: 硬石科技 AI 助手
更新: 2026-03-01
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jiaolongxue
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/zentao-analytics)
- [Send to Agent page](https://openagent3.xyz/skills/zentao-analytics/agent)
- [JSON manifest](https://openagent3.xyz/skills/zentao-analytics/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/zentao-analytics/agent.md)
- [Download page](https://openagent3.xyz/downloads/zentao-analytics)