pamelafox/presentation-skills

discussion-commenter

Post Q&A entries from markdown writeups as comments to a GitHub Discussion.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/pamelafox/presentation-skills --skill discussion-commenter

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Discussion Commenter

Post Q&A entries from markdown writeups as individual comments to a GitHub Discussion.

Usage

Run the script with the writeup file path, discussion URL, and date:

bash
uv run post_qas.py \
  "path/to/writeup.md" \
  "https://github.com/orgs/ORG/discussions/NUMBER" \
  "2026/01/06"

Arguments

  1. writeup_path - Path to the markdown writeup file containing Q&As
  2. discussion_url - Full URL to the GitHub discussion
  3. date - Date string to prefix each comment (e.g., "2026/01/06")

Options

  • --dry-run - Parse and display what would be posted without actually posting

Requirements

  • GitHub CLI (gh) must be installed and authenticated
  • User must have permission to comment on the discussion

Output

Each ## Question section in the writeup becomes a separate comment, formatted as:

markdown
**2026/01/06: Question Title**

Answer content...

Subsections (### Follow-up) are included in the parent question's comment.

aus demselben Repository

Weitere Skills

Alle Skills