AGENT SKILL
ptvs-template-updates
Use when updating PTVS project or item templates, Cookiecutter integration, Bootstrap or other static template assets, or template VSIX packaging and signing.
- License 许可
- Apache-2.0
- 所属仓库
- microsoft/PTVS
- 最近更新
- 2026-11-14
- Stars
- ★ 2.6k
- Forks
- 679
01 前言 Front Matter
- name
- ptvs-template-updates
- description
- Use when updating PTVS project or item templates, Cookiecutter integration, Bootstrap or other static template assets, or template VSIX packaging and signing.
03 SKILL.md 正文
PTVS Template Updates
Read Python/Templates/README.md before changing template content or packaging. Treat it as the source of truth for template asset and insertion-signing requirements.
Scope
Distinguish these template systems before editing:
Python/Templatescontains project and item templates packaged into PTVS template VSIXes.Python/Product/Cookiecuttercontains the Cookiecutter integration and feed handling.Python/Tests/TestData/Cookiecuttercontains Cookiecutter test fixtures.
Do not assume a Cookiecutter integration update changes the template VSIX payloads. Trace which files are packaged.
Update checks
Run the repository guard after changing templates or static assets:
Build\ValidateTemplateAssets.ps1 `
-TemplateRoot Python\Templates `
-DocumentationPath Python\Templates\README.md
Also confirm the Web and Django template VSIX projects still package from the staged template tree during signed builds, then run the smallest applicable template or installer build.