vscode-extensions
Guide for developing the Agent Lens VS Code extension. Use when creating or modifying extension code, webviews, tree views, or commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for developing the Agent Lens VS Code extension. Use when creating or modifying extension code, webviews, tree views, or commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Investigate and fix a bug using the project's TDD workflow. Use when given a bug report or GitHub issue to fix.
Background knowledge about the Agent Lens VS Code extension architecture. Preloaded by agents for project context.
Guide for writing tests in Agent Lens. Use when creating unit tests, integration tests, or setting up test infrastructure.
Guide for writing tests. Use this when creating unit tests, integration tests, or setting up test infrastructure.
Guide for developing VS Code extensions. Use this when creating or modifying extension code, webviews, tree views, or commands.
| name | vscode-extensions |
| description | Guide for developing the Agent Lens VS Code extension. Use when creating or modifying extension code, webviews, tree views, or commands. |
src/extension.ts — registers commands, tree view, file watchers, session discovery.
src/parsers/) — Pure functions that discover and parse agent/skill/session datasrc/analyzers/) — Build graphs and compute metrics from parsed datasrc/views/) — Panel controllers and tree provider that render UIwebview/) — Lit custom elements with D3 visualizationsEach webview panel has a controller in src/views/*Panel.ts:
postMessage / onDidReceiveMessage for data exchangesrc/views/treeProvider.ts — AgentLensTreeProvider implements TreeDataProvider:
vscode.TreeItem with contextual icons and descriptionsLit custom elements in webview/:
graph.ts — D3 force/DAG graph with zoom, pan, tooltips, legendmetrics.ts — Dashboard with token charts, agent/tool countssession.ts — Timeline of session requestsvar(--vscode-*) CSS tokens for theme integrationwebview.asWebviewUri() for local resourcesagentLens.showGraph, agentLens.refresh, agentLens.openMetrics, agentLens.openSessionagentLens.treeView in agent-lens view containeragentLens.sessionDir, agentLens.claudeDir, agentLens.codexDir@vscode/test-electron available for integration tests