pypi-upload-dist
Skill12 starsChanged 11 days agoApache-2.0View on GitHub
dist 配下の配布物(wheel / sdist)を UAG_TOKEN で PyPI へアップロードするための手順を規定化したスキル。
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- batch-state-runbookSkill
- browser4-cliSkill
- create-toolSkill
- dummy-weatherSkill
- jp-postageSkill
- prompt-librarySkill
- python-idiomsSkill
- sample-skillSkill
- vup-build-release-whlSkill
The file
Files
目的
dist/の配布物を PyPI にアップロードする。- Windows でも安全に実行できるよう、twine の進捗表示を無効化する。
入力
必須:
UAG_TOKEN
任意:
- 配布対象ディレクトリ
- 既定:
dist
- 既定:
- 対象ファイル
- 既定:
dist/*.whlとdist/*.tar.gz
- 既定:
前提
dist/にアップロード対象の成果物があることpythonとtwineが利用可能であること
危険操作(必ず事前に確認する)
このスキルは PyPI へ公開します。実行前に必ずユーザーへ確認し、 「実行して」 と返答された場合のみ続行する。
確認文(固定):
dist/の成果物を PyPI にアップロードします- 既存の同一バージョンは上書きできません
UAG_TOKENを使って公開します
実行フロー(固定)
0) 成果物確認
dist/に*.whl/*.tar.gzがあることを確認する。
1) アップロード
Windows では進捗表示の文字化け回避のため、次を使う。
$env:TWINE_USERNAME='__token__'
$env:TWINE_PASSWORD=$env:UAG_TOKEN
python -m twine upload --non-interactive --disable-progress-bar dist\*.whl dist\*.tar.gz成功判定
- twine の出力が成功を示す
- PyPI のプロジェクトページが表示される
失敗時のよくある原因
UAG_TOKEN未設定、または期限切れ- 同一バージョンの再アップロード
dist/に成果物がないtwineの表示が Windows コンソールと合わない
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

