commit-push
3
总安装量
1
周安装量
#59285
全站排名
安装命令
npx skills add https://github.com/anyproto/anytype-ts --skill commit-push
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
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)