synesenom/ran / .claude/skills/push
push
Verified| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.1 KB |
SKILL.md
View on GitHub# Push Skill
You are pushing local commits to the remote repository.
## Core Principle
Push committed code to the remote. This skill does NOT review — run `/review` separately before pushing if needed.
## Workflow
When the user invokes `/push`:
### 1. Check State
Run in parallel:
- `git status` — verify there are no uncommitted changes (warn if there are)
- `git log --oneline @{upstream}..HEAD 2>/dev/null || git log --oneline -5` — see what commits will be pushed
If there are no unpushed commits, stop: "Nothing to push — already up to date with remote."
### 2. Push
```bash
git push
```
If the branch has no upstream:
```bash
git push -u origin $(git branch --show-current)
```
### 3. Report
> "Pushed <count> commit(s) to `<branch name>`
>
> - `<hash1>` <message1>
> - `<hash2>` <message2>"
## Rules
### DO:
- Warn if there are uncommitted changes
- Set upstream on first push with `-u`
- List the commits that were pushed
### DO NOT:
- Review code — that's a separate skill
- Force push — never use `--force` or `--force-with-lease` unless explicitly asked
- Push if there are no unpushed commits
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |