ln-912-community-announcer
Composes and publishes announcements to GitHub Discussions. Use when sharing releases, updates, or news with the community.
- License 许可
- MIT
- 最近更新
- 2026-06-15
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- ln-912-community-announcer
- license
- MIT
- description
- Composes and publishes announcements to GitHub Discussions. Use when sharing releases, updates, or news with the community.
- allowed-tools
- Read, Grep, Glob, Bash, WebFetch
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/announcement_styles.md7.8 KB
- 参考文档references/community_discussion_formatting.md3.3 KB
- 参考文档references/community_github_discovery.md2.5 KB
- 参考文档references/community_strategy_template.md5.8 KB
- 参考文档references/humanizer_checklist.md4.2 KB
03 SKILL.md 正文
Paths: File paths (
references/,../ln-*) are relative to this skill directory.
ln-912-community-announcer
Type: L3 Worker (standalone) Category: 9XX Community Engagement Composes and publishes structured announcements to GitHub Discussions (Announcements category).
Phase 0: GitHub Discovery
MANDATORY READ: Load references/community_github_discovery.md
Execute the discovery protocol. Extract:
{owner}/{repo}for URLs and git commandsrepo.idfor GraphQL mutationcategories["Announcements"]category ID for publishing- Verify Announcements category exists
Load strategy: check docs/community_engagement_strategy.md in target project, fallback to references/community_strategy_template.md. Extract Section 2 (Announcement Triggers) and Section 6 (Tone Guide).
MANDATORY READ: Load references/community_discussion_formatting.md
MANDATORY READ: Load announcement_styles.md
MANDATORY READ: Load references/humanizer_checklist.md
Phase 1: Gather Context
- Read strategy Section 2 -- verify this qualifies as an announcement
- Read
CHANGELOG.md-- extract the latest entry (or the entry matching$ARGUMENTSdate if provided) - Read
README.md-- check current version badge, any WARNING/IMPORTANT callouts - Run:
git log --oneline -20-- recent commits for context - If
$ARGUMENTScontains a topic keyword (not a date), use it as the announcement subject - Run:
git diff --name-only(uncommitted) orgit diff --name-only HEAD~1..HEAD(last commit) -- build the list of changed files - Read key source files from the diff (max 5 files, prioritize by relevance to
$ARGUMENTStopic):- Protocol/guide files in diff -> read full (the substance)
- SKILL.md files in diff -> read only changed sections via
git diff -- {file} - Reference files -> read if substantially changed
- Goal: understand the "why" behind changes that CHANGELOG doesn't spell out
Phase 2: Classify and Select Style
2a. Classify Announcement Type
| Type | Trigger | Emoji |
|---|---|---|
| Release | New version in CHANGELOG | :rocket: |
| Breaking Change | WARNING callout in README or "breaking" in CHANGELOG | :warning: |
| New Features | New feature entries in CHANGELOG | :sparkles: |
| Architecture | Structural changes (new categories, plugin splits) | :building_construction: |
| Community | Non-technical updates (events, milestones) | :people_holding_hands: |
2b. Select Style
Use the Style Selection Matrix from announcement_styles.md to pick a primary style based on announcement type. Check the last 3 announcements in Discussions — if they all used the same style, pick a different one for variety.
Optionally mix: use a hook from one style with the body from another (see Mixing Styles table in announcement_styles.md).
Phase 3: Compose Announcement
Use the selected style template from announcement_styles.md as the structural basis, and discussion_formatting.md for GitHub markdown syntax.
Required elements (all styles):
- Add
### Contributorssection after### What's Next— thank contributors by @mention if applicable (skip for solo work) - Add footer:
*Full changelog: [CHANGELOG.md](https://github.com/{owner}/{repo}/blob/{default_branch}/CHANGELOG.md)* - If breaking change: include migration steps with clear before/after in an
> [!IMPORTANT]alert - End with engagement question (per Writing Quality checklist in
announcement_styles.md)
Phase 4: Fact-Check
Before presenting to user, verify every verifiable claim in the draft:
-
Commands & code blocks -- grep
README.mdfor each command/snippet in the draft. If command not found -> replace with the actual command. Never invent install/update commands. -
File paths & links -- verify each linked file exists:
ls {path}. Remove or fix broken links. -
Numbers -- verify counts mentioned against actual data:
git diff --name-only | grep -c SKILL.mdorls -d ln-*/SKILL.md | wc -l. -
Feature descriptions -- re-read the key source file (from Phase 1 step 7) and confirm the draft accurately describes what changed. No hallucinated capabilities.
-
Names -- verify names match actual directory/file names in the repo.
-
Humanizer audit -- run the audit protocol from
humanizer_checklist.md. If 3+ AI patterns found, rewrite flagged sections.
Gate: If any check fails, fix the draft before proceeding.
Phase 5: Review and Publish
Present the composed announcement title + body to the user. Wait for explicit approval before publishing.
After approval, publish via GraphQL using discovery context:
gh api graphql -f query='
mutation($title: String!, $body: String!, $repoId: ID!, $catId: ID!) {
createDiscussion(input: {
repositoryId: $repoId,
categoryId: $catId,
title: $title,
body: $body
}) {
discussion { url }
}
}
' -f title="TITLE_HERE" -f body="BODY_HERE" -f repoId="{repo.id}" -f catId="{categories.Announcements}"
Report the discussion URL to the user.
Note: Pinning is not available via API -- remind the user to pin manually in GitHub UI if the announcement is important.
Phase 6: Cross-Post (Optional)
If the announcement is a release or breaking change, suggest:
- Create a matching GitHub Release if a version tag exists:
gh release create vX.Y.Z --notes "See discussion: URL" - Update the repo description if the announcement changes the project scope
Definition of Done
- [ ] Context gathered (CHANGELOG, README, git log, key source files)
- [ ] Announcement type classified + style selected (different from last 3)
- [ ] Draft composed using selected style template + formatting rules
- [ ] Writing quality checklist passed (announcement_styles.md)
- [ ] Fact-checked (commands, paths, numbers, descriptions, names verified)
- [ ] User approved final draft
- [ ] Published via GraphQL mutation, URL reported
Version: 1.0.0 Last Updated: 2026-03-13
04 同仓库更多 Skills
solana-dev
Use when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "deploy to devnet", or "explain Solana concepts" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor/Pinocchio programs, Codama client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana/client + @solana/react-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana/kit for client/RPC code, and @solana/web3-compat for legacy boundaries.
generating-trading-signals
Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.). Combines multiple indicators into composite signals with confidence scores. Use when analyzing assets for trading opportunities or checking technical indicators. Trigger with phrases like "get trading signals", "check indicators", "analyze for entry", "scan for opportunities", "generate buy/sell signals", or "technical analysis".
prediction-monitor
Prediction Monitor - Auto-activating skill for ML Deployment. Triggers on: prediction monitor, prediction monitor Part of the ML Deployment skill category.
strategy-advisor
High-level strategic thinking and business decision guidance for planning and direction-setting. Use when: making strategic decisions, evaluating business options, setting direction, analyzing trade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.
app-paywall-pilot
Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans/prices/trials, review RevenueCat/Adapty/Apphud/Superwall setup, calculate LTV/ROAS, or build paywall implementation.
figma
Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.