Skip to content

Commit c574e79

Browse files
docs: clarify GitHub Copilot CLI limitation for custom prompts (Fission-AI#676)
* docs: clarify GitHub Copilot CLI does not support custom prompt files GitHub Copilot's .github/prompts/*.prompt.md files are only recognized as custom slash commands in IDE extensions (VS Code, JetBrains, Visual Studio). The Copilot CLI does not support them (github/copilot-cli#618). This updates the docs to clarify the limitation and point users to the .github/agents/ workaround. Closes Fission-AI#671 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: use distinct footnote markers for Codex and Copilot Addresses review feedback: the shared `*` marker was ambiguous across Markdown renderers. Now uses `*` for Codex and `**` for Copilot. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 62d4391 commit c574e79

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

docs/commands.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,11 +568,13 @@ Different AI tools use slightly different command syntax. Use the format that ma
568568
| Claude Code | `/opsx:new`, `/opsx:apply` |
569569
| Cursor | `/opsx-new`, `/opsx-apply` |
570570
| Windsurf | `/opsx-new`, `/opsx-apply` |
571-
| Copilot | `/opsx-new`, `/opsx-apply` |
571+
| Copilot (IDE) | `/opsx-new`, `/opsx-apply` |
572572
| Trae | `/openspec-new-change`, `/openspec-apply-change` |
573573

574574
The functionality is identical regardless of syntax.
575575

576+
> **Note:** GitHub Copilot commands (`.github/prompts/*.prompt.md`) are only available in IDE extensions (VS Code, JetBrains, Visual Studio). GitHub Copilot CLI does not currently support custom prompt files — see [Supported Tools](supported-tools.md) for details and workarounds.
577+
576578
---
577579

578580
## Legacy Commands

docs/migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Only OpenSpec-managed files that are being replaced:
4646
- Windsurf: `.windsurf/workflows/openspec-*.md`
4747
- Cline: `.clinerules/workflows/openspec-*.md`
4848
- Roo: `.roo/commands/openspec-*.md`
49-
- GitHub Copilot: `.github/prompts/openspec-*.prompt.md`
49+
- GitHub Copilot: `.github/prompts/openspec-*.prompt.md` (IDE extensions only; not supported in Copilot CLI)
5050
- And others (Augment, Continue, Amazon Q, etc.)
5151

5252
The migration detects whichever tools you have configured and cleans up their legacy files.

docs/supported-tools.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ For each tool you select, OpenSpec installs:
1919
| Claude Code | `.claude/skills/` | `.claude/commands/opsx/` |
2020
| Cline | `.cline/skills/` | `.clinerules/workflows/` |
2121
| CodeBuddy | `.codebuddy/skills/` | `.codebuddy/commands/opsx/` |
22-
| Codex | `.codex/skills/` | `~/.codex/prompts/`* |
22+
| Codex | `.codex/skills/` | `~/.codex/prompts/`\* |
2323
| Continue | `.continue/skills/` | `.continue/prompts/` |
2424
| CoStrict | `.cospec/skills/` | `.cospec/openspec/commands/` |
2525
| Crush | `.crush/skills/` | `.crush/commands/opsx/` |
2626
| Cursor | `.cursor/skills/` | `.cursor/commands/` |
2727
| Factory Droid | `.factory/skills/` | `.factory/commands/` |
2828
| Gemini CLI | `.gemini/skills/` | `.gemini/commands/opsx/` |
29-
| GitHub Copilot | `.github/skills/` | `.github/prompts/` |
29+
| GitHub Copilot | `.github/skills/` | `.github/prompts/`\*\* |
3030
| iFlow | `.iflow/skills/` | `.iflow/commands/` |
3131
| Kilo Code | `.kilocode/skills/` | `.kilocode/workflows/` |
3232
| OpenCode | `.opencode/skills/` | `.opencode/command/` |
@@ -38,6 +38,8 @@ For each tool you select, OpenSpec installs:
3838

3939
\* Codex commands are installed to the global home directory (`~/.codex/prompts/` or `$CODEX_HOME/prompts/`), not the project directory.
4040

41+
\*\* GitHub Copilot's `.github/prompts/*.prompt.md` files are recognized as custom slash commands in **IDE extensions only** (VS Code, JetBrains, Visual Studio). GitHub Copilot CLI does not currently support custom prompts from this directory — see [github/copilot-cli#618](https://github.com/github/copilot-cli/issues/618). If you use Copilot CLI, you may need to manually set up [custom agents](https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents) in `.github/agents/` as a workaround.
42+
4143
## Non-Interactive Setup
4244

4345
For CI/CD or scripted setup, use the `--tools` flag:

0 commit comments

Comments
 (0)