You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fish, or set conflict 1 only gates that one statement — it does not short-circuit the rest of the block. So if ln -s fails (permission error, read-only fs, race condition), conflict is correctly set to 1, but the very next line still unconditionally prints "Unified $name/skills -> .agents/skills", misleading the user about which tool actually got linked. Contrast with _agentsify_files at line 115-117, where the analogous pattern uses or return 1 (which does short-circuit) before its success echo — that's the correct pattern to mirror here, e.g.:
functions/agentsify.fish:183 — mkdir -p -- "$agents_skills" runs before the "aliased tool dir" safety check (lines 191-198), so .agents/skills gets created on disk even on a run that ends up skipping an aliased tool. Not destructive, but slightly inconsistent with the function's otherwise fail-fast ordering.
Style/convention: this PR grows functions/agentsify.fish to 7 functions in one file (_agentsify_kind, _agentsify_merge, _agentsify_warn_gitignore, _agentsify_files, _agentsify_skills, plus existing ones). CLAUDE.md's "Modular Functions" guideline calls for one function per file — worth a follow-up split, not a blocker for this change.
Duplicated merge logic: the "compare, then rm duplicate or report conflict" pattern appears in both _agentsify_files (127-133) and _agentsify_merge (37-38). Minor duplication; could be factored into a shared helper later.
Unrelated deletion:.gemini/add_function.toml (the custom Gemini /add_function scaffolding command) is removed with no replacement elsewhere in the repo. Worth confirming this removal was intentional rather than incidental to the skills-unification change.
A candidate issue about glob metacharacters in "$src"/* / "$src"/.* (line 25) was checked and refuted — $src is double-quoted, so its contents aren't re-interpreted as glob syntax; only the unquoted /* suffix expands.
Verdict
One real (if low-severity) correctness bug at functions/agentsify.fish:247-249 — misleading success output on link failure. Recommend fixing before merge; everything else is non-blocking cleanup.
· branch push-tuvylrlmnqwy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changed files
Added
.claude/skills(+1/-0)Modified
functions/agentsify.fish(+227/-19)Removed
.gemini/add_function.toml(+0/-6)Commits