本文へ移動
cccskills
無料GitHub で公開

reference-searcher

Systematic external reference searching across documentation, open-source repositories, and web resources. Use when working with unfamiliar libraries, APIs, or when needing production-quality implementation examples.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Reference Searcher

Structured methodology for searching external references — official docs, open-source implementations, and web resources — to inform development decisions.

When to Use This Skill

  • Working with unfamiliar libraries or frameworks
  • Needing production-quality implementation examples
  • Debugging unexpected behavior from external dependencies
  • Finding best practices for specific patterns (auth, caching, etc.)
  • Evaluating library choices with real-world usage data

What This Skill Does

Search Strategy: Three Layers

Layer 1: Official Documentation

Search official docs for the specific library using web search:

# Search official docs directly
# e.g., "next.js middleware authentication site:nextjs.org"
# Or use documentation MCP tools if available (e.g., Context7)

Best for: API signatures, configuration options, migration guides, official patterns.

Layer 2: Open-Source Implementation Examples (GitHub)

Search real codebases for production patterns:

# Search GitHub for code patterns via grep.app or GitHub search
# e.g., https://grep.app/search?q=getServerSession%28&filter[lang][0]=TypeScript
# Or use GitHub code search: gh search code "getServerSession(" --language=TypeScript

Best for: How established projects (1000+ stars) handle specific patterns, battle-tested error handling, real-world integration examples.

Search tips:

  • Search for actual code patterns, not keywords
  • Use (?s) prefix for multi-line regex patterns
  • Filter by language and file path for precision
  • Look for repos with 1000+ stars for production quality

Layer 3: Web Search (Current Information)

Search the web for recent articles, discussions, and guides:

# Web search for current information
# e.g., "OWASP JWT security best practices 2024"

Best for: Security advisories, recent breaking changes, community discussions, performance benchmarks, "why does X behave this way" questions.

Search Workflow

  1. Start with official docs — fastest, most authoritative
  2. If docs insufficient — search GitHub for real implementations
  3. If pattern unclear — web search for community knowledge
  4. Synthesize — combine findings into actionable guidance

Result Evaluation

For each source found, assess:

CriterionCheck
RecencyIs this from the current major version?
AuthorityOfficial docs > popular repos > blog posts
CompletenessDoes it cover error handling and edge cases?
ApplicabilityDoes it match our tech stack and constraints?

Output Format

## Research: [Topic]

### Official Documentation
- [Finding 1 with link]
- [Finding 2 with link]

### Production Examples
- [Repo/file]: [What pattern they use and why]
- [Repo/file]: [Alternative approach]

### Recommendation
Based on [sources], the recommended approach is [X] because [reasons].

### Caveats
- [Known limitation or gotcha]

Anti-Patterns

  • Searching for keywords instead of actual code patterns on GitHub
  • Trusting blog posts over official documentation
  • Using examples from outdated library versions
  • Skipping error handling patterns in reference code
  • Over-researching — stop when you have enough to proceed confidently

Example

User: "How should I implement rate limiting in Express?"

Output:

  1. Official docs: express-rate-limit documentation — configuration options, store adapters
  2. GitHub: 3 production repos showing Redis-backed rate limiting with sliding window
  3. Web: OWASP rate limiting guidelines, comparison of token bucket vs sliding window
  4. Recommendation: Use express-rate-limit with Redis store, sliding window algorithm, with specific config example

Inspired by: oh-my-opencode Librarian agent

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Applies abstract interpretation using different abstract domains (intervals, octagons, polyhedra, sign, congruence) to statically analyze program variables and infer invariants, value ranges, and relationships. Use when analyzing program properties, inferring loop invariants, detecting potential errors, or understanding variable relationships through static analysis.

日本語の概要は準備中です。原文の説明を表示しています。

ArabelaTso/Skills-4-SE2532026年8月21日 更新

Uses abstract interpretation to automatically infer loop invariants, function preconditions, and postconditions for formal verification. Generates invariants that capture program behavior and support correctness proofs in Dafny, Isabelle, Coq, and other verification systems. Use when adding formal specifications to code, generating verification conditions, inferring contracts for functions, or discovering loop invariants for proofs.

日本語の概要は準備中です。原文の説明を表示しています。

ArabelaTso/Skills-4-SE2532026年8月21日 更新

Performs abstract interpretation over source code to infer possible program states, variable ranges, and data properties without executing the program. Reports potential runtime errors including out-of-bounds accesses, null dereferences, type inconsistencies, division by zero, and integer overflows. Use when analyzing code for potential runtime errors, performing static analysis, checking safety properties, or verifying program behavior without execution.

日本語の概要は準備中です。原文の説明を表示しています。

ArabelaTso/Skills-4-SE2532026年8月21日 更新

Performs abstract interpretation to produce summarized execution traces and high-level program behavior representations. Highlights key control flow paths, variable relationships, loop invariants, function summaries, and potential runtime states using abstract domains (intervals, signs, nullness, etc.). Use when analyzing program behavior, understanding execution paths, computing loop invariants, tracking variable ranges, detecting potential runtime errors, or generating program summaries without concrete execution.

日本語の概要は準備中です。原文の説明を表示しています。

ArabelaTso/Skills-4-SE2532026年8月21日 更新

Create ACSL (ANSI/ISO C Specification Language) formal annotations for C/C++ programs. Use this skill when working with formal verification, adding function contracts (requires/ensures), loop invariants, assertions, memory safety annotations, or any ACSL specifications. Supports Frama-C verification and generates comprehensive formal specifications for C/C++ code.

日本語の概要は準備中です。原文の説明を表示しています。

ArabelaTso/Skills-4-SE2532026年8月21日 更新

CLI-based browser automation with persistent page state using ref-based element interaction. Use when users ask to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

日本語の概要は準備中です。原文の説明を表示しています。

ArabelaTso/Skills-4-SE2532026年8月21日 更新

ArabelaTso のスキルをすべて見る

このスキルの問題を報告する