Commit Graph
4 Commits
Author SHA1 Message Date
8eed96741f Improve agent skills instructions with quality authoring patterns (#1232)
* Improve agent skills instructions with quality authoring patterns

Add practical, platform-agnostic authoring guidance to
agent-skills.instructions.md based on community best practices:

- Expand applyTo to cover all skills/**/SKILL.md paths
- Add writing guidance for every recommended body section with examples
  (When to Use, Prerequisites, Step-by-Step Workflows, Gotchas,
  Troubleshooting, References)
- Add 'Writing High-Impact Skills' section with 5 principles:
  - Focus on what the agent doesn't know
  - Context budget awareness for descriptions
  - Gotchas as highest-signal content
  - Flexible guidelines over rigid steps
  - Progressive disclosure for large skills
- Fix description constraints: add 10-char minimum, single-quote wrapping
- Reconcile Step-by-Step Workflows with Flexible Guidelines advice
- Consolidate Workflow Execution Pattern under Common Patterns
- Standardize terminology (agent vs AI agent)
- Align line thresholds (200 soft / 500 hard)
- Update validation checklist with new quality criteria

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

* Update instructions/agent-skills.instructions.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Address PR review: make instructions platform-agnostic

- Replace 'GitHub Copilot'-specific language with generic 'the agent'
- Add skills/<skill-name>/ to Directory Structure table for repo layouts
- Fix relative path in flexible guidelines example (./references/)
- Update description and intro to be platform-neutral

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

* Revert terminology changes per reviewer feedback

Restore 'Copilot' and 'AI agent' terminology to match
the original doc's conventions. Keep new substantive content
(Writing High-Impact Skills, Gotchas, expanded examples).

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Aaron Powell <me@aaron-powell.com>
2026-04-09 15:27:02 +10:00
Gordon LamandCopilot f91c1a5b4b feat: add winmd-api-search skill for Windows desktop API discovery (#860)
* feat: add winmd-api-search skill for Windows desktop API discovery

Add a skill that helps find and explore Windows desktop APIs (WinRT/WinAppSDK).
It searches a local WinMD metadata cache to discover APIs for platform capabilities
like camera, file access, notifications, UI controls, AI/ML, sensors, and networking.

Includes bundled scripts:
- Update-WinMdCache.ps1: generates the JSON cache from SDK and NuGet packages
- Invoke-WinMdQuery.ps1: searches types, members, enums, and namespaces
- cache-generator: .NET tool that parses WinMD files into JSON

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

* feat: sync winmd-api-search with latest upstream changes

Updates from PowerToys source branch:
- Detect installed WinAppSDK runtime via Get-AppxPackage
- Respect NUGET_PACKAGES env var for global packages path
- Use OS architecture for runtime package detection
- Fix method/event visibility to use MemberAccessMask equality
- Fix EnumerationOptions, TypeSpecification decoding, search sort
- Robust scan with case-insensitive dedup and multi-path search
- Deduplicate packages by (Id, Version)
- Fix assets.json selection and pin SRM version
- Fix SDK version sorting and global namespace handling

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

* fix: remove en-us locale from Microsoft Learn URLs

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

* feat: filter assets.json by package type; unique scan-mode manifests

- Filter assets.json libraries by type==package to skip project references
- Append short path hash to manifest names in scan mode to avoid collisions
- Support prefix match in query script for scan-mode manifest names

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 09:37:13 +11:00
Gordon LamandCopilot 35a690f28e Update instructions/prompt.instructions.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-08 18:02:10 +08:00
Gordon LamandCopilot fc16945701 Update instructions/prompt.instructions.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-08 18:02:02 +08:00