cli/pkg/cmd
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
..
accessibility PR feedback 2025-04-30 15:05:07 -04:00
actions Remove trailing whitespace 2025-02-13 11:06:27 +05:00
agent-task fix(agent-task): resolve Copilot API URL dynamically (#12956) 2026-03-18 18:14:02 +00:00
alias Fixes #10590 2025-03-26 13:42:39 -04:00
api Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
attestation Apply review feedback 2026-04-17 12:28:52 +02:00
auth Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
browse feat(browse): add blame flag 2026-03-03 19:03:40 -07:00
cache fix(cache delete): add unit tests and expand help doc 2026-01-20 08:30:34 +01:00
codespace Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
completion Add sampled command telemetry 2026-04-16 21:42:46 +02:00
config Add sampled command telemetry 2026-04-16 21:42:46 +02:00
copilot Include CI context in telemetry 2026-04-20 12:02:56 +02:00
extension Disable auth check for gh extension install 2026-04-15 17:55:45 -06:00
factory Apply review feedback 2026-04-17 12:28:52 +02:00
gist Add usage examples to gh gist edit command 2026-02-17 12:38:15 -07:00
gpg-key Fix StatusJSONResponse usage (#10810) 2025-05-01 20:22:43 +01:00
issue Merge pull request #13025 from cli/kw/refactor/reviewer-assignee-actor-symmetry 2026-03-25 11:43:18 -06:00
label Introduce color_labels support, update commands 2025-04-02 18:24:20 -04:00
licenses Bundle licenses at release time (#12625) 2026-02-18 17:59:27 +01:00
org Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
pr fix(survey): use useReviewerSearch consistently in prompt path 2026-03-24 23:28:26 -06:00
preview Refactor MultiSelectWithSearch to use result struct 2026-01-26 13:29:22 -07:00
project Revert "refactor: deduplicate scope error handling between api/client.go and project queries" 2026-03-12 12:45:48 +01:00
release Fix infinite loop in 'gh release list --limit 0' 2026-04-04 18:13:25 +08:00
repo fix: address review feedback on squash merge commit message 2026-03-10 18:27:21 +05:30
root Add telemetry command 2026-04-21 17:13:27 +02:00
ruleset Remove trailing whitespace 2025-02-13 11:06:27 +05:00
run Respect --exit-status with --log and --log-failed 2026-02-13 16:04:06 +01:00
search Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
secret refactor: drop multierror in favor of std 2025-12-02 15:08:58 +01:00
send-telemetry Add sampled command telemetry 2026-04-16 21:42:46 +02:00
skills Install skills flat by Name, not namespaced InstallName 2026-04-23 01:26:31 +02:00
ssh-key Remove out of scope changes, update list commands 2025-03-31 11:58:30 -04:00
status Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
variable refactor: drop multierror in favor of std 2025-12-02 15:08:58 +01:00
version Add sampled command telemetry 2026-04-16 21:42:46 +02:00
workflow fix(workflow run): bail out on feature detection error 2026-02-17 11:48:25 +00:00