Agent Skills
› NeverSight/learn-skills.dev
› mcp-context7
mcp-context7
GitHub通过Context7 MCP服务器查询Angular、NgRx、Firebase等库的权威文档和API签名,确保代码准确性。适用于需要确认版本适配的最佳实践或不确定记忆的场景,提供最小化示例并明确版本假设。
Trigger Scenarios
需要确认Angular 20控制流或信号互操作API的正确用法
查询NgRx Signals或Firebase模块化API的最新签名与最佳实践
验证Playwright测试API的使用方式
当对库的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


