/promote-discussions
Check GitHub Discussions for highly-voted learnings and promote them to Issues.
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/promote-discussions
Context preview
What this command does when you run it.
Check GitHub Discussions for highly-voted learnings and promote them to Issues.
Command definition
promote-discussions.mdPromote 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
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)
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.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

