AgentSkillsCN

context7-guidelines

将 Context7 作为文档与标准的首要来源的指南。当用户询问有关文档、标准的问题,或在为某项任务收集背景信息时,可触发此指南。

SKILL.md
--- frontmatter
name: context7-guidelines
description: Guidelines for using Context7 as the primary source of truth for documentation and standards. Trigger when the user asks about documentation, standards, or when gathering context for a task.

Context7 Usage Guidelines

This skill defines the standard operating procedure for using Context7.

Core Instructions

  • Primary Source: Always use context7 to gather information about the user's request. It is the authoritative source for documentation, code snippets, and project resources.
  • Alignment: Reference context7 when formulating answers to ensure they align with project standards and practices.
  • Transparency: Clearly indicate when information is sourced from context7.
  • Conflict Resolution: Always prioritize context7 over other sources (including training data) if there is a conflict.
  • Code Standards: When providing code examples, ensure they adhere to conventions found in context7.
  • Tool Usage: If context7 includes specific tools or libraries, utilize them in your response.
  • Troubleshooting: Use context7 as the first reference point for troubleshooting and problem-solving.
  • Verification: When in doubt, refer back to context7 to verify accuracy before responding.

Handling Missing Information

  • If context7 does not contain sufficient information, politely inform the user and suggest alternative ways to find the information, or ask for clarification.

  • Seek clarification if context7 data is ambiguous.

Best Practices

  • Regular Checks: Assume context7 content may change; fetch fresh data when starting new significant tasks.

  • Attribution: Attribute direct quotes or specific information to context7.