pub fn write_dir_patch( entry: &Entry, filename: &str, patch_text: &str, repo_root: &Path, ) -> Result<(), SkillfileError>