python-uv-workflow
Apply Python development policy using uv-first execution, test-first behavior validation, and pre-commit quality gates. Use when implementing or refactoring Python code.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-21
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- python-uv-workflow
- metadata
- { "owner": "mryfmo", "scope": "personal", "freshness": "90d", "provenance": "repo=mryfmo/dotfiles; license=MIT", "last-verified": 1784592000000 }
- description
- Apply Python development policy using uv-first execution, test-first behavior validation, and pre-commit quality gates. Use when implementing or refactoring Python code.
02 资源文件 3
- 参考文档agents/openai.yaml229 B
- 参考文档eval/NOTES.md144 B
- 参考文档references/python-uv-rules.md1.7 KB
03 SKILL.md 正文
Python UV Workflow
Overview
Use this workflow to keep Python implementation and refactoring aligned with repository policy.
Read Acknowledgement
- After reading this skill, say:
🐍 私は python-uv-workflow を読みました。
Workflow
- Use
uvas the default toolchain for Python projects. - Run scripts with
uv run <script>. - Write tests when behavior changes and verify expected behavior.
- Add standard dev dependencies with
uv. - Install pre-commit hooks after dependency setup.
- Create
.pre-commit-config.yamlwhen missing. - Create
Makefilewithsetuptarget when missing. - For refactoring from non-
uvoriginals, align dependencies, raise coverage, and verify output parity.
Testing Expectations
- Add tests before refactoring.
- Prefer real data over mocks and monkeypatches when feasible.
- Target coverage expansion toward 90%+ for refactoring tasks.
Use python-uv-rules.md for exact commands and canonical hook configuration.
04 同仓库更多 Skills
shdoc-shell-docs
Write and review shellscript documentation with shdoc annotations. Use when Codex creates, edits, or reviews `.sh` files or shell executables and should add, repair, or normalize `@file`, `@brief`, `@description`, `@arg`, `@option`, and `@example` comments to match shdoc conventions.
humanizer-ja
AIくさい日本語を、人が書いたように自然でこなれた日本語へ書き換えるスキル。ブログ記事、メモ、メール、文書、SNS投稿、チャット返信などの日本語を書いたり推敲したりするときに使う。AIっぽい言い回しを消したいとき、日本語を自然にしたいとき、言い換えたいとき、硬さを抜きたいとき、トーンを整えたいとき、人間らしい声や温度を足したいときに使う。
gh-first-workflow
Enforce gh-first GitHub investigation, pull request maintenance, and Conventional Commit output rules. Use when investigating GitHub issues or pull requests, creating or updating pull requests, summarizing investigation results, or preparing commit messages.
gh-comment-attach-files
Attach local files to a GitHub issue or pull request comment via Playwright CLI and return the hosted attachment URLs without submitting the comment. Use when you need GitHub-hosted image or document URLs on github.com or GitHub Enterprise Server.
convert-to-transformers
Use this skill when converting custom PyTorch models to Hugging Face Transformers format. Helps with: (1) Creating PretrainedConfig and PreTrainedModel classes, (2) Writing ImageProcessor/Tokenizer, (3) Compatibility testing, (4) Hub upload preparation. Use when the user wants to make their model compatible with transformers library.
agmsg
Cross-agent messaging via SQLite. Send messages between Claude Code, Codex, Gemini CLI, and other agents. No daemon, no network, no dependencies beyond bash and sqlite3.