Recovered from crashed session (Node OOM). Repo contains full P0-P6 scaffold: plugin.json/marketplace.json, AGENTS.md, ADRs 0001-0006, lh CLI (init/index/graph/lane/run/memory/host/report/doctor), 10 .github/agents, 12 CLI skills, instructions, context7 mcp.json, and unit/e2e test suite. Fixed: run.mjs read --in-tokens/--out-tokens but tests and CLI docs use --input-tokens/--output-tokens, so telemetry totals were always 0. Now accepts both forms. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
970 B
970 B
applyTo, description
| applyTo | description |
|---|---|
| ** | Mandatory Context7 usage for external library, framework, SDK, API, CLI, and cloud-service work. |
Context7 Rules
- Use Context7 before using any external library, framework, SDK, API, CLI, or cloud service.
- Call
resolve-library-idfirst. - Call
query-docswith the resolved id second. - Base implementation on the returned docs.
- Cite the library id or doc source in notes when it affects decisions.
- Read the API key only from the
CONTEXT7_API_KEYenvironment variable. - Never write the API key to any file.
- Never put the API key in
.github/mcp.json. - Never paste the API key into prompts, logs, memory, or telemetry.
- If
CONTEXT7_API_KEYis missing, stop library work. - Tell the user exactly:
export CONTEXT7_API_KEY='<your-context7-api-key>'
- Resume library work only after the environment variable exists.
- Continue non-library work when it does not depend on external docs.