Skip to main content

weekly-report-slack

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.

Datos de origen

Repositorio
apache/doris-website
Última actividad en el origen
22 de septiembre de 2026 a las 03:15
Idioma detectado de SKILL.md
inglés
Estrellas
135
Forks
473

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Explorador de archivos
3 archivos

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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.
# 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: ```shell $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 1. Resolve the report path from the repository root. 2. Run the bundled script: ```shell python3 doc-tools/skills/weekly-report-slack/scripts/generate_slack_post.py <report-path> ``` 3. The script prints the Slack post, saves an identical copy to a unique temporary `.md` file, and reports the saved path. 4. 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. 5. If the report is unpublished, or the user provides a preview URL, pass it explicitly: ```shell python3 doc-tools/skills/weekly-report-slack/scripts/generate_slack_post.py <report-path> --report-link <url> ``` ## Output Rules Preserve this Slack formatting: ```text 📊 *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.
Ver en GitHub