Skip to content

docs: replace deprecated gh copilot with copilot CLI syntax#17

Merged
Alan-Jowett merged 3 commits intomicrosoft:mainfrom
Alan-Jowett:fix/update-cli-syntax
Mar 18, 2026
Merged

docs: replace deprecated gh copilot with copilot CLI syntax#17
Alan-Jowett merged 3 commits intomicrosoft:mainfrom
Alan-Jowett:fix/update-cli-syntax

Conversation

@Alan-Jowett
Copy link
Copy Markdown
Member

Summary

Replace all gh copilot references with copilot (the standalone GitHub Copilot CLI).

Why

The gh-copilot CLI extension was deprecated in Sep 2025 and archived in Oct 2025. Running gh copilot produces unknown command "copilot" for "gh". The replacement is the standalone GitHub Copilot CLI, invoked as copilot.

Changes

  • README.mdgh copilot "Read and execute bootstrap.md" to copilot "Read and execute bootstrap.md"
  • CONTRIBUTING.md — same fix
  • .github/copilot-instructions.md — new file with repository context for Copilot sessions (also uses corrected syntax)

Note: PR #15 adds a -i flag to the same deprecated gh copilot command — that fix is moot since the command itself no longer exists.

The gh-copilot CLI extension was deprecated in Sep 2025 and archived
in Oct 2025. The replacement is the standalone GitHub Copilot CLI,
invoked as 'copilot' (not 'gh copilot').

Update all three files that reference the old syntax:
- README.md
- CONTRIBUTING.md
- .github/copilot-instructions.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 18, 2026 22:15
copilot CLI requires -i for interactive sessions (or -p for
non-interactive). Bare 'copilot "prompt"' is not valid syntax.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates repository documentation to use the standalone copilot CLI instead of the deprecated gh copilot GitHub CLI extension, and adds a Copilot instruction file to provide consistent repo context during Copilot sessions.

Changes:

  • Replace gh copilot ... with copilot ... in README and CONTRIBUTING usage examples.
  • Add .github/copilot-instructions.md describing PromptKit architecture, conventions, and CI/testing workflow for Copilot sessions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Updates the Quick Start command to use the standalone copilot CLI.
CONTRIBUTING.md Updates contributor workflow example to use copilot CLI.
.github/copilot-instructions.md Adds repo-specific Copilot guidance and summarizes architecture/conventions/CI/testing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The document-lifecycle pipeline is not a strict linear chain.
Validation consumes requirements-document directly, not
design-document. Updated wording to reflect actual dependencies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Alan-Jowett Alan-Jowett merged commit 25daa50 into microsoft:main Mar 18, 2026
1 check passed
@Alan-Jowett Alan-Jowett deleted the fix/update-cli-syntax branch March 18, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants