deprecate-feature
A contributor skill in the PyTorch repository for retiring APIs under the project's backward-compatibility policy.
スキルの内容
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.
できること
- 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
概要
- 公開元
- PyTorch
- ツール
- GitHub
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/pytorch/pytorch · 根拠となる項目:スクリプトを含む, ステータス, ライセンス2026年11月10日
- GitHubリポジトリgithub.com/pytorch/pytorch · 根拠となる項目:公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(deprecate-feature)github.com/pytorch/pytorch · 根拠となる項目:スクリプトを含む2026年11月10日