Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add chiisen/skills --skill "log-sentinel"
Install specific skill from multi-skill repository
# Description
rapid diagnostic tool that scans container logs for errors and warnings.
# SKILL.md
name: log-sentinel
description: rapid diagnostic tool that scans container logs for errors and warnings.
Log Sentinel
Description
This skill quickly retrieves and filters logs from Docker containers or system services to identify errors, warnings, and exceptions. It filters out noise (INFO/DEBUG) to focus on problems.
Usage
Use this skill when the user reports a runtime error, a "500 error", or asks to "check the logs", or uses /scan-logs.
Workflow
- Identify Target: Determine which service/container to check (e.g.,
grafana,app_server). If unknown, list running containers. - Fetch Logs: Run
docker logs --tail 200 <container_id>(or similar). - Filter:
- Keep lines containing:
ERROR,WARN,Exception,Fatal,Fail. - Discard generic
INFO,DEBUGlines unless they provide critical context implies by the error.
- Keep lines containing:
- Report:
- Present the filtered log lines.
- If a stack trace or specific error file/line is found, point to the source code file using
glance_fileorview_fileif possible.
Commands
/scan-logs [service_name]
Scans the logs of the specified service.
Reporting
When interpreting the logs or reporting findings to the user, you MUST use Traditional Chinese.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.