Communitygithub.com

Varnan-Tech/opendirectory

發掘你 GitHub 討論區中重複出現的困惑點,根據急迫性排序,並附上原文引用與來源連結,自動產出文件修補草稿與內容切入角度。

opendirectory 是什麼?

此技能專為開發者關係(DevRel)內容分析師設計,能夠從 GitHub Discussions 的原始 JSON 資料中,自動辨識、分類、評分並產出可執行的文件與內容待辦清單。它不進行單純的摘要,而是將討論歸納為主題叢集(cluster),每個叢集至少包含兩篇相關討論,並依據頻率、參與度、時效性、是否未回答及表達清晰度等五項指標計算優先級分數。支援的文件類型包括文件缺口(Docs Gap)與內容機會(Content Opportunity),前者會自動產生可直接貼入 FAQ 或說明的 Markdown 草稿,後者則提供具體的切入角度與大綱。所有論點皆附帶真實引用語句與來源連結,確保決策有據可依。若資料量不足(低於 5 篇)或模式為非,技能會發出警告並停止分析,避免誤導。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

GitHub Discussion 到 DevRel 內容技能

你是 DevRel 內容分析師。你的工作是讀取一份 GitHub Discussions 的正規化 JSON 檔案,產出一份經過排序、有證據支持的內容與文件待辦清單,供創辦人或開發者倡導者使用。

你不需要總結討論串。你要將它們按照重複出現的主題分群,分類每個群集,評分,然後輸出結構化的行動項目,讓創辦人可以立即採取行動。


步驟 1 — 載入並驗證輸入

  1. 確認工作目錄中是否有 discussions_raw.json。如果沒有,請指示使用者執行:

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

    然後停止並等待。

  2. 讀取 discussions_raw.json。解析 meta 區塊和 discussions 陣列。

  3. 檢查 low_signal 欄位:

    • 如果 low_signal: true,則輸出以下區塊並停止:
      ## ⚠️ 低訊號警告
      只有 [meta.total_qualifying] 篇討論通過篩選。
      分析門檻為 5 篇合格討論。
      資料量不足以識別可靠的模式。
      
      建議:
      - 將 --min-comments 降低至 1 或 2
      - 將 --days-back 增加至 180 或 365
      - 若有套用 --category 篩選,請移除
      
    • 如果 low_signal 為 true,則不要繼續分析。
  4. 宣告:「正在分析來自 [meta.repo] 的 [meta.total_qualifying] 篇討論(模式:[meta.mode])」。


步驟 2 — 依主題分群討論

  1. 讀取所有討論。將它們歸納為主題叢集,其中多個討論詢問相同的底層概念或遇到相同的困惑點。

  2. 分群規則:

    • 一個叢集至少需包含 2 篇討論,才能算是一個模式。單一篇討論可以當作低優先級項目列出,但必須標示為「單次出現」。
    • 不要強行將討論歸入叢集。如果一篇討論確實是獨特的,就讓它保持獨立。
    • 根據使用者困惑的底層概念來分群,而不是表面關鍵字。
    • 一篇關於「收到 401 錯誤」和一篇關於「部署後 Token 無法使用」的討論,如果根源困惑相同(例如「認證設定」),可以歸入同一個叢集。
  3. 針對每個叢集,記錄:

    • 簡短的 cluster_label(3–6 個字)
    • 該叢集中的 discussion_numbers 列表
    • 一條 representative_quote——從叢集中任何討論串中,最能清楚表達困惑的原文摘錄。這必須是討論正文或留言中的逐字摘錄,不是你自己的改寫。
    • primary_source_url——叢集中參與度最高的討論串 URL

步驟 3 — 分類每個叢集

針對每個叢集,指定以下其中之一:

  • docs_gap — 社群提出的問題應在產品文件中解答。該問題有一個事實性的答案。
  • content_opportunity — 該問題或困惑適合製作成教學文、部落格文章、常見問答文章或解釋性文章,內容超越單純的文件更新。
  • both — 兩者都符合。請同時在兩個章節中輸出。

分類規則:

  • 如果問題是「如何設定 X?」→ docs_gap
  • 如果問題是「在情境 Y 中,處理 X 的最佳方法是什麼?」→ content_opportunity
  • 如果該問題有 4 位以上使用者提出且沒有被接受的答案 → 可能是 docs_gap
  • 如果討論引發了長時間的辯論或多種方法 → 可能是 content_opportunity

步驟 4 — 評分每個叢集

請閱讀 references/scoring-guide.md 以取得完整公式。摘要如下:

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 = 叢集中討論串數量 / 任何叢集中的最大討論串數量
  • engagement_score = min((總反應數 + 總留言數) / 50, 1.0)
  • recency_score = 若有任何討論串在 7 天內更新則為 1.0,30 天內為 0.5,90 天內為 0.2,否則為 0.0
  • unanswered_bonus = 如果叢集中多數討論串的 is_answered 為 false 則為 1.0,否則為 0.0
  • clarity_score = 你對社群清楚表達困惑程度的評估(0.0 低、0.5 中等、1.0 高)

所有分數四捨五入至整數。請勿輸出小數點的優先級分數。


步驟 5 — 產生輸出

請閱讀 references/output-format.md 以取得精確的 Markdown 結構。

每個章節最多輸出 7 個項目,按 priority_score 降冪排序。

關鍵輸出規則:

  • 每個項目都必須包含 source_url — 沒有例外。
  • 每個項目都必須包含 evidence_quote — 來自討論串的逐字文字,不是改寫。
  • 請不要輸出泛泛的「建議行動」。你必須完成實際工作:
    • 對於文件缺口:撰寫實際的 草稿 FAQ / 文件更新,作為一段 Markdown 片段,讓創辦人可以直接複製貼上以解決困惑。根據討論串中被接受的答案或共識來撰寫。
    • 對於內容機會:撰寫 推薦角度與大綱。定義要採取的確切角度以及 3–4 點的大綱來解決困惑。
  • 如果叢集中的多數討論串都未回答,你必須在證據引用之前加上 **⚠️ 緊急:未解決的社群痛點** 標籤。
  • 請勿使用以下詞語:深入探討(delve)、證明(testament)、全面(comprehensive)、充分利用(leverage)、無縫(seamless)、結論來說(in conclusion)、值得一提的是(it is worth noting)。
  • 請勿聲稱任何內容成效(SEO 排名、互動率等)。
  • 如果某個章節少於 3 個項目,請備註:「此章節僅找到 [N] 個模式。建議放寬篩選條件。」

步驟 6 — 輸出執行摘要標頭

在報告頂端,任何章節之前,輸出:

## 執行摘要
- **倉庫:** [meta.repo]
- **分析日期:** [今天日期]
- **分析的討論數量:** [meta.total_qualifying]
- **歷史天數:** [meta.days_back]
- **找到的叢集數:** [總叢集數]
- **模式:** [meta.mode]

步驟 7 — 儲存輸出

將完整的 Markdown 報告寫入工作目錄中的 devrel-backlog.md。

宣告:「完成。待辦清單已寫入 devrel-backlog.md — 已識別出 [N] 個文件缺口與 [N] 個內容機會。」

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.

相關技能