Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github-discussion-publisher

БесплатноБез исполняемых скриптовНе проверен

Validate, moderate, deduplicate, categorize, and publish Elixpo GitHub Discussions and replies through the bot identity. Use immediately before any public…

elixpoот elixpo★ 85 звёзд на GitHub

Об этом скилле

GitHub Discussion Publisher

Apply this skill as the final gate for every public Discussion title, body, and reply. Fail closed: an uncertain validation or moderation result means no post.

Pre-publication sequence

Perform these steps in order:

  1. Validate the event and target repository.
  2. Derive a stable source marker from the PR, schedule date, discussion, or comment.
  3. Search recent Discussions or comments for that exact marker.
  4. Reject duplicates before making a generation call when possible.
  5. Validate required title, body, category, and poll options.
  6. Append the autonomous-contributor disclosure and marker.
  7. Send the complete final title and body through the RTK safety role.
  8. Publish only after an explicit safe verdict.
  9. Log the created URL or a factual skip reason without logging secrets.

Never call Pollinations directly. Use rtk.Router so budget, ledger, role mapping, and model changes remain centralized. Use only ELIXPO_POLLINATIONS_API_KEY for provider authentication.

Moderate the complete post

Evaluate the exact text that would become public, including the title, disclosure, and option list. Reject content containing harassment, hate, sexual exploitation, instructions facilitating wrongdoing, exposed credentials or personal data, targeted abuse, deceptive impersonation, or unsafe operational instructions.

Also reject a verdict that is empty, malformed, ambiguous, or not explicitly safe. Never reinterpret “unsafe” as safe because it contains the substring “safe.”

Preserve identity and disclosure

Publish with the configured elixpoo-owned GitHub token. Append:

---
_Posted by @elixpoo, an autonomous contributor._

Do not claim maintainer authorship or hide automation. Prevent loops by ignoring events authored by elixpoo, elixpoo[bot], or the configured bot username.

Map categories

  • Announcement: accept Announcement or Announcements.
  • Q&A: accept Q&A, QNA, or Questions and Answers.
  • Poll: accept Poll or Polls.

Stop with an actionable error when a required category is absent. Do not silently post into a semantically different category.

Apply labels

Create the safety-approved Discussion first. Then resolve missing deterministic labels and apply them through addLabelsToLabelable after creation:

  • always apply announcement, qna, or poll for the post type;
  • apply mlops, gitops, docker, or kubernetes only for the primary domain;
  • always apply elixpoo-generated.
  • apply the deterministic mood label (mood-alert, mood-energized, mood-curious, or mood-mentoring).

Require Discussions and Issues write permission on the source repository. Never reuse a label ID from another repository because labels are repository-scoped. If label lookup, creation, or attachment is forbidden, retain the already-created Discussion, emit a bounded warning, and do not retry the public post.

GitHub’s public GraphQL API does not create native poll options. Publish numbered options in the Poll body and ask readers to reply with an option plus reasoning. Require 2–6 non-empty options.

Keep publication idempotent

Use HTML comments so markers remain invisible in rendered prose:

<!-- elixpoo-discussions:merge:<pr-node-id> -->
<!-- elixpoo-discussions:qna:<utc-date> -->
<!-- elixpoo-discussions:reply:<source-node-id> -->

Check durable source node IDs first, then top-level comments and nested replies for legacy markers. A workflow retry must exit successfully without generating or posting again.

For preview runs, perform generation, rendering, category resolution, and safety moderation, but never create a Discussion or mutate labels. Return the exact title, body, and intended labels that would be published.

Handle failures

  • Missing credentials or repository: fail the run with a configuration hint.
  • Missing category or GraphQL error: fail without falling back to another identity.
  • Unsafe draft: log a redacted block reason and exit without publishing.
  • Non-eligible mention or duplicate: log a skip and exit successfully.
  • Provider or GitHub transient error: allow the client’s bounded retry policy; do not add an unbounded loop.

Never log API keys, authorization headers, full webhook payloads, or user secrets.

Prefix every created Discussion title with exactly one emoji selected by the deterministic mood engine. Render bodies through the genre-specific Markdown contract before moderation; do not trust free-form headings from generation.

Полный SKILL.md на GitHub

Установить github-discussion-publisher в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл github-discussion-publisher?

Validate, moderate, deduplicate, categorize, and publish Elixpo GitHub Discussions and replies through the bot identity. Use immediately before any public Announcement, Q&A, Poll, or @elixpoo reply, and when implementing GitHub GraphQL publication, safety gates, idempotency, disclosure, or failure handling.

Как установить скилл github-discussion-publisher?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл github-discussion-publisher запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить github-discussion-publisher с