Weekly Report Flow Yjf — 技能工具
v1.0.2Generate and submit weekly reports from Aliyun DevOps workitems via EMOP API. Use when asked to run the weekly report flow, backfill missing weeks, or explai...
详细分析 ▾
运行时依赖
版本
No functional or documentation changes in this version. - No file changes detected between versions 1.0.0 and 1.0.1. - SKILL.md content remains exactly the same.
安装命令 点击复制
技能文档
When to use
- User asks to generate/submit weekly reports.
- User asks to backfill missing weeks.
- User asks to automate the DevOps→summary→EMOP flow.
Required inputs
- DEVOPS_TOKEN in environment (never write to disk)
- EMOP token in environment (never write to disk)
- Assignee default: 姚江峰
- Types: 需求/任务/缺陷
Workflow
1) Pull DevOps workitems - Use browser session if direct API returns 403. - Endpoint:/projex/api/workitem/workitem/list?_input_charset=utf-8
- Header: x-yunxiao-token: $DEVOPS_TOKEN
- Page size 200, iterate all pages.
- Filter in client by assignee/nickName and type.2) Classify - Include current sprint workitems. - Include last-week created items not in current sprint. - Last week: Mon 00:00 → Sun 23:59 (Asia/Shanghai).
3) Summarize
- 200–300 Chinese characters, department-formal, not流水账.
- Output Markdown and also HTML ordered list .
4) Submit to EMOP
- POST https://emop.oureman.com/api/weekly/report
- Headers: token: $EMOP_TOKEN, Content-Type: application/json; charset=utf-8
- Body fields:
- date: single day (last Friday, yyyy-MM-dd)
- reportDate: ISO UTC yyyy-MM-ddTHH:mm:ss.000Z
- content:
- Ensure UTF-8 bytes to avoid乱码.
Backfill mode
- For each missing week (by Friday date), pull DevOps items for that week and generate summary.
- Submit one report per week.
References
- See
references/urls.mdfor project URLs and IDs. - See
references/cli.mdfor local script entrypoints.
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制