glebis/claude-skills/repo-publish
Claude Code and agent skill by glebis/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Publish a local repository to a remote with quality gates, version tagging, and rollout steps. Use this skill when the user asks to publish, release, or push a project end-to-end. Triggers on "publish repo", "release project", "ship it", "push to remote".
Install
npx vskill@latest install glebis/claude-skills/repo-publishSKILL.md
Repo Publish
End-to-end pipeline for taking a project from "I made changes" to "live on a remote". Runs quality gates, generates an intelligent multi-commit history, pushes, and verifies the deploy.
When to Use
Use this skill when:
- The user says "publish", "release", "ship it", "push to remote", "deploy this"
- A project has accumulated local changes that need to land cleanly
- A version bump or release needs to be cut
- The user explicitly asks to run the full landing-the-plane workflow
Do not use this skill for:
- Single quick commits the user is doing themselves
- Documentation-only edits (use the project's own docs workflow)
- Anything involving secrets/credentials (the scripts will skip those files)
Workflow Decision Tree
Start here. Pick the lane based on the user's intent:
Push Mode
For ordinary commits that need to land.
Step 1 — File remaining work
Run the issue tracker step:
If you can't bd, ask the user how they track issues for this project. Don't silently skip it — issue hygiene is part of the gate.
Step 2 — Run quality gates
Inspect package.json, pyproject.toml, Makefile, or whatever exists and run whatever the project defines as "test + lint + build":
If a gate fails, stop. Report which gate failed and the relevant error. Don't try to fix the code in the same publish flow — open a fix-PR first.
For projects without an obvious test command, run ls to find the closest script and ask the user.
Step 3 — Stage and commit intelligently
Use the scripts/intelligent_commit.sh helper. It groups files by change type (features, fixes, docs, chore) and produces one commit per group:
Read its docs at references/commit-grouping.md for the heuristics.
If the user prefers a single commit, ask explicitly before combining.
Step 4 — Pull rebase, push, verify
If push is rejected: there's a remote-side change. Pull rebase again, resolve, retry. Never --force without explicit user consent.
Release Mode
For cutting versions. Adds three extra steps before push.
Step R1 — Choose bump type
Ask the user: patch (x.y.Z → x.y.(Z+1)), minor (X.Y → X.(Y+1)), or major. Default to patch unless they say otherwise. Read the change log to confirm.
Step R2 — Bump version
Step R3 — Generate / update CHANGELOG
If the project has a CHANGELOG.md, append a new section for this version with bullet points summarizing the commits in git log --oneline v<PREV>..HEAD. If it doesn't, skip — don't create empty changelogs.
Step R4 — Commit the release
The --follow-tags pushes the new tag along with the commit.
Step R5 — Post-release verification
For projects with deployment automation (Vercel, npm publish, etc.), the user usually has a manual post-push step. Ask, don't assume.
Common Pitfalls
- Never `--force` push without explicit user consent and a clear reason. It rewrites shared history.
- Don't run tests in a publish flow that you can't read the output of. If the runner is opaque, surface the URL or command to the user.
- Don't commit secrets.
.env,*.pem,id_rsa, etc. Checkgit statusfor these before staging. - If `bd` (or whatever tracker) has open issues, file the remaining work as a new issue and reference the ID in the commit before pushing.
- If multiple branches diverge, the right move is
bd syncfollowed by a freshgit pull --rebase. Don't try to force-push your way out of sync.
Environment Variables
None required. The skill uses whatever git is configured to use for push. If the user needs a specific remote credential, they'll have it set in their git config.
Related Workflows
- Single-commit hotfix → skip intelligent_commit.sh, use
git add -p+ a singlegit commit - Bisecting a regression → not the publish skill's job; use git bisect directly
- Pre-release testing → use the project's own staging environment before invoking this skill
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrepo-publish/SKILL.md
Popularity
- Repository stars
- 379
- Repository forks
- 56
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/glebis/claude-skills/repo-publish)