Skip to content

feat(cli): add docs skill and align CLI output with MCP format#2176

Merged
fahreddinozcan merged 5 commits intomasterfrom
ctx7-1348-address-cli-skill-reviews
Mar 10, 2026
Merged

feat(cli): add docs skill and align CLI output with MCP format#2176
fahreddinozcan merged 5 commits intomasterfrom
ctx7-1348-address-cli-skill-reviews

Conversation

@fahreddinozcan
Copy link
Contributor

Summary

  • New docs skill: Single-file skill (.agents/skills/docs/SKILL.md) for documentation retrieval via CLI, aligned with MCP tool prompts — enables agents to use Context7 without MCP
  • CLI output aligned with MCP: Library search results now use the same labeled fields as MCP (Title, Context7-compatible library ID, Description, Code Snippets, Source Reputation, Benchmark Score, Versions) with categorical reputation labels (High/Medium/Low/Unknown) instead of numeric trust scores
  • Updated ctx7-cli skill: ctx7 library command now requires a query parameter for relevance ranking; docs reference updated with selection process and security guidance
  • Enriched CLI docs page: Added result field descriptions, query tips, and version-specific ID guidance; moved CLI page to Overview section in navigation
  • Skills docs: Updated Source Reputation label format to match MCP

- 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.
@linear
Copy link

linear bot commented Mar 10, 2026

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.
@fahreddinozcan fahreddinozcan merged commit 31b4fb8 into master Mar 10, 2026
4 checks passed
@fahreddinozcan fahreddinozcan deleted the ctx7-1348-address-cli-skill-reviews branch March 10, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants