push-skill-to-github – skill Lập trình cho agent AI
Commit và push thay đổi skill lên kho skills đã cấu hình sau khi review và kiểm tra.
Cài skill push-skill-to-github 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/push-skill-to-github-e80ce.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /push-skill-to-github – 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/push-skill-to-github-e80ce.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $push-skill-to-github – 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/push-skill-to-github-e80ce.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /push-skill-to-github – 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/push-skill-to-github-e80ce.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /push-skill-to-github – 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.
Push Skills to GitHub
When to Use
- Use when skill changes are ready to commit and push to the configured skills repo.
- Use when the user asks to save or publish skill updates after validation.
Procedure
1. Discover the actual repository from the user-selected skill path with Git. Read its current instructions, status, branch and remote. The upstream author's private ~/.agents layout and public mirror are not defaults for other users.
2. Confirm publication is requested and identify the destination remote and topic branch. Preserve unrelated edits and follow the repository's protected PR and validation process.
3. Review complete changed skill trees, provenance and bundled files. Run the required checks and record their exact revision and result.
4. Stage only the explicit reviewed paths, inspect the staged diff for secrets and unrelated changes, and create a focused commit.
5. Push only the authorized topic branch. Verify the returned remote commit identity; no fixed sleep or expected main-to-main message establishes success. Do not force-push or bypass protection.
6. Use a terminal already available to the host. If a temporary cmux pane is explicitly useful, create and close only that task-owned pane; do not depend on cmux for Git operations.
Example
User request:
> Validate the changed skills, review the diff, commit them with a focused message, and push the topic branch.
Limitations
- Adapted from
davidondrej/skills; verify local paths, tools, credentials, and agent features before acting. - For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
Skill liên quan
- pydantic-models-py – Tạo model Pydantic theo mẫu multi-model để có hợp đồng API rõ ràng.
- pypict-skill – Tạo test theo cặp (pairwise).
- pytest-skill – Tạo test pytest chuẩn production bằng Python, với fixtures, parametrize, markers…
- python – Hướng dẫn super-code theo ngôn ngữ cho Python.
- python-development – Bạn là chuyên gia kiến trúc dự án Python, chuyên khởi tạo ứng dụng Python sẵn sàng…
- python-development-python-scaffold – Bạn là chuyên gia kiến trúc dự án Python, chuyên khởi tạo ứng dụng Python sẵn sàng…
- python-fastapi-development – Phát triển backend Python FastAPI với mẫu async, SQLAlchemy, Pydantic, xác thực và các…
- python-packaging – 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…