Agent Skills
› NeverSight/learn-skills.dev
› mcp-context7
mcp-context7
GitHub通过 Context7 MCP 服务查询 Angular、NgRx、Firebase 等库的权威文档和 API 签名,确保代码准确性与最佳实践。
Trigger Scenarios
需要确认特定库的 API 用法或签名
验证新版本框架的最佳实践
Install
npx skills add NeverSight/learn-skills.dev --skill mcp-context7 -g -y
SKILL.md
Frontmatter
{
"name": "mcp-context7",
"description": "Use the Context7 MCP server (@upstash\/context7-mcp) to fetch authoritative, version-appropriate library documentation snippets (Angular, NgRx Signals, Firebase, RxJS, Playwright); use when you must confirm API usage, signatures, or best practices without relying on memory."
}
MCP Skill: Context7 (Docs Lookup)
Scope
Use the MCP server configured as context7 in .vscode/mcp.json to retrieve documentation context for libraries used in this repo.
Preconditions
- Ensure
.vscode/mcp.jsoncontains thecontext7server. - Ensure the
CONTEXT7_API_KEYinput is available (the VS Code MCP input prompt will request it).
Operating Rules
- Use Context7 for API correctness when there is a meaningful chance memory is wrong (new Angular versions, new NgRx Signals APIs, Firebase SDK changes).
- Prefer primary documentation references; do not quote large blocks.
Typical Uses In This Repo
- Angular 20 control flow and signals interop APIs.
- NgRx Signals (
signalStore,withState,withMethods,rxMethod,tapResponse). - AngularFire / Firebase modular APIs.
- Playwright test APIs.
Prompt Templates
- "Look up the correct API/signature for
in (target versions: Angular ~20, @ngrx/signals ~20). Provide minimal usage example." - "Confirm best practice for converting Observable to Signal in Angular 20, including cleanup semantics."
Output Requirements
- Provide the minimal snippet needed to implement correctly.
- Call out version assumptions explicitly (match
package.jsonversions).
Version History
- e0220ca Current 2026-07-05 21:26


