mcpField
D
discussion-commenter

discussion-commenter

github.com/pamelafoxProductivity128109 installsUpdated 8w ago
Repository

About discussion-commenter

Discussion Commenter turns Q&A sections in a Markdown writeup into separate comments on a GitHub Discussion. It is for users publishing written Q&As, with a dry-run option to preview the parsed comments before posting.

Key features

  1. 01Parses Q&A sections from Markdown
  2. 02Posts each question as a separate comment
  3. 03Includes follow-ups with the parent question
  4. 04Prefixes comments with a supplied date
  5. 05Previews comments with dry-run

Use cases

  1. 01Publish a Markdown Q&A writeup to a discussion
  2. 02Review parsed comments before posting
  3. 03Group follow-up answers with their question

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pamelafox/presentation-skills --skill discussion-commenter

After installing, type/discussion-commenterin Claude Code to confirm it loaded.

Bundled filespost_qas.py

Details

From the project README

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:

uv run .agents/skills/discussion-commenter/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:

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

Answer content...

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

Comments

Markdown supported