com um clique
commit
Validate code with lints and tests, then commit and push
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Validate code with lints and tests, then commit and push
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Quickly commit, push, and create a PR while leaving validation to GitHub checks
Quickly commit and push local changes while leaving validation to GitHub checks
Step-by-step guide for adding new pages to the Yew frontend
Step-by-step guide for adding new OAuth integrations to Lightfriend
Step-by-step guide for modifying database schema using Diesel migrations
Run formatting and linting checks on the codebase
| name | commit |
| description | Validate code with lints and tests, then commit and push |
This skill ensures code quality before committing by running all checks, then commits and pushes.
cd backend && cargo fmt --check
If this fails, run cargo fmt to auto-fix, then re-check.
cd backend && cargo clippy --workspace --all-targets --all-features -- -D warnings
If clippy fails, fix the issues before proceeding. Do NOT commit code with clippy warnings.
cd backend && cargo test --workspace
If tests fail, fix the failing tests before proceeding. Do NOT commit code with failing tests.
git status
Review what will be committed. If there are no changes, inform the user and stop.
git add -A
Ask the user for a commit message, or generate one based on the changes.
IMPORTANT: Never include:
Commit message format:
git commit -m "Short description of changes"
For multi-line messages:
git commit -m "$(cat <<'EOF'
Short summary
Longer description if needed
EOF
)"
git push origin HEAD
If push fails due to upstream changes, pull first:
git pull --rebase origin HEAD && git push origin HEAD
If ANY step fails (fmt, clippy, or tests):
# Full validation + commit + push
cd backend && cargo fmt --check && cargo clippy --workspace --all-targets --all-features -- -D warnings && cargo test --workspace && cd .. && git add -A && git commit -m "message" && git push
# Auto-fix formatting
cd backend && cargo fmt
# Check only (no commit)
cd backend && cargo fmt --check && cargo clippy --workspace --all-targets --all-features -- -D warnings && cargo test --workspace