bugfix
Investigate and fix a bug using the project's TDD workflow. Use when given a bug report or GitHub issue to fix.
用 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.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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 developing the Agent Lens VS Code extension. Use when creating or modifying extension code, webviews, tree views, or commands.
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 | bugfix |
| description | Investigate and fix a bug using the project's TDD workflow. Use when given a bug report or GitHub issue to fix. |
| argument-hint | <issue number or description> |
Follow this workflow to investigate and fix bugs in the Agent Lens VS Code extension.
gh issue view $ARGUMENTSMap the bug to the right layer:
| Symptom | Look in |
|---|---|
| Wrong data parsed from sessions | src/parsers/ |
| Graph shows incorrect nodes/edges | src/analyzers/graphBuilder.ts |
| Metrics are wrong | src/analyzers/metricsCollector.ts |
| Tree view display issue | src/views/treeProvider.ts |
| Webview rendering issue | webview/graph.ts, webview/metrics.ts, webview/session.ts |
| Dark mode / theming issue | Webview CSS (check for var(--vscode-*) tokens) |
| Session discovery issue | src/parsers/*Provider.ts, src/parsers/sessionRegistry.ts |
| Agent/skill detection issue | src/parsers/detectors.ts, src/parsers/agentParser.ts, src/parsers/skillParser.ts |
src/parsers/foo.ts → src/parsers/foo.test.tsnpx vitest run <test-file-path>npm test — all tests passnpm run build — no type errorsDo NOT commit, push, or create a PR yet.
Tell the user:
Use conventional commit format:
fix(<scope>): <description>
Closes #<issue-number>
Scope should match the affected area: parser, graph, webview, metrics, tree, session.
git push -u origin <branch>gh pr create targeting main