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), andgit log --oneline -5in 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 -Aorgit add .). Skip files that look like secrets (.env, credentials, tokens) - Draft commit message — Follow the repo's
JS-XXXX: short descriptionconvention. 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). Usegit 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)
More from anyproto/anytype-ts
qa-engineer
Analyze code changes and generate Playwright E2E tests in anytype-desktop-suite. Run after implementing features or modifying editor/component behavior to ensure new functionality has test coverage.
53typescript-code-review
Perform comprehensive code reviews for TypeScript projects, analyzing type safety, best practices, performance, security, and code quality with actionable feedback
52update-docs
Update README documentation in the folder of changed components/abstractions to reflect code changes — keeps docs lean, precise, and in sync
36release-notes
Write and update release notes in whatsNew.ts with context-aware content generation
34dark-mode-check
Audit SCSS and TSX files for dark mode issues — missing variable usage, hardcoded colors, icon gaps, selector misuse, and inline dark overrides outside the theme folder
28