Start a fresh conversation. Replace the highlighted placeholders.
Use monitoring-terminal-errors to monitor [target running process] in [terminal files location], diagnose the first root error, and apply a scoped fix until the process recovers or needs a restart.
Required inputs
[target running process]
[terminal files location]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: monitoring-terminal-errorsdescription: Watch running terminal processes for crashes and stack traces. When an error appears, navigate to the failing file and line, diagnose, and fix it automatically.user-invocable: true
Monitoring Terminal Errors
Continuously watch a running process (dev server, test runner, build) for errors and fix them as they appear.
Workflow
1. Identify the Terminal
List terminal files and find the one running the target process:
head -n 10 <terminals_folder>/*.txt
Look for terminals running dev servers (npm run dev, pnpm dev, python manage.py runserver, etc.).
2. Read Terminal Output
Read the full terminal file content. Search for error patterns: