跳到正文
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.

中文简介正在准备中。当前显示原文说明。

集成工具Redis
查看安装方法

包含的文件(1)

  • SKILL.md4.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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-SE2582026年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-SE2582026年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-SE2582026年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-SE2582026年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-SE2582026年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-SE2582026年8月21日 更新

查看 ArabelaTso 的全部技能

报告此技能的问题