agentleFS
MicrosoftKnown publishermicrosoft/PowerToys/src/modules/cmdpal/ExtensionTemplate/TemplateCmdPalExtension/.github/copilot-instructions.md

PowerToys / TemplateCmdPalExtension

Copilot instructions142k starsChanged 38 days agoMITView on GitHub

Concise guidance for AI-assisted development of this Command Palette extension. If using git, remove these lines from .gitignore (needed for deployment): - **/Properties/launchSettings.json - *.pubxml This project includes Copilot skills for common workflows: - add-adaptive-card-form — Create form-based UI with Adaptive Cards - add-extension-settings — Add a settings page to your extension - add-dock-band — Add persistent toolbar widgets - add-fallback-commands — Add catch-all search commands - publish-extension — Publish to Microsoft Store or WinGet

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 5 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 4 mentionsMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/PowerToys repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/PowerToys

The biggest 5 of 111 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 111

Talked about on GitHub, Bluesky and Hacker News (111 times).

On GitHub · 42

37 more on GitHub

On Bluesky · 41

36 more on Bluesky

On Hacker News · 28

23 more on Hacker News

The file

We split this copilot-instructions.md into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always Deploy (not just Build) to register the MSIX package

    line 20
  2. Distinctive:

    After deploying, use the Reload command in Command Palette to refresh

    line 21
  3. Very specific:

    If using git, remove these lines from .gitignore (needed for deployment):

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Command Palette Extension – Copilot Instructions

Concise guidance for AI-assisted development of this Command Palette extension.

Project Structure

FolderPurpose
Pages/Extension pages (ListPage, ContentPage, DynamicListPage implementations)
Assets/Icons and images (StoreLogo.png, etc.)
Properties/Launch settings and publish profiles
Root .cs filesExtension entry point, COM server (Program.cs), and CommandsProvider

Key Conventions

  • Extensions run out-of-process via COM server registration
  • Program.cs hosts the COM server — do not modify the hosting pattern
  • The CommandProvider subclass is the entry point for all commands
  • Pages are ICommand implementations — they can be used anywhere commands are used
  • Always Deploy (not just Build) to register the MSIX package
  • After deploying, use the Reload command in Command Palette to refresh

Build & Deploy

  1. In Visual Studio, use Build > Deploy (not just Build)
  2. In Command Palette, run Reload → select "Reload Command Palette extensions"
  3. For debugging, run in Debug configuration (F5) and check Output window (Ctrl+Alt+O)

Source Control

If using git, remove these lines from .gitignore (needed for deployment):

  • **/Properties/launchSettings.json
  • *.pubxml

Available Skills

This project includes Copilot skills for common workflows:

  • add-adaptive-card-form — Create form-based UI with Adaptive Cards
  • add-extension-settings — Add a settings page to your extension
  • add-dock-band — Add persistent toolbar widgets
  • add-fallback-commands — Add catch-all search commands
  • publish-extension — Publish to Microsoft Store or WinGet

Documentation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.