ln-64-community-announcer

$npx mdskill add levnikolaevich/claude-code-skills/ln-64-community-announcer

Drafts and publishes fact-checked GitHub Discussions announcements.

  • Creates source-backed announcements for releases, updates, or project news.
  • Uses GitHub CLI, GraphQL API, and remote Git history for verification.
  • Follows an ordered checklist workflow to ensure fact-checking and approval.
  • Publishes only after user approves the full draft via GitHub Discussions.

SKILL.md

.github/skills/ln-64-community-announcerView on GitHub ↗
---
name: ln-64-community-announcer
description: "Drafts and publishes fact-checked GitHub Discussions announcements. Use for releases, updates, or project news; not for release creation or issue responses."
---

# Community Announcer

**Goal:** Create a source-backed announcement and publish it only after the user approves the full draft.

**Execution contract:** Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. `N/A`, skipped, unavailable, or delegated items remain incomplete.
Before returning, apply this skill's verdict, decision, and approval rules to every incomplete item and prepend **Checklist: X/Y complete**<br>**Incomplete: None | section/item — reason; outcome impact; exact next action**; list every incomplete item.

## Tool Routing

| Need | Preferred capability | Fallback |
|---|---|---|
| Repository identity and permissions | Authenticated GitHub CLI or connector | Public GitHub API for read-only discovery |
| Discussion categories and publication | GitHub GraphQL API | `BLOCKED`; do not substitute an issue |
| Shipped-change evidence | Remote Git history, releases, and canonical files | Clean remote clone |
| Commands, paths, names, and counts | Focused repository search and direct reads | Hosting API content reads |
| Current external claims | Primary dated sources | Omit the claim when it cannot be verified |
| Draft publication | Temporary Markdown file passed to the API | Safely escaped API input with read-back verification |

Prefer the hosting API over scraping rendered pages. Use the browser only to inspect presentation or a page the API cannot expose.

Do not expose repository tokens, category node IDs, or other credentials in the announcement. IDs may be used for the mutation but are not audience content.

## Checklist

- [ ] Resolve the target repository from the authenticated hosting client and verify write access.
- [ ] Discover the repository ID, default branch, Discussions availability, and a repository-approved suitable category through the API.
- [ ] Stop with `BLOCKED` when Discussions or a suitable category is unavailable; do not silently publish elsewhere.
- [ ] Identify the announcement subject from the user's request, a release, or a bounded commit range.
- [ ] Read repository communication guidance when present, but do not require a community strategy file.
- [ ] Read the current authoritative documentation, installation instructions, affected manifests, release notes, and relevant source diffs when present.
- [ ] Inspect recent commits and up to three available comparable announcements for cadence, repeated claims, and house style; do not require prior announcements in a new or low-volume repository.
- [ ] Use the target remote state as the source for already-published changes; do not announce an unpushed local diff as available.
- [ ] Separate what shipped, what changed for users, migration needs, and future intent.

## Classification and Style

- [ ] Classify the announcement as release, breaking change, feature update, architecture change, or community news.
- [ ] Choose the shortest style that explains the user outcome and its significance.
- [ ] Use a concise release digest for several independent changes.
- [ ] Use a problem-to-solution narrative when the motivation is necessary to understand the redesign.
- [ ] Use migration-first structure when existing users must take action.
- [ ] Vary the opening from recent announcements when doing so remains natural; variety is not more important than clarity.
- [ ] Do not force emoji, slogans, dramatic metaphors, or a fixed template.
- [ ] Match the project's voice while keeping claims understandable without internal repository context.

## Draft

- [ ] Write a specific title that names the outcome rather than saying only "update" or "announcement".
- [ ] Open with the user problem or the most important shipped outcome.
- [ ] Explain why the change was made using evidence from commits, docs, or release notes.
- [ ] Summarize highlights in outcome language and name exact products, packages, plugins, skills, or components where useful.
- [ ] Include verified installation or update commands when the reader must act.
- [ ] Add an `IMPORTANT` migration block for breaking changes, including clear before-and-after steps.
- [ ] Link to canonical documentation at the default branch or immutable release tag as appropriate.
- [ ] Include a short "What's next" section only for committed or clearly labelled tentative work.
- [ ] Thank verified external contributors by handle; omit the section for solo work.
- [ ] End with one genuine, answerable feedback question when community input would be useful.

