cli/internal
Copilot 2e93afc272 Install skills flat by Name, not namespaced InstallName
Most agent clients (Claude Code, Copilot, etc.) only discover immediate
subdirectories of their skills folder. When a skill repository used
namespaced paths like skills/author/my-skill/, the installer created
nested directories (e.g. .claude/skills/author/my-skill/) that clients
could not find.

This separates the skill's identity (InstallName, used for lockfile keys,
search, filtering, display) from the filesystem path (Name, used for the
install directory). Skills are now always installed flat:

  .claude/skills/my-skill/SKILL.md  (not .claude/skills/author/my-skill/)

Changes:
- installer: use skill.Name for directory paths instead of InstallName
- install.go: use skill.Name for overwrite checks and prompts
- collisions: detect conflicts by Name since flat install means two
  skills with the same Name but different Namespace values will collide
- update: clean up old namespaced directories when migrating to flat

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-23 01:26:31 +02:00
..
agents Record agentic invocations in User-Agent header 2026-03-24 19:58:37 +01:00
authflow test(internal/authflow): assert user-agent header is not modified/added 2026-03-27 11:48:17 +00:00
barista/observability Add sampled command telemetry 2026-04-16 21:42:46 +02:00
browser Update go-gh to v2 (#7299) 2023-04-16 15:34:23 +10:00
build Fix some typos raised by codespell 2024-01-17 15:34:49 +01:00
ci Include CI context in telemetry 2026-04-20 12:02:56 +02:00
codespaces internal/codespaces/portforwarder: define err in go func instead of use err defined in outer scope 2026-03-26 00:31:56 +08:00
config Add sampled command telemetry 2026-04-16 21:42:46 +02:00
docs Revert "[gh config] Escape pipe symbol in Long desc for website manual" 2025-05-20 08:54:30 -06:00
featuredetection docs(featuredetection): document GHES removal criteria for ApiActorsSupported 2026-03-24 21:15:39 -06:00
flock address review comments 2026-04-15 16:01:26 +02:00
gh Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
ghcmd Enable telemetry without env var 2026-04-21 18:40:02 +01:00
ghinstance Add skills specific telemetry 2026-04-17 19:58:59 +02:00
ghrepo Use go-gh/auth package for IsEnterprise, IsTenancy, and NormalizeHostname 2024-10-15 11:56:43 -07:00
keyring Remove host entries without valid tokens during migration 2023-12-06 14:06:28 +01:00
licenses fix(licenses): implement VCS-friendly embedding 2026-02-25 14:59:52 +00:00
prompter Ensure huh prompter cleans up 2026-03-26 14:26:57 +01:00
run Rework ref usage when finding and creating PRs 2025-04-15 13:38:10 -06:00
safepaths fix: resolve copyloopvar issues 2025-11-03 20:05:26 +00:00
skills Install skills flat by Name, not namespaced InstallName 2026-04-23 01:26:31 +02:00
tableprinter Refactor ColorScheme initializer 2025-04-04 11:57:37 -04:00
telemetry Fix SetSampleRate not updating sample_rate dimension 2026-04-22 13:04:57 +01:00
text Check http scheme as well 2024-08-16 10:11:53 -07:00
update Include CI context in telemetry 2026-04-20 12:02:56 +02:00
zip refactor(run download): extract zip extraction func into a separate package 2026-01-19 10:38:21 +00:00