pub fn write_patch( entry: &Entry, patch_text: &str, repo_root: &Path, ) -> Result<(), SkillfileError>
Write a single-file patch for the given entry.