Loading...
Loading...
End-to-end workflow—review changes, create a Japanese commit per commit-jp, run pnpm lint && pnpm test, then push to origin per push. Use when the user wants to commit and publish in one go. Does not open or update PRs—use create-pr-jp for that.
npx skill4agent add noblejasper/agent-skills commit-and-push-jporiginpnpm lint && pnpm testorigingit commit -Fpnpm lint && pnpm testgit push-u origingit pushgit status --short --branchgit statusgit diffgit diff --stagedgit addgit commit -F <file>git commit -mpnpm lint && pnpm testgit pushgit push -u origin HEADgit push --set-upstream origin <branch>pnpm lint && pnpm test--force-with-lease--forceorigingit status --short --branch
# --- commit-jp: inspect, stage, write message file, then ---
git commit -F /tmp/COMMIT_MSG.txt
# --- pre-push (align with push skill) ---
pnpm lint && pnpm test
# --- push ---
git push 2>/dev/null || git push -u origin HEAD
# If rejected: pull skill → resolve → pnpm lint && pnpm test → git push againorigingit reset --hardgit push --force--force-with-lease| Situation | Action |
|---|---|
| Nothing to commit | Report and stop; use push if only publishing existing commits |
| Commit message / staging wrong | Fix with commit-jp rules before pushing |
| Lint/test fails after commit | Do not push; fix, amend or follow-up commit, re-run |
| pull → merge base → |
| Auth / permission denied | Report verbatim; user fixes credentials or access |