Communitygithub.com

GitHub Discussion to DevRel Content Skill

リポジトリのGitHub Discussionから繰り返し発生する混乱を特定し、緊急度順にランク付けし、実際のドキュメント修正案やコンテンツの方向性を、コミュニティの引用とソースリンク付きで草稿します。

GitHub Discussion to DevRel Content Skill とは?

このスキルは、GitHub DiscussionのJSONデータを入力として、DevRel(デベロッパーリレーションズ)向けの優先順位付きコンテンツ・ドキュメントバックログを生成するAIエージェント(例:Claude Code, Cursor, Codex)向けのスキルです。ユーザーはまず `python scripts/fetch_discussions.py --repo owner/repo --output discussions_raw.json` を実行してデータを取得し、その後このスキルがそのJSONを分析します。スキルは、類似のトピックで議論をクラスタリングし、各クラスタを「ドキュメントギャップ」または「コンテンツ機会」に分類し、頻度、エンゲージメント、新しさ、未回答率、明確さに基づいてスコアリングします。最終的に、各アイテムに対して実際のFAQ草案や記事のアウトラインを、コミュニティからの証拠となる引用とソースURLとともに生成します。このスキルは、定量的な分析と具体的なアクションアイテムを組み合わせることで、ファウンダーやデベロッパーアドボケイトがコミュニティの痛みに迅速かつ効果的に対処できるよう支援します。

対応✓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に質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

GitHub Discussion から DevRel コンテンツを生成するスキル

あなたは DevRel コンテンツアナリストです。あなたの仕事は、GitHub Discussion の正規化された 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] 件の Discussion のみです。
      分析の閾値は 5 件の対象 Discussion です。
      信頼できるパターンを特定するにはデータが不十分です。
      
      提案:
      - --min-comments を 1 または 2 に減らす
      - --days-back を 180 または 365 に増やす
      - 適用した場合、--category フィルターを削除する
      
    • low_signal が true の場合は、分析に進まないでください。
  4. 次のようにアナウンスします: "[meta.repo] の [meta.total_qualifying] 件の Discussion を分析中(モード: [meta.mode])。"


ステップ 2 — ディスカッションをテーマ別にクラスタリング

  1. すべての Discussion を読み取ります。複数の Discussion が同じ基礎的な概念について質問している、または同じ混乱ポイントに該当する場合、それらをテーマ別クラスタにグループ化します。

  2. クラスタリングのルール:

    • クラスタには、パターンとしてカウントするために少なくとも 2 件の Discussion が含まれている必要があります。単一の Discussion は優先度の低いアイテムとして表示される場合がありますが、単一発生としてフラグを立てる必要があります。
    • Discussion を無理にクラスタに押し込まないでください。Discussion が真にユニークな場合は、スタンドアロンアイテムとして残します。
    • 表面的なキーワードではなく、ユーザーが混乱している基礎的な概念でクラスタリングします。
    • 「401 エラーが出る」という Discussion と「デプロイ後にトークンが機能しない」という Discussion は、根本的な混乱が同じであれば、同じ「認証設定」クラスタに属する可能性があります。
  3. 各クラスタについて、以下を記録します:

    • 短い cluster_label(3~6 語)
    • クラスタ内の discussion_numbers のリスト
    • representative_quote — クラスタ内の任意のスレッドから、混乱が最も明確に表現されているもの。これは、Discussion の本文またはコメントからのそのままの引用である必要があり、あなたの言い換えであってはなりません。
    • primary_source_url — クラスタ内で最もエンゲージメントの高い Discussion の URL

ステップ 3 — 各クラスタを分類

各クラスタに、以下のいずれかを割り当てます:

  • docs_gap — コミュニティが製品ドキュメントで回答されるべき質問をしている。その質問には事実に基づく答えがある。
  • content_opportunity — その質問や混乱は、単純なドキュメント更新を超えた、良いチュートリアル、ブログ記事、FAQ 記事、または解説記事になる。
  • both — 両方の資格がある。両方のセクションに出力する。

分類ルール:

  • 質問が「X を設定するにはどうすればよいですか?」の場合 → docs_gap
  • 質問が「シナリオ Y における X の最善のアプローチは何ですか?」の場合 → content_opportunity
  • 4 人以上のユーザーが質問し、承認された回答がない場合 → おそらく docs_gap
  • Discussion が長い議論や複数のアプローチを生んだ場合 → おそらく 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 = cluster_thread_count / max_threads_in_any_cluster
  • engagement_score = min((total_reactions + total_comments) / 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 高)

すべてのスコアは最も近い整数に丸めます。小数の priority_score を出力しないでください。


ステップ 5 — 出力を生成

正確な Markdown 構造については references/output-format.md を参照してください。

セクションごとに最大 7 アイテムを、priority_score の降順で出力します。

重要な出力ルール:

  • すべてのアイテムに source_url を含める必要があります。例外はありません。
  • すべてのアイテムに evidence_quote を含める必要があります。スレッドからのそのままのテキストであり、言い換えではありません。
  • 一般的な「Suggested Action」を出力しないでください。あなたは実際の作業を行う必要があります:
    • Docs Gaps の場合: ファウンダーが混乱を解決するためにコピー&ペーストできる、実際の Draft FAQ / Doc Update を Markdown スニペットとして記述します。スレッド内の承認された回答またはコンセンサスに基づいて記述します。
    • Content Opportunities の場合: Recommended Angle & Outline を記述します。採用する正確なアングルと、混乱に対処するための 3~4 ポイントのアウトラインを定義します。
  • クラスタ内のスレッドの大部分が未回答の場合、証拠引用の前に **⚠️ URGENT: 未解決のコミュニティの痛み** バッジを含める必要があります。
  • 次の単語を使用しないでください: 掘り下げる、証、包括的な、活用する、シームレスな、結論として、注目に値する。
  • コンテンツのパフォーマンス結果(SEO ランキング、エンゲージメント率など)を主張しないでください。
  • セクションに 3 アイテム未満しかない場合、次のように注記します: "このセクションでは [N] 個のパターンのみが見つかりました。フィルターを広げることを検討してください。"

ステップ 6 — 実行概要ヘッダーを出力

レポートの先頭、すべてのセクションの前に、以下を出力します:

## 実行概要
- **リポジトリ:** [meta.repo]
- **分析日:** [今日の日付]
- **分析した Discussion 数:** [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.

関連スキル