mission control for agent skills
Go agent-skillsagent-toolsai-agentsai-toolsai-workflowclaude-codeclicoding-agentscommand-line-tooldeveloper-toolsgoopencodeproductivity-toolsskill-discoveryskill-managementskillsterminal-appterminal-uituiworkflow-automation
perf(actions): avoid broken symlink scan allocation
Alvin Unrealbcbaf19e6ce4
diff --git a/internal/actions/actions.go b/internal/actions/actions.goindex c6f5266..b009d97 100644--- a/internal/actions/actions.go+++ b/internal/actions/actions.go@@ -246,23 +246,16 @@ func pruneLockPreview(sk *model.Skill) CommandPreview {}}-// brokenSymlinkPaths returns the on-disk paths of this skill's broken-// (dangling) symlinks.-func brokenSymlinkPaths(sk *model.Skill) []string {+func hasBrokenSymlink(sk *model.Skill) bool {if sk == nil {- return nil+ return false}- var paths []stringfor _, op := range sk.ObservedPaths {if op.Status == model.StatusBrokenSymlink {- paths = append(paths, op.Path)+ return true}}- return paths-}--func hasBrokenSymlink(sk *model.Skill) bool {- return len(brokenSymlinkPaths(sk)) > 0+ return false}// deleteBrokenSymlinkPreview builds the internal action that deletes the