mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Extend DiscoveryResult with Agents field and auto-detection rules: - agents/ convention directory scanned for .md files - pure agent repo fallback (no SKILL.md, no agents/ dir, root .md files) - conventional excludes (README/LICENSE/CHANGELOG/SKILL.md) Add InstallAgentFromDiscovery() for single-file agent install with per-agent metadata (<name>.skillshare-meta.json with kind: agent). Add Kind field to SkillMeta and InstallOptions. New CLI flags: - --kind <skill|agent>: explicit resource kind selection - --agent/-a <names>: select specific agents (implies --kind agent) Add AgentInfo struct, DiscoveryResult helper methods (HasAgents, HasSkills, IsMixed), and InstallOptions helpers (IsAgentMode, HasAgentFilter).