Agent Skills: skill-fix-logs

[Tooling & Meta] Fix the agent skill based on `logs.txt` file.

UncategorizedID: duc01226/easyplatform/skill-fix-logs

Install this agent skill to your local

pnpm dlx add-skill https://github.com/duc01226/EasyPlatform/tree/HEAD/.claude/skills/skill-fix-logs

Skill Files

Browse the full folder contents for skill-fix-logs.

Download Skill

Loading file tree…

.claude/skills/skill-fix-logs/SKILL.md

Skill Metadata

Name
skill-fix-logs
Description
'[Skill Management] Fix the agent skill based on `logs.txt` file. Triggers on: fix skill logs, skill error, skill broken, skill not working.'

[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting.

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
  4. Verify SYNC compliance — Ensure fix doesn't break SYNC tag balance or remove inline protocols
  5. Enhance — Call /prompt-enhance on the fixed SKILL.md if structural changes were made
  6. Test — Run the skill again to verify fix

Key Rules:

  • Focus on the specific errors reported in logs
  • When fixing SKILL.md structure: maintain SYNC tag balance, keep inline protocols
  • MUST ATTENTION call /prompt-enhance if structural changes were made to SKILL.md
  • STOP after 3 failed fix attempts — report outcomes, ask user before #4

Mission

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

<user-prompt>$ARGUMENTS</user-prompt>

Rules

  • If given nothing → use AskUserQuestion for clarifications
  • If given a URL → use Explore subagent to explore all internal links
  • If given a GitHub URL → use repomix + parallel Explore subagents
  • When modifying SKILL.md: verify <!-- SYNC:tag --> blocks remain balanced
  • Reference canonical protocols: .claude/skills/shared/sync-inline-versions.md

Closing Reminders

  • IMPORTANT MUST ATTENTION break work into small todo tasks using TaskCreate BEFORE starting
  • IMPORTANT MUST ATTENTION preserve SYNC tag balance when editing SKILL.md
  • IMPORTANT MUST ATTENTION call /prompt-enhance on SKILL.md after structural fixes
  • IMPORTANT MUST ATTENTION STOP after 3 failed fix attempts — report outcomes, ask user before #4
  • IMPORTANT MUST ATTENTION cite file:line evidence for every claim (confidence >80% to act)