/yeet:yeetfrom yeet
Automatically generate conventional commit messages and push to remote. Analyzes git changes to determine the appropriate commit type (feat, fix, docs, style, refactor, perf, test, build, ci, chore), generates a descriptive message following the conventional commits specification, bootstraps GitHub repositories with gh CLI when git or remotes are missing, and handles the full git workflow from staging to push.
Ships in yeet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a git workflow assistant that automates the commit and push process with intelligent commit message generation following the Conventional Commits specification.
When invoked via /yeet or asked to commit and push changes:
gh if needed<type>(<scope>): <short summary>
<body>
<footer>
| Type | Indicators | Example Changes |
|---|---|---|
| feat | New files with functionality, new exports, new API endpoints | add user authentication endpoint |
| fix | Changes to error handling, bug fix comments, corrections to logic | handle null pointer in login |
| docs | Changes to README, markdown files, comments, documentation | update API documentation |
| style | Formatting, semicolons, indentation, no logic changes | fix indentation in utils.js |
| refactor | Renaming variables, moving code, restructuring without feature changes | extract validation logic |
| perf | Optimization-related changes, caching, algorithm improvements | optimize database queries |
| test | Test files (.test., .spec.), test utilities, mocks | add unit tests for auth |
| build | Package.json, Cargo.toml, build scripts, dependencies | update dependency versions |
| ci | GitHub Actions, .github/workflows, CI config files | add automated testing workflow |
| chore | Config files, gitignore, maintenance tasks | update .gitignore |
| revert | Reverting previous commits | revert broken auth change |
Common scopes (auto-detect from changed files):
api - API-related changesui - User interface componentsauth - Authentication/authorizationdb - Database-relatedconfig - Configuration filesdeps - Dependenciesci - CI/CD configurationBefore analyzing changes, confirm the current directory is a usable git repository with a push target:
git rev-parse --is-inside-work-treegit init -b mainorigin exists:
git remote get-url originorigin exists, inspect git remote -v for any existing remote before
creating a new onegh auth status; if not authenticated, ask the user to run gh auth login--description; do not leave the
description empty by defaultAskUserQuestion to ask whether the GitHub repo should be private or
public; present exactly those two choices unless the user already specified
visibilitygh repo create <repo-name> --source=. --remote=origin --description "<description>" --private
or gh repo create <repo-name> --source=. --remote=origin --description "<description>" --publicDescription inference order:
package.json descriptionpyproject.toml project.descriptionCargo.toml package.descriptionSKILL.md frontmatter descriptionDo not silently choose visibility. Always ask private vs public when creating a GitHub repo. Use the inferred description without another prompt unless the user asked for a custom description.
Run git status and git diff --stat to understand:
Based on file patterns and content:
feat: New functionality
fix: Bug fixes
docs: Documentation
style: Code style
refactor: Code restructuring
test: Testing
build: Build system
ci: CI/CD
chore: Maintenance
Extract scope from file paths:
src/api/* → apisrc/components/* → uisrc/auth/* → authtests/* → testdocs/* → docsExamples:
feat(api): add user login endpointfix(ui): correct button alignment on mobiledocs(readme): update installation instructionsfeat(config): add JSON schema validation (JSON is uppercase as a proper noun)For complex changes, include a body (wrapped at 72 characters):
BREAKING CHANGE: prefixgit add -A (or specific files if requested)git commit -m "<message>" — Do NOT append any Co-Authored-By trailergit push (if remote exists and tracking is set up)If no upstream branch: git push -u origin <current-branch>
Before committing:
Ask the user if:
Changes:
src/auth/login.ts (new file, 45 lines)
Action:
git add src/auth/login.ts
git commit -m "feat(auth): add user login endpoint"
git push
Changes:
src/utils/formatter.ts | 3 +--
Action:
git add src/utils/formatter.ts
git commit -m "fix(utils): handle null values in formatter"
git push
Changes:
README.md | 25 +++++++++++++++++++++++++
Action:
git add README.md
git commit -m "docs(readme): update installation instructions"
git push
Changes:
src/api/users.ts | 50 +++++++++++-----------
Action:
git add src/api/users.ts
git commit -m "refactor(api): change user response schema
BREAKING CHANGE: user_id field renamed to id, response structure changed"
git push
Changes:
src/components/Button.tsx | 12 ++++++++
tests/Button.test.tsx | 25 ++++++++++++++++++++
Action:
git add src/components/Button.tsx tests/Button.test.tsx
git commit -m "feat(ui): add loading state to Button component
Add isLoading prop that displays a spinner and disables the button.
Includes unit tests for the new functionality."
git push
After execution, provide:
Example output:
Committed 3 files:
- src/auth/login.ts
- src/auth/logout.ts
- tests/auth.test.ts
Commit message:
feat(auth): add authentication endpoints
Add login and logout functionality with JWT token support.
Includes comprehensive test coverage.
Pushed to origin/main
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub missuo/yeet --plugin yeet