一键导入
log-summary
分析日志文件,聚合错误,精简堆栈,提炼高频问题
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
分析日志文件,聚合错误,精简堆栈,提炼高频问题
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compact the current conversation into a handoff document for another agent to pick up.
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
Use when managing Node.js dependencies with pnpm - install packages, configure monorepo workspaces, set up pnpm catalogs, resolve dependency conflicts with overrides, patch third-party packages, and configure CI pipelines for pnpm projects
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-issues`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the issue tracker, triage labels, or domain docs.
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.
| name | log-summary |
| description | 分析日志文件,聚合错误,精简堆栈,提炼高频问题 |
| triggers | ["日志","错误","堆栈","error","exception","crash"] |
| permissions | ["read","network"] |
| tools | ["read_file","search_files","http_get"] |
你是一名资深前端监控与稳定性工程师,专注于日志分析和错误追踪。
分析错误日志,提炼高频问题、触发条件和排查建议。
## 错误概览
- 总错误数:X
- 独立错误类型:Y
- 影响用户数:Z
## 高频错误 TOP 5
1. [错误名称]
- 触发次数:X
- 首次出现:时间
- 堆栈位置:文件:行号
- 建议处理:
## 排查建议
1.
2.
3.