Skip to content

chore: move the standards sync to the 2.0 installer - #66

Merged
fadwen merged 1 commit into
mainfrom
chore/migrate-standards-installer
Nov 18, 2026
Merged

fadwen merged 1 commit into
mainfrom
chore/migrate-standards-installer

Conversation

@fadwen

@fadwen fadwen commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

Moves this repository's standards sync from the pre-2.0 folder copy to the installer that
ai-powershell-standards 2.0 provides. The old workflow copied folders with rm -rf and cp; it
installed neither the skills nor the Codex files, and it kept the copied examples folder and the
prompt stubs that 2.0 ships only for old workflows.

Changes

  • .github/workflows/sync-copilot-standards.yml is the current template from the standards
    repository. It runs Tools/Install-CopilotStandards.ps1 -RemoveLegacyFiles for GitHub Copilot,
    Claude Code and Codex, pins actions/checkout and peter-evans/create-pull-request to commit
    IDs, and opens its pull request from chore/sync-powershell-standards.
  • The installation has been applied once, so the first scheduled run has nothing left to migrate:
    • Adds the eight powershell-* skills under .github/skills/, .claude/skills/ and
      .agents/skills/.
    • Removes the copied powershell-standards/ examples, .github/prompts/ and
      .claude/commands/powershell-standards/.
  • CLAUDE.md and CONTRIBUTING.md now describe the installed paths instead of the old mirror.
  • AGENTS.md is this repository's own, so the installer leaves it alone. It now tells agents to read .github/copilot-instructions.md before working on PowerShell files.

Verification

  • The installer was run with -WhatIf before the change and then for real: no instruction file
    changed, because the previous sync had already installed version 2.0.0. The only removals are
    the 16 files under powershell-standards/ and the two prompt stubs.
  • No file outside the standards paths refers to powershell-standards/ or .github/prompts/,
    apart from the documentation updated here.
  • CI on this pull request runs the repository's own checks.

Notes

  • After merge, a manual run of the sync workflow confirms that the new template works here.
  • Actions in this repository are allowed to create pull requests, which the workflow needs.

The sync workflow copied folders from ai-powershell-standards with
rm -rf and cp. That copy installs neither the skills nor the Codex
files, and it kept the pre-2.0 examples folder and the prompt stubs
that version 2.0 only ships for old workflows.

The workflow is now the current template from the standards
repository. It runs Tools/Install-CopilotStandards.ps1 with
-RemoveLegacyFiles, pins its actions to commit IDs, and opens its pull
request from chore/sync-powershell-standards.

This commit applies that installation once:

- Adds the eight powershell-* skills for GitHub Copilot, Claude Code
  and Codex.
- Removes the copied powershell-standards/ examples, .github/prompts/
  and .claude/commands/powershell-standards/.
- Updates CLAUDE.md and CONTRIBUTING.md, which described the old mirror.
- Leaves this repository's own AGENTS.md in place, and points it to
  .github/copilot-instructions.md for the PowerShell rules.
@fadwen
fadwen merged commit b154042 into main Nov 18, 2026
4 checks passed
@fadwen
fadwen deleted the chore/migrate-standards-installer branch November 18, 2026 01:47
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.

1 participant