deprecate-feature
A contributor skill in the PyTorch repository for retiring APIs under the project's backward-compatibility policy.
What the skill teaches
A contributor skill in the PyTorch repository for retiring APIs under the project's backward-compatibility policy. It covers deprecating or freezing an API, with the warning wording, a warn-once pattern, docstring notes, tests and labels; tracking each item as a GitHub issue attached to PyTorch's parent deprecation tracker, asking the user before any issue is edited; and removing code once the required number of releases with a warning has passed, or auditing targets that are overdue. It reads the current version from version.txt and gives a gh api command for linking sub-issues and a git grep command for finding removal targets. The skill calls itself provisional.
Capabilities
- Add deprecation warnings and docstring notes
- Track deprecations as GitHub sub-issues
- Find APIs that are due for removal
- Remove deprecated code after the warning period
About
- Publisher
- PyTorch
- Tool
- GitHub
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | GitHub | |
| Publisher | PyTorch | source |
| Official status | Not stated in its documentation | |
| Status | provisional | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | NOASSERTION | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026105,390 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/pytorch/pytorch · Backs: Includes scripts, Status, LicenceNov 10, 2026
- GitHub repositorygithub.com/pytorch/pytorch · Backs: Publisher, ActivityNov 11, 2026
- Folder in the repository (deprecate-feature)github.com/pytorch/pytorch · Backs: Includes scriptsNov 10, 2026