Repository navigation
Commit 83307db
authored
chore(void): remove dead linkSkillsForAgents (#241)
## What
This removes the exported linkSkillsForAgents function from
packages/void/src/cli/skills.ts and drops the detectAgents import that
only that function used.
## Why
The function is dead code. linkSkillsForAgents is never called anywhere
in the monorepo. It was superseded by linkSkillsForSpecificAgents, which
is what void init actually calls, and its own doc comment falsely
claimed it was used by void init. With the function gone, the
detectAgents import became unused, so it is removed as well.
## Safety
There is no behavior change. The function had no callers. The shared
helpers parseSkills and linkSkills, the sibling
linkSkillsForSpecificAgents, and the getPackageDir, AgentConfig, and log
imports are all untouched because they are still used.
## Verification
There are zero references to linkSkillsForAgents across packages
including tests. The void package typechecks cleanly with tsgo and
passes oxlint. The change is one insertion and 26 deletions.1 parent a0b17ac commit 83307db
1 file changed
Lines changed: 1 addition & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 85 | | |
111 | 86 | | |
112 | 87 | | |
| |||
0 commit comments