AgentSkillsCN

keep-current

研究当前的在线文档与资讯。适用于处理外部库、框架、API、服务、特定版本的问题、行业趋势,或任何可能因大语言模型训练截止时间而影响准确性的主题时使用。指导您何时应使用网络搜索、代码搜索或网页抓取。

SKILL.md
--- frontmatter
name: keep-current
description: Research current online documentation and information. Use when working with external libraries, frameworks, APIs, services, version-specific issues, trends, or any topic where LLM training cutoff may impact accuracy. Guides when to use websearch, codesearch, or webfetch.

Keep Current

Ensure responses are accurate and up-to-date by doing targeted research (use helper agents when available) before answering.

When to Research

Research when working with:

  • External dependencies: Libraries, frameworks, languages, SDKs
  • External services: APIs, SaaS products (WorkOS, Stripe, morphllm, etc.)
  • Version-specific topics: Migration guides, breaking changes, version compatibility
  • Time-sensitive topics: Recent developments, trends, "latest" features, deprecations
  • Uncertain knowledge: When not confident in the recency of your answer

What NOT to Research

Skip research for:

  • Language basics: Syntax, core operators, standard data structures
  • Stable APIs: Well-established features that rarely change
  • Universal concepts: Programming patterns, algorithms, design principles
  • Confident knowledge: When certain the answer is in your knowledge base and unchanged
  • General knowledge: Topics that don't depend on recent changes

Rule of thumb: If it's core programming knowledge that hasn't changed in years, don't research it.

Research Assistance

When research is needed, use available research assistance (for example, a general-purpose research agent) to gather up-to-date information:

Provide Context

Include in your prompt:

  • The research question: What specific information is needed
  • Context: What you're building, version requirements, language/framework
  • Scope: Level of detail needed (high-level overview vs deep dive)
  • Constraints: Any specific requirements or limitations

Emphasize Thoroughness

The subagent must:

  • Continue researching until it has a complete, confident understanding
  • Explore multiple sources (official docs, community discussions, examples)
  • Verify information across sources
  • Not return until it has thoroughly researched the topic
  • Provide distilled findings with source URLs

Example Prompt

code
I need to integrate WorkOS for authentication in a Next.js app.
Research the current WorkOS documentation to understand:
- Integration setup and configuration
- SDK usage and code examples
- Authentication flow implementation
- Common patterns and best practices

Thoroughly research this topic. Do not return until you have a complete understanding of how to integrate WorkOS based on current documentation. Provide distilled findings with source URLs.

Using Subagent Results

  • The subagent returns distilled, synthesized information
  • Apply findings to the user's request
  • Reference sources when appropriate
  • If findings are insufficient, ask for more specific research