mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Installing a specific skill from a mixed repo dragged in every agent. The -a/--agent handler implicitly set Kind=agent, but -s/--skill never set Kind=skill, so installDiscoveredAgents could not tell that the user had narrowed the install — and it looped over every discovered agent without applying the -a name filter. Fix the install path so agents track the user's intent: - -s/--skill (without -a) installs only the named skills, no agents. - -s/--skill with -a installs only the named agents, via selectAgents, matching the pure-agent path. - --all/--yes still installs everything. - An unknown -a name fails the whole command before any skill is installed (validated up front against the discovered agents, including repos with no agents at all), so automation never sees a half-success. Add integration tests covering each case. Fixes #183