搜索

PythonReactSEOPDF
GitHub Skill

github-prior-art-research

When asked implementation questions or tool selection questions like "how do I implement", "what's the best way to", "how should I", "which library", "what tool should I use", or "how might we", search GitHub for prior art, code examples, and proven approaches before proposing solutions

TrevorS☆ 3 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

GitHub Prior Art Research

Purpose

This skill activates when you ask questions about implementation approaches or tool selection. It guides Claude to research GitHub for proven solutions, popular libraries, real-world examples, and community discussions before formulating an answer.

When This Skill Activates

This skill automatically engages when your questions include patterns like:

  • "How do I [implement/build/create/add] X?"
  • "What's the best way to [solve/approach/handle] X?"
  • "How should I structure/organize/design X?"
  • "Which library/tool/framework should I use for X?"
  • "What are people using for X?"
  • "How might we [implement/architect] X?"

Research Process

1. Identify the Core Problem

Extract the key concept or task from your question. What's the actual problem you're solving?

2. Search Multiple Sources on GitHub

Use the WebSearch tool to find relevant information on GitHub:

Code Examples: Search for implementation patterns

  • Example: site:github.com "how to implement [X]" language:[relevant]
  • Look for well-maintained repos with multiple stars

Popular Repos: Find established solutions

  • Search for repos that solve your problem
  • Review their approach, architecture, and design decisions

Issues & Discussions: Learn from community problem-solving

  • Search GitHub issues for discussions about similar challenges
  • See what problems others encountered and how they solved them

Documentation: Find best practices and patterns

  • Check README files and docs in relevant repos
  • Look for architectural decisions and trade-offs explained
3. Synthesize Findings

Analyze what you discovered:

  • What approaches are most common?
  • What patterns do successful projects use?
  • What trade-offs exist between different approaches?
  • What mistakes do people make (from issues/discussions)?
4. Present Evidence-Based Answer

Propose solutions grounded in your research:

  • Cite specific repos or discussions
  • Explain why certain approaches work
  • Mention alternatives and their trade-offs
  • Point to real examples the user can study

Key Principles

  • Always search before proposing: GitHub research informs every recommendation
  • Cite sources: Include repo links or discussion references
  • Show alternatives: Discuss different approaches and their trade-offs
  • Learn from mistakes: Include common pitfalls found in issues/discussions
  • Respect complexity: Acknowledge when multiple valid approaches exist

Example Usage

User asks: "How do I implement real-time updates in a React app?"

Skill activates because: The question matches "How do I implement [X]"

Claude's process:

  1. Searches GitHub for popular React real-time solutions (Firebase, Socket.io, etc.)
  2. Examines top repos and their architectural approaches
  3. Reviews issues discussing real-time update challenges
  4. Reads documentation explaining different patterns
  5. Proposes solution citing specific repos: "Based on popular approaches like [RepoA] and [RepoB], here are two main patterns..."

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-02-03
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!