审查错误日志 · Error Log Reviewer

    by 才下啦

    1

    把晦涩报错翻译成可执行的处理步骤:结论先行给根因,附证据、风险与修复命令,新人也能照做。 Turn cryptic errors into actionable fixes: root cause first, then evidence, risks, and repair commands that newcomers can follow.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    审查错误日志 · Error Log Reviewer

    Example session with this skill installed

    帮我们分析这个报错,给不会后端的新同事看。日志:Error: ECONNREFUSED 127.0.0.1:5432 at TCPConnectWrap.afterConnect。环境:本地开发,Node.js 服务,之前一直正常,今天重启后报错。请给结论、证据、修复步骤和验证命令。

    • Read your context and instructions
    • Compiled the error log reviewer

    结论:你的程序连不上本机数据库——PostgreSQL 大概率没启动(或端口被占)。这不是代码写错了,重启后最常见的就是数据库服务没跟着起来。

    证据白话解释
    ECONNREFUSED目标机器「主动拒绝」了连接,说明没有程序在 5432 端口上接客
    127.0.0.1:5432连接目标是本机的 PostgreSQL 默认端口
    TCPConnectWrap错误发生在网络层,程序还没发数据就被拒

    风险

    • 本地:不处理的话,所有依赖数据库的功能都用不了。
    • 如果这发生在生产环境,服务可能处于宕机状态,需要立即处理。

    修复步骤(按顺序试)

    1. 检查数据库是否在跑:
      • Windows:打开「服务」,找到 postgresql 看状态是否为「正在运行」,右键启动。
      • macOS/Linux:运行 pg_ctl status。
    2. 用 Docker 装的?运行 docker ps 看 postgres 容器是否在列表里,没有就 docker start <容器名>。
    3. 检查端口占用:Windows 运行 netstat -ano | findstr 5432,确认没有其他程序抢了这个端口。
    4. 检查 .env 里的数据库地址与端口是否被改过(应保持 127.0.0.1:5432)。

    验证命令

    • 服务起来后,重新启动你的 Node 服务,再看是否还报同样错误。
    • 确认数据库端口在监听:Windows netstat -ano | findstr 5432,macOS/Linux lsof -i :5432。

    下一步

    1. 先做第 1 步,90% 的情况是服务没启动。
    2. 如果服务在跑仍报错,把 netstat 输出截图发到群里,并附上 .env 里的数据库配置(隐去密码)。
    3. 修好后把这篇分析存入团队的《常见报错速查》文档。

    Connects securely to your tools. The creator never sees your data.

    About this skill

    它解决什么问题

    新人看到 `ECONNREFUSED`、`NullPointerException` 只会截图问人,资深同事被同一类问题反复打断。这个技能把原始报错翻译成人话:先给根因结论,再给证据和修复步骤,附带验证命令,让能看懂报错的人从少数变成全体。

    这个技能做什么

    围绕错误日志提供结构化审查能力:先澄清运行环境与触发场景,再拆解日志中的错误码、堆栈与上下文,输出结论先行的审查报告(根因/证据/风险/修复步骤/验证方法),并标注待确认信息。默认中文输出,修复命令兼顾 Windows 与 macOS/Linux。

    为什么比裸提示词强

    • 结论先行:第一行就是「问题是什么」,不用读完长文才明白
    • 把技术黑话翻译成白话,非技术同事也能看懂
    • 每步修复都配验证命令,修没修好一测便知
    • 缺失信息标「待确认」,不乱猜环境细节

    典型用例

    • 给初级开发讲解堆栈报错的根因与修法
    • 把线上故障日志整理成事故复盘材料
    • 统一团队的错误报告格式,减少来回沟通
    • 把终端报错变成给客户看的白话说明

    局限

    审查基于你提供的日志与上下文,日志不全时结论可能不完整;生产环境的操作请由值班同事复核后执行。

    Requires specific context (target, goal) to be effective. Will stop to ask questions if inputs are missing. Optimized for ChatGPT interface.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill identifies the root cause of raw error logs and translates them into a structured "conclusion-first" report, turning cryptic stack traces into actionable steps for non-experts.

    It is compatible with ChatGPT (specifically models capable of processing the cb20a8e48c configuration) and can be integrated into any workflow that supports structured text input and AI agent interaction.

    Upon purchase, you receive full access to the skill configuration, including its specialized pedagogical structure for error reporting and guided troubleshooting logic.

    While it handles most standard logs, you must provide the specific context and target audience; if the input is too vague, the skill is programmed to ask clarifying questions rather than guessing.

    No complex installation is required; simply import the skill into your ChatGPT environment or compatible agent platform to start generating structured error reports immediately.

    Yes, buyers receive access to future version updates that refine the pedagogical reporting structure and improve its ability to identify emerging system fault patterns.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.