Doris 周报转 Slack 公告
weekly-report-slack
从 Apache Doris 每周社区报告 MDX 文件生成英文 Slack 就绪帖子,并保存一份临时 Markdown 副本。当用户调用 $weekly-report-slack path/to/report.mdx 或要求将 Doris 周报(尤其是 `src/pages/community-report/_reports/YYYY-MM-DD.mdx`)转换为标准 Slack 公告格式(包含日期范围、摘要段落、亮点和报告链接)时使用。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 137
- Forks
- 488
01 前言 Front Matter
- name
- weekly-report-slack
- description
- Generate an English Slack-ready post and save a temporary Markdown copy from an Apache Doris weekly community report MDX file. Use when the user invokes `$weekly-report-slack path/to/report.mdx` or asks to turn a Doris weekly report, especially `src/pages/community-report/_reports/YYYY-MM-DD.mdx`, into the standard Slack announcement format with date range, summary paragraph, highlights, and report link.
02 资源文件 2
- 参考文档agents/openai.yaml197 B
- 脚本scripts/generate_slack_post.py4.4 KB
03 SKILL.md 正文
Weekly Report Slack
Overview
Create a concise English post for Slack from a weekly Apache Doris community report. The output follows the community announcement template and is meant to be pasted directly into Slack.
Input
Require exactly one report path, usually:
$weekly-report-slack src/pages/community-report/_reports/2026-06-29.mdx
If no path is provided, ask for the report path. If multiple paths are provided, ask which single report to convert.
The expected source format is the structured MDX generated by community-radar, with exports such as:
export const label = "...";export const report = { "summary": { ... } }
Workflow
- Resolve the report path from the repository root.
- Run the bundled script:
python3 doc-tools/skills/weekly-report-slack/scripts/generate_slack_post.py <report-path>
- The script prints the Slack post, saves an identical copy to a unique temporary
.mdfile, and reports the saved path. - Return the generated Slack post as the main answer. Do not wrap it in a code fence unless the user asks for a fenced block. After the post, provide the temporary Markdown file as a clickable local-file link.
- If the report is unpublished, or the user provides a preview URL, pass it explicitly:
python3 doc-tools/skills/weekly-report-slack/scripts/generate_slack_post.py <report-path> --report-link <url>
Output Rules
Preserve this Slack formatting:
? *Apache Doris Weekly Report — [DATE RANGE]*
[One short summary paragraph]
✨ *Highlights*
• [Highlight 1]
• [Highlight 2]
• [Highlight 3]
? Read the full weekly report:
[REPORT LINK]
? We’d love your feedback—please fill out our survey:
https://docs.google.com/forms/d/e/1FAIpQLSeSppR5JJyXIxNoPlG_hS8RTW8k2tsCkpC0h68WSN6CEUsWcA/viewform
Big thanks to everyone who contributed, reviewed, tested, reported issues, and shared feedback this week! ?
Use the report's label as [DATE RANGE], report.summary.lead as the opening summary paragraph, and report.summary.highlights for the highlight bullets unless the user asks for a different tone or length.
By default, the report link is https://doris.apache.org/community-report#<filename-without-extension>, because the website uses URL hashes to deep-link weekly reports.
Always include the survey invitation and URL shown in the template immediately after the report link.
Every run must save the complete post to the temporary Markdown path produced by the script and tell the user that path. Do not include the path inside the Slack post itself.
Guardrails
- Keep the post in English.
- Keep exactly three highlight bullets unless the report has fewer than three highlights.
- Prefer highlight titles over long narratives for the bullets.
- Do not invent numbers, links, or highlights. If a required field is missing, report the missing field and stop.
- Do not edit the source report file.
04 同仓库更多 Skills
Doris 发布文档编写
doris-release-docs
暂无简介
Doris 技术文章插图生成
doris-img-gen
以 Doris 手绘白板风格创建 Apache Doris 文章插图,仅当任务、指南、操作者、诊断或拟人化叙事需要角色时,才随机选用 Pip、Dori 或 Flux 吉祥物。当用户调用 $doris-img-gen 或要求生成 Doris 技术文章插图、概念可视化、信息图、架构图、流程图或吉祥物辅助的讲解图时使用。
Doris 文档重构与 SEO 优化
doris-doc-optimize
对现有的 Apache Doris 用户文档文件(`.md` / `.mdx`)进行重构与 SEO/GEO 优化,主要位于 `i18n/zh-CN/docusaurus-plugin-content-docs-next/current/` 或 `docs-next/` 目录下。该技能从用户场景角度重新组织文档,对参数/场景/常见问题(FAQ)使用表格和列表,修复格式问题(4 空格缩进、代码块语言标签、空行、中英文空格、命令拼接错误),用 `curl` 校验每个外部链接,并对照 `static/` 校验每个 `/images/...` 引用,同时按照内置的 `./references/seo-geo.md` 指南更新 frontmatter 中的 `description` + `keywords`——所有操作均不改变原意,也不遗漏任何技术内容(命令、参数、YAML、示例输出、图片均逐字保留)。当用户指向单个 Doris 文档文件并要求“优化这篇文档”“重新组织这篇文档”“帮我优化文档结构”“对这篇文章进行 SEO 优化”“按 SEO/GEO 优化这篇文档”“调整一下这篇文档的结构”“把这篇文档润色一下”“optimize this doc”“restructure this doc”“polish this doc”或类似表述时使用本技能——即使用户只是指向某个 Doris 文档路径并说“make this doc better”或“这篇文档读起来不顺”也应使用。请勿将本技能用于语言间翻译(改用 `doris-translate-zh-to-en`)、从零撰写全新文档(改用 `doris-feature-card` 或 `doc-coauthoring`),或仅做链接检查而不重构(改用 `check-md-links`)。
Doris 版本发布
add-release
在 Doris 网站上发布新的 Apache Doris Core 或 Doris 生态版本。用于更新下载数据、双语发布说明、Doris Core 发布索引、发布导航或生态发布页面。需先确认组件和发布元数据,因为 Core 与生态版本使用不同的文件和校验路径。