dev-commit-push-pr
Installation
SKILL.md
Core Workflow
- Gather current state by running in parallel:
git status,git diff HEAD,git branch --show-current. - If on
main, create a new descriptive branch and check it out. - Run backend checks
composer run test, if any issues then run the composer scripts to fix. - Run frontend checks
npm test, if any issues then run the npm scripts to fix. - If E2E tests exist (
npm run test:e2e), run them. If any tests fail then investigate and fix the root cause. Re-run until all E2E tests pass. - Stage all relevant changes and create a single commit with a clear, conventional message.
- Push the branch to origin.
- Open a pull request using
gh pr createwith a concise title and description summarising the changes.
Constraints
MUST DO
- Create a new branch if currently on main before committing.
- Write a commit message that accurately reflects the changes.
- Complete all steps (branch, commit, push, PR) in a single pass.
- All quality gates (backend, frontend, E2E) must pass before committing.