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.

Informations de source

Dépôt
apache/doris-website
Dernière activité de la source
22 septembre 2026 à 03:15
Langue détectée de SKILL.md
anglais
Étoiles
135
Forks
473

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
3 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub