Skip to content
Development
Command

/promote-discussions

Check GitHub Discussions for highly voted learnings and promote them to Issues.

From plugin
claude-night-market
343162 skills60 agents162 commands1 MCP
> /plugin marketplace add athola/claude-night-market

Command definition

promote-discussions.md
name: promote-discussions
description: Check GitHub Discussions for highly voted learnings and promote them to Issues.

Promote Community Learnings

Check GitHub Discussions for highly-voted learnings and promote them to Issues.

Usage

/abstract:promote-discussions

Purpose

Part of Issue #69 Phase 6c, this command scans athola/claude-night-market Discussions in the "Learnings" category for items that have received sufficient community votes (fire emoji reactions) and promotes them to GitHub Issues for team triage.

What It Does

1. **Loads config** from `~/.claude/skills/discussions/config.json`

  • `promotion_threshold`: Minimum fire reactions to promote (default: 3)
  • `promotion_emoji`: Reaction type to count (default: fire)

2. **Queries Discussions** in the "Learnings" category via `gh api graphql` 3. **Checks reaction counts** for fire emoji specifically 4. **Promotes qualifying items** by creating GitHub Issues with:

  • Title: `[Community Learning] {discussion title}`
  • Body: Link to discussion, vote count, original content summary

5. **Tracks promotions** in `~/.claude/skills/discussions/promoted.json` to avoid duplicates

Instructions

When this command is invoked:

1. Run `plugins/abstract/scripts/promote_discussion_to_issue.py` 2. Report results to the user:

  • If items were promoted: list the created Issue URLs
  • If no items met the threshold: report the current threshold and suggest waiting for more votes
  • If an error occurred: report the error and suggest checking `gh auth status`

Prerequisites

  • GitHub CLI (`gh`) must be installed and authenticated
  • User must have write access to athola/claude-night-market (for Issue creation)

Configuration

Edit `~/.claude/skills/discussions/config.json`:

{
  "promotion_threshold": 3,
  "promotion_emoji": "🔥"
}

Related

  • `/abstract:aggregate-logs` - Generates LEARNINGS.md and posts to Discussions (Phase 6a)
  • `/abstract:improve-skills` - Implements improvements locally (Phase 5)

Version

1.0.0 (Phase 6c implementation)

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other commands on claude-night-market.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command