github-context7-research
Installation
SKILL.md
GitHub + Context7 Research
Answer third-party library questions by separating the supported public contract from the implementation evidence behind it. Context7 establishes what users are meant to call; GitHub explains how the matched release behaves and why.
Evidence workflow
- Freeze identity and version. Identify the package or product, the user's exact question, the canonical repository, and the target version. Prefer an explicit user version, then the consuming project's manifest or lockfile. If none exists, mark the investigation as current and unpinned.
- Establish the public contract with Context7. Use a supplied Context7 library ID directly. Otherwise resolve the library name with the concrete question, select the result by package identity, source reputation, coverage, and version match, then query only the documentation needed for the question. Record the selected library ID and version.
- Match GitHub to the same release. Prefer the tag or immutable commit corresponding to the target package version. If no trustworthy mapping exists, state that before using the default branch; never silently compare versioned docs with unrelated HEAD source.
- Collect the narrowest decisive repository evidence. Start with exact symbols, imports, error text, or configuration keys. Inspect public exports and types, then implementation, tests, and examples. Add releases, changelogs, commits, pull requests, or issues only when they explain a behavior or version change.
- Reconcile instead of blending. State whether the documentation and repository evidence agree. Treat documented public APIs as the supported usage contract. Treat internal helpers as implementation details, tests as behavior evidence for their exact ref, and issues or pull requests as historical context unless the referenced change is released.
- Answer at the user's requested level. Give the direct recommendation first, then enough versioned evidence to make the conclusion auditable. If code is requested, implement against the supported public API unless the user explicitly accepts an internal or temporary workaround.
Context7 tools may be namespaced by the host. Use the equivalents of resolve-library-id and query-docs; if the prompt already contains an exact /org/project or versioned Context7 ID, skip resolution. GitHub tool names also vary by enabled toolset, so select read-only code search, file-content, commit, release, issue, and pull-request capabilities by purpose rather than assuming a fixed prefix.