Commit

From ItsBenCodes/cookies · View interactive version

Commit is an AI agent skill from the GitHub repository ItsBenCodes/cookies. Commit staged work, push the branch, and open a PR. Use when wrapping up changes that need to ship.

How to use this skill

Skill file

Commit

Commit → push → open PR. Never on main.

1. Stage

Stage only files relevant to this change. Prefer explicit paths over git add -A unless every modified file belongs to the change.

2. Commit

git commit -m "<message>"

3. Push

git push -u origin HEAD

4. Open PR

Title under 70 chars. Body via HEREDOC. Default base is main.

gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- ...

## Test plan
- [ ] ...
EOF
)"

Return the PR URL. Use gh pr merge --auto --squash only when the caller asks for auto-merge (e.g. release PRs).

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.