Commit push

From anyproto/anytype-ts · View interactive version

Commit push is an AI agent skill from the GitHub repository anyproto/anytype-ts. Commit staged/unstaged changes and push to the remote branch in one step

How to use this skill

Skill file

Commit & Push Skill

Commit all current changes and push to the remote in a single workflow.

Process

  1. Check state — Run git status (no -uall), git diff (staged + unstaged), and git log --oneline -5 in parallel
  2. Abort if clean — If there are no changes, inform the user and stop
  3. Stage files — Add changed files by name (never use git add -A or git add .). Skip files that look like secrets (.env, credentials, tokens)
  4. Draft commit message — Follow the repo's JS-XXXX: short description convention. Summarize the "why", not the "what"
  5. Commit — Use a HEREDOC for the message. Always append the co-author trailer:

```

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

```

  1. Push — Push to the current remote-tracking branch (typically origin/develop). Use git push (never force-push)
  2. Confirm — Show the resulting commit hash and remote status

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.