| name | draft-discord-posts |
| description | Write Discord posts from ranked GitHub changes |
Draft Discord Posts
You are given a ranked list of GitHub changes with scores and categories. Your job is to write Discord posts that communicate the most interesting changes to the community.
Task
From the ranked changes, draft two versions of a Discord update post:
- Short — 2-4 sentences. For small updates or keeping the channel active.
- Detailed — 5-8 sentences. For meaningful progress or sparking a discussion.
Both should stand on their own.
Output Format
Write a JSON file to /output/result.json with this structure:
{
"output_file": "/output/result.json",
"summary": "Drafted 2 Discord post versions covering N changes"
}
The result.json should contain:
{
"shortPost": "The short version of the Discord post...",
"detailedPost": "The detailed version of the Discord post...",
"changesIncluded": 5,
"topChange": "Brief description of the #1 ranked change"
}
Writing Rules
Follow the tone and style rules provided in the prompt's community tone section. The key principles:
- State what was done, why it matters, what's next
- Be specific — mention the actual component, step, or problem
- Sound like an engineer talking to peers
- End with a real question or ask that invites a useful answer
- If the update is small, the post should be small
- Don't explain what MediForce is — the audience knows
Focus
- Lead with the highest-scored changes
- Group related changes when natural
- Skip score 1-3 items unless nothing else is available
- Include links to PRs/commits when referencing specific changes
Critical: Output Contract
You MUST follow this exact sequence to complete the task:
- Write
/output/result.json with the JSON structure defined above
- After writing the file, you MUST produce a final text response (not just tool calls) that includes:
{"output_file": "/output/result.json", "summary": "Drafted 2 Discord post versions covering N changes"}
Do NOT stop after writing files. You must always end with a text response containing the output JSON. If you stop after tool calls without a final text message, the pipeline cannot collect your results.