fix-from-logs
OfficialDiagnose bugs from logs and plan fixes with tests
System Documentation
What problem does it solve?
Diagnoses bugs from raw error logs, stack traces, or CI failure output — triages and clusters errors, localizes root cause (file → function → line), enters plan mode with a structured fix + test proposal for human approval, writes a typed pytest regression test using mocks first, then implements a targeted code fix and verifies the test turns green. Trigger when: user pastes logs and wants the underlying bug fixed with tests that prevent recurrence; user says "here are the logs, fix it"; CI output shows failures needing code changes and test coverage; stack traces are provided with a request to fix and test. Do NOT trigger for: general code review without logs, refactoring without a specific bug, performance work, test coverage requests with no associated failure.
Core Features & Use Cases
- Clusters related errors into actionable root-cause blocks.
- Localizes root cause to specific file, function, and line location.
- Produces a plan with a minimal, test-first fix and a regression test.
Quick Start
Provide a paste of failing logs to trigger the workflow and obtain a plan-ready fix with tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fix-from-logs Download link: https://github.com/Agent-Engineer-Master/skill-engineer/archive/main.zip#fix-from-logs Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.