スキル一覧に戻る
takeokunn

context7-usage

by takeokunn

takeokunn's nixos-configuration

59🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: Context7 Usage description: This skill should be used when the user asks to "check documentation", "latest API", "library docs", "context7", or needs up-to-date library documentation. Provides Context7 MCP usage patterns.

  <note>For React hooks documentation</note>
  topic="hooks"

  <note>For routing documentation</note>
  topic="routing"
</example>
  <note>For specific Next.js API</note>
  topic="getServerSideProps"

  <note>For specific TypeScript utility type</note>
  topic="Partial"
</example>
  <step>2. Use Context7 to get latest documentation</step>
  get-library-docs context7CompatibleLibraryID="/facebook/react" topic="useState"

  <step>3. Compare current usage with documented best practices</step>
</example>
  <step>2. Use Serena to find all usages of changed APIs</step>
  find_referencing_symbols name_path="getStaticProps"

  <step>3. Plan migration based on documentation</step>
</example>

<anti_patterns> Calling get-library-docs without resolving library ID first Always call resolve-library-id to get the correct Context7-compatible library ID Requesting maximum tokens for simple queries Use specific topics and appropriate token limits (2000-3000 for quick lookups, 5000 for standard queries) Using libraries with low trust scores or snippet counts Prefer libraries with trust scores 7-10 and higher snippet counts for better documentation quality Using incorrect or outdated library names (e.g., "react-query" vs "tanstack/query") Try alternative names or broader search terms if library not found </anti_patterns>

<best_practices> Always resolve library ID before fetching documentation Prefer libraries with trust scores 7-10 for better documentation quality Use specific topics to reduce token usage and increase relevance Check snippet count as indicator of documentation completeness Use versioned IDs when available for specific version documentation </best_practices>

<error_escalation> Library not found with exact name Note in report, try alternative names, proceed Documentation not available for topic Document issue, use AskUserQuestion for clarification Context7 service unavailable STOP, present options to user Conflicting documentation versions BLOCK operation, require explicit user acknowledgment </error_escalation>

<related_skills> Combines with Context7 for codebase verification workflows Uses Context7 for documentation research Uses Context7 for NixOS and Home Manager documentation Uses Context7 for TypeScript and framework documentation Uses Context7 for Go library documentation Uses Context7 for Rust crate documentation </related_skills>

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です