## Fact Check

- [ ] Verify every command against current authoritative documentation and any stable package, plugin, or marketplace identifier it uses.
- [ ] Verify every named product, package, plugin, skill, component, file path, category, version, tag, and link against the remote repository.
- [ ] Recompute every count from the target commit; avoid counts when they add no user value.
- [ ] Confirm feature descriptions against the actual changed source, documentation, or manifest, not commit-title shorthand.
- [ ] Confirm removed capabilities and compatibility limits are stated explicitly.
- [ ] Do not invent adoption, download, search-volume, performance, compatibility, or roadmap claims.
- [ ] Label estimates, interpretations, and future intent instead of presenting them as shipped facts.
- [ ] Remove generic hype, repeated conclusions, excessive headings, canned transitions, and symmetrical filler lists.
- [ ] Prefer concrete verbs and varied sentence length; keep technical identifiers only where readers need them.
- [ ] Re-read the draft as a new user and ensure it explains both the value and any required action.

## Approval and Publication

- [ ] Present the exact title and full Markdown body to the user before creating external state.
- [ ] Include the selected category and evidence range with the draft.
- [ ] Wait for explicit approval; a request to draft or announce is not approval of unseen final copy.
- [ ] If the user changes any substantive claim or instruction, fact-check the revised draft again.
- [ ] Write the approved body to a temporary file to preserve formatting and avoid shell interpolation errors.
- [ ] Publish through the GitHub Discussions GraphQL mutation using discovered repository and category IDs.
- [ ] Read the created discussion back and verify its title, body, category, and URL.
- [ ] Remove the temporary draft safely after verification.
- [ ] Report the discussion URL and any manual action, such as pinning, that the API cannot perform.
- [ ] Do not create tags, releases, issues, comments, or cross-posts unless explicitly requested.

## Verdict

- `DRAFT READY` — fact-checked copy is awaiting explicit approval.
- `PUBLISHED` — the approved discussion exists and was read back successfully.
- `BLOCKED` — required source evidence, permissions, category, or publication verification is unavailable.

## Output Contract

Before approval, return classification, evidence range, selected category, title, full Markdown body, fact-check summary, and `DRAFT READY`.

After publication, return the approved title, discussion URL, verification evidence, `PUBLISHED`, and residual risks.

If a published discussion differs from the approved draft, report `BLOCKED` and ask before editing or deleting the external content.

Preserve the approved copy in the response so the user can compare it with the published discussion.

More from levnikolaevich/claude-code-skills

SkillDescription
ln-11-plan-reviewerReviews implementation plans against repository evidence and current authoritative guidance. Use before execution to expose gaps and risks; not for completed delivery review.
ln-12-delivery-reviewerReviews a completed scoped change and its affected runtime and contract paths. Use to find change-caused defects and verify readiness; not for codebase audit, implementation, or repair.
ln-21-documentation-auditorAudits documentation and code comments for structure, coverage, factual accuracy, and maintainability. Use for documentation trust reviews; not code, test, or architecture audits.
ln-22-codebase-auditorAudits cross-cutting code health across security, delivery, maintainability, dependencies, diagnosability, concurrency, and lifecycle. Use when no specialist audit is primary.
ln-23-test-suite-auditorAudits whether an existing test suite proves important product behavior with strong, isolated tests. Use when test confidence is uncertain; not to design or implement new tests.
ln-24-architecture-auditorAudits implemented architecture fitness, boundaries, contracts, dependency topology, structure, and configuration ownership. Use for system structure; not implementation-plan review.
ln-25-persistence-auditorAudits queries, transactions, data-path performance, and persistence resource lifecycle. Use when data correctness or scalability is at risk; not for general performance tuning.
ln-31-performance-optimizerOptimizes a measured latency, throughput, memory, CPU, or I/O problem through profiling and keep-or-discard experiments. Use for a known bottleneck; not unbiased A/B comparison.
ln-32-dependency-upgraderUpgrades dependencies across package managers with breaking-change research and rollback-safe verification. Use for dependency maintenance; not general code modernization.
ln-33-code-modernizerModernizes a bounded capability by removing obsolete custom mechanisms or reducing bundle and maintenance cost. Use for proven modernization value; not routine upgrades or tuning.