Communitygithub.com

Varnan-Tech/opendirectory

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.

Was ist opendirectory?

opendirectory is a Claude Code agent skill that 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.

Funktioniert mit✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/github-discussion-to-devrel-content

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

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.

  2. Rules for clustering:

    • A cluster must contain at least 2 discussions to count as a pattern. Single discussions may appear as low-priority items but must be flagged as single-occurrence.
    • Do not force discussions into clusters. If a discussion is genuinely unique, leave it as a standalone item.
    • Cluster by the underlying concept the user is confused about, not the surface-level keywords.
    • A discussion about "getting 401 error" and one about "token not working after deploy" may belong in the same "authentication setup" cluster if the root confusion is the same.
  3. For each cluster, record:

    • A short cluster_label (3–6 words)
    • The list of discussion_numbers in the cluster
    • A representative_quote — the most clearly-worded expression of the confusion from any thread in the cluster. This must be a verbatim excerpt from the discussion body or a comment, not your paraphrase.
    • The primary_source_url — URL of the most-engaged discussion in the cluster

Step 3 — Classify Each Cluster

For each cluster, assign one of:

  • docs_gap — The community is asking a question that should be answered in the product documentation. The question has a factual answer.
  • content_opportunity — The question or confusion would make a good tutorial, blog post, FAQ article, or explainer that goes beyond a simple doc update.
  • both — It qualifies as both. Output it in both sections.

Classification rules:

  • If the question is "how do I configure X?" → docs_gap
  • If the question is "what is the best approach for X in scenario Y?" → content_opportunity
  • If the question is asked by 4+ users with no accepted answer → likely docs_gap
  • If the discussion spawned a long debate or multiple approaches → likely content_opportunity

Step 4 — Score Each Cluster

Read references/scoring-guide.md for the full formula. Summary:

priority_score = (
  (frequency_score  × 0.35) +
  (engagement_score × 0.30) +
  (recency_score    × 0.15) +
  (unanswered_bonus × 0.10) +
  (clarity_score    × 0.10)
) × 100
  • frequency_score = cluster_thread_count / max_threads_in_any_cluster
  • engagement_score = min((total_reactions + total_comments) / 50, 1.0)
  • recency_score = 1.0 if any thread updated within 7 days, 0.5 if within 30 days, 0.2 if within 90 days, 0.0 otherwise
  • unanswered_bonus = 1.0 if majority of cluster threads have is_answered: false, else 0.0
  • clarity_score = your assessment of how clearly the community articulated the confusion (0.0 low, 0.5 moderate, 1.0 high)

Round all scores to the nearest integer. Do not output decimal priority scores.


Step 5 — Generate Output

Read references/output-format.md for the exact Markdown structure.

Output up to 7 items per section, ranked by priority_score descending.

Critical output rules:

  • Every item must include source_url — no exceptions.
  • Every item must include evidence_quote — verbatim text from the thread, not a paraphrase.
  • Do not output a generic "Suggested Action". You must do the work:
    • For Docs Gaps: Write the actual Draft FAQ / Doc Update as a Markdown snippet that the founder can copy-paste to solve the confusion. Base it on the accepted answer or consensus in the thread.
    • For Content Opportunities: Write the Recommended Angle & Outline. Define the exact angle to take and a 3-4 point outline to address the confusion.
  • If the majority of threads in a cluster are unanswered, you MUST include the **⚠️ URGENT: Unresolved Community Pain** badge before the evidence quote.
  • Do not use the words: delve, testament, comprehensive, leverage, seamless, in conclusion, it is worth noting.
  • Do not claim any content performance outcome (SEO ranking, engagement rate, etc.).
  • If a section has fewer than 3 items, note: "Only [N] pattern(s) found for this section. Consider broadening filters."

Step 6 — Output the Run Summary Header

At the top of the report, before any sections, output:

## Run Summary
- **Repo:** [meta.repo]
- **Analysis date:** [today's date]
- **Discussions analyzed:** [meta.total_qualifying]
- **Days of history:** [meta.days_back]
- **Clusters found:** [total clusters]
- **Mode:** [meta.mode]

Step 7 — Save Output

Write the full Markdown report to devrel-backlog.md in the working directory.

Announce: "Done. Backlog written to devrel-backlog.md — [N] docs gaps and [N] content opportunities identified."

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a nurture asset", or "make a PDF report".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

Verwandte Skills