79031da543
Spell checking / Report (Push) (push) Blocked by required conditions
Spell checking / Report (PR) (push) Blocked by required conditions
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled
Publish Dev Docs Website / build (push) Failing after 1s
Publish Dev Docs Website / deploy (push) Has been skipped
1.3 KiB
1.3 KiB
description
| description |
|---|
| PowerToys AI contributor guidance |
PowerToys – Copilot Instructions
Concise guidance for AI contributions. For complete details, see AGENTS.md.
Key Rules
- Atomic PRs: one logical change, no drive-by refactors
- Add tests when changing behavior
- Keep hot paths quiet (no logging in hooks/tight loops)
Style Enforcement
- C#:
src/.editorconfig, StyleCop.Analyzers - C++:
src/.clang-format - XAML: XamlStyler
When to Ask for Clarification
- Ambiguous spec after scanning docs
- Cross-module impact unclear
- Security, elevation, or installer changes
Component-Specific Instructions
These are auto-applied based on file location:
Shortcut Guide V2 Manifests
When creating or editing Shortcut Guide keyboard shortcut manifest files, follow the schema and naming conventions in the spec:
- WinGet Manifest Keyboard Shortcuts schema – manifest file format, field definitions, file naming, and the
+prefix convention for apps without a WinGet package