push-skill-to-github – Coding skill for AI agents
Commit and push skill changes to the configured skills repository after review and validation.
Install the push-skill-to-github skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/push-skill-to-github-e80ce.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /push-skill-to-github – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/push-skill-to-github-e80ce.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $push-skill-to-github – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/push-skill-to-github-e80ce.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /push-skill-to-github – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/push-skill-to-github-e80ce.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /push-skill-to-github – then describe the task you want done.
SKILL.md content
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.
Related skills
- pydantic-models-py – Create Pydantic models following the multi-model pattern for clean API contracts.
- pypict-skill – Pairwise test generation
- pytest-skill – Generates production-grade pytest tests in Python with fixtures, parametrize, markers…
- python – Language-specific super-code guidelines for python.
- python-development – You are a Python project architecture expert specializing in scaffolding…
- python-development-python-scaffold – You are a Python project architecture expert specializing in scaffolding…
- python-fastapi-development – Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic…
- python-packaging – Comprehensive guide to creating, structuring, and distributing Python packages using…