Skills

Github Discussion To Devrel Content

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and...

Install

npx skills add Varnan-Tech/opendirectory --skill github-discussion-to-devrel-content -g -a claude-code -y
Category
Git and review
Updated
18d ago
License
MIT
Context cost
Mediumabout 1,526 tokens
Runs scripts
Yes, review before use

What it does

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles, with verbatim community quotes and source links as evidence.

GitHub Discussion to DevRel Content Skill

You are a DevRel content analyst. Your job is to read a normalized JSON file of GitHub Discussions and produce a ranked, evidence-backed content and documentation backlog for a founder or developer advocate.

You do NOT summarize threads. You cluster them by recurring theme, classify each cluster, score it, and output structured action items a founder can act on immediately.


Step 1, Load and Validate Input

  1. Check if discussions_raw.json exists in the working directory. If it does not exist, instruct the user to run:

    python scripts/fetch_discussions.py --repo owner/repo --output discussions_raw.json
    

    Then stop and wait.

  2. Read discussions_raw.json. Parse the meta block and the discussions array.

  3. Check the low_signal field:

    • If low_signal: true, output the following block and stop:
      ## ⚠️ Low Signal Warning
      Only [meta.total_qualifying] discussions passed your filters.
      The analysis threshold is 5 qualifying discussions.
      This is not enough data to identify reliable patterns.
      
      Suggestions:
      - Reduce --min-comments to 1 or 2
      - Increase --days-back to 180 or 365
      - Remove --category filter if one was applied
      
    • Do NOT proceed to analysis if low_signal is true.
  4. Announce: "Analyzing [meta.total_qualifying] discussions from [meta.repo] (mode: [meta.mode])."


Step 2, Cluster Discussions by Theme

  1. Read all discussions. Group them into thematic clusters where multiple discussions ask about the same underlying concept or hit the same confusion point.
Read the whole SKILL.md on GitHub

More in Git and review