Weekly Report Flow
by @yaojiangfeng
Generate 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...
clawhub install weekly-report-flow📖 About This Skill
name: weekly-report-flow description: Generate and submit weekly reports from Aliyun DevOps workitems via EMOP API. Use when asked to run the weekly report flow, backfill missing weeks, or explain/automate the DevOps→summary→EMOP submission process.
Weekly Report Flow (DevOps → Summary → EMOP)
When to use
Required inputs
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
References
references/urls.md for project URLs and IDs.references/cli.md for local script entrypoints.