Agent skill

skill-fix-logs

[Skill Management] Fix the agent skill based on `logs.txt` file.

Stars 6
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/duc01226/EasyPlatform/tree/main/.claude/skills/skill-fix-logs

SKILL.md

[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.

Quick Summary

Goal: Fix a skill based on error analysis from its logs.txt file.

Workflow:

  1. Read — Analyze the skill's logs.txt for errors and failures
  2. Diagnose — Identify root cause of skill malfunction
  3. Fix — Apply corrections to SKILL.md, scripts, or references

Key Rules:

  • Delegates to skill-creator for fix patterns
  • Focus on the specific errors reported in logs
  • Test the fix by running the skill again

Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).

Think harder. Use skill-creator and claude-code skills. Use docs-seeker skills to search for documentation if needed.

Your mission

Fix the agent skill based on the current logs.txt file (in the project root directory).

Requirements

$ARGUMENTS

Rules of Skill Fixing:

Base on the requirements:

  • If you're given nothing, use AskUserQuestion tool for clarifications and researcher subagent to research about the topic.
  • If you're given an URL, it's documentation page, use Explorer subagent to explore every internal link and report back to main agent, don't skip any link.
  • If you receive a lot of URLs, use multiple Explorer subagents to explore them in parallel, then report back to main agent.
  • If you receive a lot of files, use multiple Explorer subagents to explore them in parallel, then report back to main agent.
  • If you're given a Github URL, use repomix command to summarize (install it if needed) and spawn multiple Explorer subagents to explore it in parallel, then report back to main agent.

Closing Reminders

  • MUST break work into small todo tasks using TaskCreate BEFORE starting
  • MUST search codebase for 3+ similar patterns before creating new code
  • MUST cite file:line evidence for every claim (confidence >80% to act)
  • MUST add a final review todo task to verify work quality
  • MUST STOP after 3 failed fix attempts — report outcomes, ask user before #4

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results