AGENT SKILL

self-healer

Detects and proposes fixes for script execution errors. Use when another skill fails with a stack trace or a clear error message.

License 许可
MIT
最近更新
2026-03-08
Stars
★ 0
Forks
0

01 前言 Front Matter

name
self-healer
description
Detects and proposes fixes for script execution errors. Use when another skill fails with a stack trace or a clear error message.

02 资源文件 1

03 SKILL.md 正文

Instructions

  1. When a command fails, read the stack trace or error message (stderr).
  2. Execute node skills/self-healer/scripts/repair-script.js "<path_to_failing_file>" "<error_message>" to analyze the failure.
  3. Propose a specific code fix (e.g., variable declaration, missing import, syntax error) based on the file content and the reported error.
  4. Ask the user for permission before applying any permanent code changes.

References

  • tutorials/06-autonomous-evolution/19-self-healing-skills.md: The official tutorial for this pattern.

04 同仓库更多 Skills