zentao-cli
透過 CLI 整合 ZenTao 專案管理
透過自然語言命令存取和管理 ZenTao 專案資料。Claude 使用 zentao CLI 工具處理身份驗證、資料查詢和任務操作。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「zentao-cli」。 List all active bugs in product #1
預期結果:
Showing 12 active bugs in Product #1:
| ID | Title | Severity | Priority | Status | Assigned To |
|----|-------|----------|----------|--------|-------------|
| 42 | Login page timeout | 2 | 2 | active | admin |
| 45 | Data export fails | 3 | 2 | active | dev_user |
...
正在使用「zentao-cli」。 Create a new task
預期結果:
Task created successfully:
- ID: 156
- Name: Implement user profile feature
- Execution: Sprint #3
- Assigned to: developer@company.com
- Estimate: 8 hours
- Status: wait
正在使用「zentao-cli」。 Resolve bug #42
預期結果:
Bug #42 has been resolved:
- Resolution: fixed
- Resolved By: admin
- Resolved Date: 2024-04-27
- Build: trunk
安全審計
安全This is a legitimate project management CLI documentation file. The static analyzer flagged 96 instances of 'external_commands' but all are FALSE POSITIVES - they are example commands shown in markdown documentation blocks, not actual code execution. No malicious intent, prompt injection, or security threats found after human evaluation.
品質評分
你能建構什麼
查詢專案和缺陷狀態
專案經理查詢專案進度、活躍缺陷或任務摘要。Claude 查詢 ZenTao 並以可讀格式呈現資料。
透過聊天建立和更新任務
開發人員透過對話建立任務、記錄工作時間和更新問題狀態。Claude 將請求轉換為 zentao CLI 命令。
批量操作和資料檢索
QA 團隊檢索測試案例列表、建立測試任務並追蹤測試進度。Claude 自動處理分頁和欄位選擇。
試試這些提示
Show me all active projects in ZenTao with their current status and progress
Create a new task in execution #5 with title 'Fix login bug', assigned to admin, estimated 4 hours
I want to resolve bug #42. Please confirm the command and then execute it with --yes flag
Find all high-priority bugs in product #3 that are still open, sorted by severity, showing only id, title, and assignedTo fields
最佳實務
- 在進行更新前,先使用列出命令來發現 ID
- 使用 --pick 參數僅在輸出中顯示相關欄位
- 包含 --yes 旗標以跳過破壞性操作的確認提示
避免
- 不要在未獲得使用者確認的情況下執行寫入操作(建立/更新/刪除)
- 避免使用未知的 ID 執行命令 - 請先驗證是否存在
- 不要跳過錯誤處理 - 請檢查 E1001(未登入)和 E2002(找不到物件)錯誤碼