Skip to content

Commit 9bc5c9d

Browse files
yxsheeclaude
andauthored
docs: point the upgrade guide's Copilot checks at .github/skills (#5010)
* docs: point the upgrade guide's Copilot checks at .github/skills Copilot has installed skills under .github/skills/ by default since #3976 (feat(copilot): default integration to skills). .github/prompts/ is only created by the opt-in commands layout (--integration-options="--commands"), next to .github/agents/. The upgrade guide still told Copilot users to verify their install with `ls -la .github/prompts/`, which fails with "No such file or directory" on a default `specify init --integration copilot` project, and it listed .github/prompts/ as Copilot's command location in three other places. Point those references at .github/skills/ and name the commands-layout directories in the verification step. Assisted-by: Claude Code (model: Claude Opus 5.5, autonomous) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: name the Copilot commands-layout check in the upgrade guide Projects created before Copilot defaulted to skills keep the commands layout when upgraded (see test_upgrade_preserves_historical_copilot_ commands_without_options), so `ls .github/skills/` reports a missing directory for them. Give the commands layout its own check alongside the skills one. Assisted-by: Claude Code (model: Claude Opus 5.5, autonomous) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 770c563 commit 9bc5c9d

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

‎docs/upgrade.md‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ When Spec Kit releases new features (like new slash commands, updated templates,
9595

9696
For existing Spec Kit projects, use the manifest-aware upgrade path first:
9797

98-
- ✅ **Integration command/skill files** (`.claude/skills/`, `.github/prompts/`, `.agents/skills/`, etc.)
98+
- ✅ **Integration command/skill files** (`.claude/skills/`, `.github/skills/`, `.agents/skills/`, etc.)
9999
- ✅ **Managed shared scripts and templates** (`.specify/scripts/`, `.specify/templates/`) when they are unchanged from the previous managed copy
100100
- ✅ **Installed extensions** when you run `specify extension update`
101101

@@ -420,7 +420,7 @@ This warning appears when you run `specify init --here` (or `specify init .`) in
420420

421421
Only Spec Kit infrastructure files:
422422

423-
- Agent command/skill files (`.claude/skills/`, `.github/prompts/`, etc.)
423+
- Agent command/skill files (`.claude/skills/`, `.github/skills/`, etc.)
424424
- Scripts in `.specify/scripts/`
425425
- Templates in `.specify/templates/`
426426
- Missing memory files such as `.specify/memory/constitution.md` may be created from templates; an existing constitution is preserved
@@ -498,15 +498,19 @@ The `specify` CLI tool is used for:
498498
- **Fallback recovery:** `specify init --here --force` when integration metadata is missing or the manifest-aware path cannot be used
499499
- **Diagnostics:** `specify check` to verify tool installation
500500

501-
Once you've run `specify init`, the slash commands (like `/speckit.specify`, `/speckit.plan`, etc.) are **permanently installed** in your project's agent folder (`.claude/`, `.github/prompts/`, `.pi/prompts/`, `.omp/commands/`, etc.). Your AI coding agent reads these command files directly—no need to run `specify` again.
501+
Once you've run `specify init`, the slash commands (like `/speckit.specify`, `/speckit.plan`, etc.) are **permanently installed** in your project's agent folder (`.claude/`, `.github/skills/`, `.pi/prompts/`, `.omp/commands/`, etc.). Your AI coding agent reads these command files directly—no need to run `specify` again.
502502

503503
**If your agent isn't recognizing slash commands:**
504504

505505
1. **Verify command files exist:**
506506

507507
```bash
508-
# For GitHub Copilot
509-
ls -la .github/prompts/
508+
# For GitHub Copilot (default skills layout)
509+
ls -la .github/skills/
510+
511+
# For GitHub Copilot with the commands layout (--integration-options="--commands",
512+
# or a project created before skills became the default and upgraded since)
513+
ls -la .github/agents/ .github/prompts/
510514

511515
# For Claude
512516
ls -la .claude/skills/

0 commit comments

Comments
 (0)