Log Analysis Workflow
按七步工作流对测试/生产日志做结构化第一轮分析,输出可执行排查建议(关键词、异常类型、调用链、模块定位、历史规律、风险等级)。 证据不足时输出缺失信息清单,禁止无依据猜测根因。 当用户要求分析日志、排查报错、解读 traceId、日志排查时使用。 触发词:分析日志、日志排查、报错分析、traceId、ELK 日志、ERROR 排查。
Install
npx skills add ruhedanghaoyigexuesheng/claude-skills-portfolio --skill log-analysis-workflowgit clone --depth 1 https://github.com/ruhedanghaoyigexuesheng/claude-skills-portfolio.git /tmp/claude-skills-portfolio
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-portfolio/log-analysis-skill ~/.claude/skills/log-analysis-workflowPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 日志排查工作流
> **CRITICAL — 执行前 MUST 先用 Read 工具读取 `workflows/log_analysis.md`,并加载其中标注「必须引用」的 references 文件。**
## 适用场景
- 用户提供原始日志、报错截图文字、ELK 导出片段
- Bug 描述含「超时」「异常」「failed」「traceId」等
- 需要输出结构化排查方向,而非直接断言根因
## 执行规则
当用户要求分析日志、排查报错、解读 traceId 时:
1. 读取本 Skill
2. **严格按** [`workflows/log_analysis.md`](workflows/log_analysis.md) 执行,不得跳步
3. 标注「必须引用」的 references 文件必须加载
## 目录结构
```
log-analysis-skill/
├── SKILL.md
├── workflows/
│ └── log_analysis.md
├── references/
│ ├── log_keyword_types.md
│ ├── exception_type_map.md
│ ├── log_pattern_history.md
│ ├── service_call_chain.md
│ └── module_owner_map.md
└── assets/
├── sample_logs/ # 仿真日志样例
├── templates/ # 输出模板
└── examples/ # 完整报告样例
```
## 禁止行为
- 无 traceId / 无上下游日志时断言「就是 XX 服务 bug」
- 跳过关键词与异常类型直接给根因
- timeout 与 duplicate key 混称为「系统异常」
- raw_log 有效信号不足时仍输出根因结论Details
- Skill name
log-analysis-workflow- Path
log-analysis-skill/SKILL.md- Repo updated
- 13 August 2026
FAQ
What does the Log Analysis Workflow skill do?
按七步工作流对测试/生产日志做结构化第一轮分析,输出可执行排查建议(关键词、异常类型、调用链、模块定位、历史规律、风险等级)。 证据不足时输出缺失信息清单,禁止无依据猜测根因。 当用户要求分析日志、排查报错、解读 traceId、日志排查时使用。 触发词:分析日志、日志排查、报错分析、traceId、ELK 日志、ERROR 排查。
How do I install the Log Analysis Workflow skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add ruhedanghaoyigexuesheng/claude-skills-portfolio --skill log-analysis-workflow. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Log Analysis Workflow popular?
It lives in ruhedanghaoyigexuesheng/claude-skills-portfolio, which has 5 GitHub stars and 0 forks.
Related skills
AI Test Workflow Toolbox
5ruhedanghaoyigexuesheng/claude-skills-portfolio
AI 测试工作流工具箱:整合 Bug 分析、日志排查、SQL 分析、回归测试、Prompt 测试五类助手,含统一入口、风险等级与人工复核规则,支持多助手联动实战。当用户提及 AI 测试工具箱、测试工作流工具箱、Bug+日志+SQL 联动分析、综合测试助手时使用。
Bug Analysis Workflow
5ruhedanghaoyigexuesheng/claude-skills-portfolio
按八步工作流分析 Bug,输出结构化排查报告(现象、模块、日志、SQL、历史关联、回归范围、风险等级)。 输入不完整时先追问。当用户需要分析 Bug、缺陷排查、拆 Bug、推荐排查方向或输出回归范围时使用。 触发词:分析 Bug、Bug 分析、缺陷分析、排查方向、回归范围、拆 Bug。
Prompt Test Workflow
5ruhedanghaoyigexuesheng/claude-skills-portfolio
Prompt 测试工作流:对用例生成、Bug 分析等 Prompt 执行稳定性、边界、错误输入、多轮一致性与幻觉风险验证,输出结构化测试报告。当用户提及 Prompt 测试、Prompt 质量验证、测试工作流设计、Prompt 稳定性、幻觉测试时使用。
Meeting Prep
9tarunccet/pm-skills
Prepare for any PM meeting — 1:1s, stakeholder alignments, leadership reviews, and cross-functional planning sessions with structured talking points, anticipated questions, and success criteria. Use when preparing for a meeting, building an agenda, or anticipating stakeholder questions.
Edge Cases
9tarunccet/pm-skills
Systematically identify error states, boundary conditions, and recovery paths for a feature using the BOUNDARY method — reduces post-launch defects by surfacing what specs miss. Use after writing a PRD, before sprint planning, during QA planning, or when reviewing acceptance criteria for completeness.
Pywayne Gui
9wangyendt/wayne-skills
Windows GUI automation toolkit for global hotkeys and window management. Use when users need to register global hotkeys, find/control windows, automate GUI operations, or perform Windows desktop automation. Requires Windows OS with pywin32, pyuserinput, and pyautogui dependencies.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.