feat(cli): add docs skill and align CLI output with MCP format#2176
Merged
fahreddinozcan merged 5 commits intomasterfrom Mar 10, 2026
Merged
feat(cli): add docs skill and align CLI output with MCP format#2176fahreddinozcan merged 5 commits intomasterfrom
fahreddinozcan merged 5 commits intomasterfrom
Conversation
- Add new `docs` skill as a single-file skill for documentation retrieval - Align skill prompts with MCP tool descriptions (selection process, query guidance, 3-call limit) - Enrich CLI docs page with result fields, query tips, and version-specific IDs - Move CLI page to Overview section in docs nav - Make `query` required for `ctx7 library` across all skills and docs - Update trust score display label in skills.mdx
Use labeled fields and categorical Source Reputation labels (High/Medium/Low/Unknown) instead of numeric trust scores to match the MCP transport format.
Source-control location for skills — users install them into .agents/, .claude/, etc. via the CLI. Also updates install instructions to use `npm install -g ctx7@latest` or `npx ctx7@latest`.
Replace keyword-style queries ("useEffect cleanup") with full
question-style queries ("How to clean up useEffect with async
operations") to better demonstrate how the query parameter works.
enesgules
reviewed
Mar 10, 2026
enesgules
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docsskill: Single-file skill (.agents/skills/docs/SKILL.md) for documentation retrieval via CLI, aligned with MCP tool prompts — enables agents to use Context7 without MCPTitle,Context7-compatible library ID,Description,Code Snippets,Source Reputation,Benchmark Score,Versions) with categorical reputation labels (High/Medium/Low/Unknown) instead of numeric trust scoresctx7-cliskill:ctx7 librarycommand now requires aqueryparameter for relevance ranking; docs reference updated with selection process and security guidance