deprecate-feature
A contributor skill in the PyTorch repository for retiring APIs under the project's backward-compatibility policy.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- PyTorch
- Ferramenta
- GitHub
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | GitHub | |
| Publicador | PyTorch | fonte |
| Status oficial | Não informado na documentação | |
| Status | provisional | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | NOASSERTION | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 2026105.390 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/pytorch/pytorch · Comprova: Inclui scripts, Status, Licença10 de nov. de 2026
- Repositório no GitHubgithub.com/pytorch/pytorch · Comprova: Publicador, Atividade11 de nov. de 2026
- Pasta no repositório (deprecate-feature)github.com/pytorch/pytorch · Comprova: Inclui scripts10 de nov. de 2026