SkillScriptBench separates three concerns often blurred in agent-skill evaluation: repairing documentation, repairing executable scripts, and preserving behavior that is already correct. Its 350 tasks include 150 injected-fault repair tasks from 100 packages and a 200-task controlled track covering clean, documentation-fault, script-fault, and combined-fault states.
Across four LLMs, allowing full-package edits helped repair scripts but did not reliably improve documentation repair or preservation over Markdown-only editing. AST-Guided Skill Revision instead maps requirements to code through abstract syntax trees and calling relationships, limits script changes to relevant locations, and then aligns the documentation.
Averaged across models on faulty packages, the approach improved repair success by 21.9 percentage points over Raw Package revision and 27.7 points when integrated with CoEvoSkills. It also raised the share of tasks solved in all three runs by as much as 20.8 and 31.5 points, suggesting that structural edit constraints improve repeatability as well as success.