pr-loop
CommandLoop review then update on one PR until diminishing returns (max 3 rounds)
Draft a blog announcement for a release, tool, or feature
> /plugin marketplace add microsoft/finops-toolkit
description: Draft a blog announcement for a release, tool, or feature allowed-tools: Read, Grep, Glob, Write, Edit, WebFetch, Bash(git status*), Bash(git diff*), Bash(git log*), Bash(ls*)
Drafts a blog post in `announce/{year}/{yyyy-MM}_{slug}.md` for publishing to the [FinOps Tech Community blog](https://techcommunity.microsoft.com/tag/finops%20toolkit?nodeId=board%3AFinOpsBlog).
**Input:** Optional topic (e.g., `v14`, `commitment discount eligibility data`, `claude plugin`). If omitted, the command identifies candidates automatically.
If the user provided a topic, skip to **Phase 2**.
Otherwise:
1. Fetch the recent blog list from `https://techcommunity.microsoft.com/tag/finops%20toolkit?nodeId=board%3AFinOpsBlog` to see what was already announced. 2. Read [@docs-mslearn/toolkit/changelog.md](../../docs-mslearn/toolkit/changelog.md). Identify what's new since the last announced release. 3. Pick **up to 4 candidates**, prioritized in this order: 1. **New version** — the latest `## v##` section if it hasn't been announced. 2. **New tools** — H3 sections in this release that didn't exist in the previous release. 3. **New/added features** — sub-bullets under "Added" that introduce notable capability. 4. **Other notable changes** — sub-bullets under "Changed" or "Fixed" that address visible pain. 4. Present via AskUserQuestion as a single question with the candidates as options. Always include a "(Recommended)" tag on the highest-priority candidate. The default "Other" option lets the user type something custom. 5. If the user picks "Other" with no clear topic, ask one console question for clarity. Do **not** keep guessing.
Gather context for the topic:
1. Read the relevant section(s) of [@docs-mslearn/toolkit/changelog.md](../../docs-mslearn/toolkit/changelog.md). 2. Read related docs in `docs-mslearn/` and `docs/` (use Glob/Grep to find them by tool/feature name). 3. Only fall back to source code under `src/` if no docs cover the feature. 4. For release announcements, also read the **prior** release's announcement file in `announce/` for tone reference.
If gaps remain after research, batch up to 4 questions in a **single** AskUserQuestion call. Each question must offer a recommended option. Discovery questions should be about clarifying scope or filling factual gaps — not stylistic preferences.
Only use a second round of AskUserQuestion if the first round didn't give enough clarity. If you still can't get clarity, ask via the console rather than guessing further.
Propose an outline.
The outline is **fixed** — do not invent new sections. Use this structure (matches `announce/2025/2025-08_v12.md` and `announce/2026/2026-02_v13.md`):
1. **Title** — `What's new in FinOps toolkit {N} – {Month} {Year}` 2. **Intro paragraph** — One paragraph: who this release is for, what it emphasizes (themes, not full list), and a "read on for details" hook. 3. **New to the FinOps toolkit?** — Boilerplate intro for new readers. Reuse from the prior release; update links if they changed. 4. **Featured sections** (3–5) — Themed deep-dives on the biggest changes from the changelog. Each gets its own H2 with a benefit-led title (not just the feature name). This is the only part that varies per release. Inline contributor thanks belong here when relevant (e.g., "Thanks to @username for contributing this feature."). 5. **Other new and noteworthy updates** — Bulleted list grouped by tool, covering everything else worth mentioning that didn't get a featured section. Extract from the changelog, rephrase to be user-friendly. 6. **What's next** — Forward-looking paragraph. Reuse and refresh from the prior release. 7. **Preview snippet** — 1–2 sentences shown in blog list previews and search results. Lead with the most newsworthy item. No links, no markdown, under ~300 chars. Use a `## Preview snippet` heading followed by the text as a markdown blockquote (`>`). Placed at the end (before social media) to match the blog platform's publishing UI. 8. **Social media appendix** (see Phase 4).
The **only** thing to confirm with the user during scoping is **which featured sections to include and in what order**. Generate 3–4 concrete, terminal options up front so the user picks once and is done. Each option must fully describe the resulting outline — no follow-up question needed.
Build the options like this:
1. **Option 1 (Recommended):** the proposed order as a `→`-joined list of section titles. 2. **Option 2:** a meaningful alternative (e.g., reordered to lead with a different theme, or dropping the weakest section to keep it tight at 3). 3. **Option 3:** another meaningful alternative (e.g., swap one featured section for a candidate that didn't make the cut, or extend to 5 by promoting a notable item). 4. **Option 4 (only if relevant):** a third alternative if there's a clear close-call worth offering.
Each option's `description` field must include the full section list it represents — the user reads the full outline in the option, not just a label. The user-supplied "Other" fallback handles freeform changes. Do NOT use vague options like "Reorder them", "Swap one", "Approve", or "Edit" — they all require a follow-up question.
Propose an outline tailored to the topic. Aim for 3–6 H2 sections following news/blog best practices:
Present the proposed outline via AskUserQuestion with options to approve, reorder, or rewrite a specific section. Same rule: no generic "Approve" options.
1. Determine the publish month. Default to the current month unless context (release date, scheduled publi
Quick links: The FinOps toolkit is an open-source collection of customizable tools and resources to help you adopt and implement FinOps capabilities that automate and extend the Microsoft Cloud.
Loop review then update on one PR until diminishing returns (max 3 rounds)
Review a PR for quality, correctness, and project alignment
Review other authors' PRs and update your own PRs in a milestone
Analyze PR feedback, implement agreed changes, and post responses
Start the next release dev cycle after a release ships
Analyze 18-month scenarios from a news headline. Generate a comprehensive English report including 1st/2nd/3rd-order impacts,…
Professional equity research analysis with institutional-grade formatting