python-packaging – skill Lập trình cho agent AI
Hướng dẫn toàn diện cách tạo, cấu trúc và phân phối package Python bằng công cụ đóng gói hiện đại, pyproject.toml và xuất bản lên PyPI.
Cài skill python-packaging bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/python-packaging-3331b.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /python-packaging – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/python-packaging-3331b.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $python-packaging – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/python-packaging-3331b.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /python-packaging – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/python-packaging-3331b.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /python-packaging – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Python Packaging
Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.
Use this skill when
- Creating Python libraries for distribution
- Building command-line tools with entry points
- Publishing packages to PyPI or private repositories
- Setting up Python project structure
- Creating installable packages with dependencies
- Building wheels and source distributions
- Versioning and releasing Python packages
- Creating namespace packages
- Implementing package metadata and classifiers
Do not use this skill when
- The task is unrelated to python packaging
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- python-patterns – Nguyên tắc phát triển Python và cách ra quyết định. Chọn framework, mẫu async, type…
- python-performance-optimization – Profile và tối ưu code Python bằng cProfile, công cụ đo bộ nhớ và best practice về hiệu…
- python-pro – Thành thạo Python 3.12+ với tính năng hiện đại, async, tối ưu hiệu năng và thực hành sẵn…
- python-testing-patterns – Xây dựng chiến lược test toàn diện với pytest, fixtures, mocking và phát triển hướng…
- qiskit – Xây dựng và transpile mạch Qiskit, kiểm thử simulator cục bộ và chuẩn bị workload trên…
- qoder-delegate – Giao tác vụ viết code cho Qoder CLI (`qodercli`) chỉ khi người dùng yêu cầu rõ ràng…
- rayden-code – Tạo code React với component Rayden UI, dùng đúng props, token và các mẫu layout cao cấp.
- rclone-cli – Tài liệu tham khảo và hướng dẫn sử dụng trình quản lý lưu trữ đám mây rclone trên dòng…