commit-push

Commit & Push Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "commit-push" with this command: npx skills add anyproto/anytype-ts/anyproto-anytype-ts-commit-push

Commit & Push Skill

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

Process

  • Check state — Run git status (no -uall ), git diff (staged + unstaged), and git log --oneline -5 in parallel

  • Abort if clean — If there are no changes, inform the user and stop

  • Stage files — Add changed files by name (never use git add -A or git add . ). Skip files that look like secrets (.env , credentials, tokens)

  • Draft commit message — Follow the repo's JS-XXXX: short description convention. Summarize the "why", not the "what"

  • Commit — Use a HEREDOC for the message. Always append the co-author trailer: Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

  • Push — Push to the current remote-tracking branch (typically origin/develop ). Use git push (never force-push)

  • Confirm — Show the resulting commit hash and remote status

Rules

  • Never amend existing commits

  • Never force-push

  • Never skip hooks (--no-verify )

  • Never commit files that contain secrets

  • Always create a NEW commit, even after a hook failure

  • Push target is always the current branch's upstream (usually develop )

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

qa-engineer

No summary provided by upstream source.

Repository SourceNeeds Review
General

update-docs

No summary provided by upstream source.

Repository SourceNeeds Review
General

release-notes

No summary provided by upstream source.

Repository SourceNeeds Review