Run lint, test, commit, and create PR in a single integrated pipeline
Run lint, test, commit, and PR creation sequentially as an integrated pipeline.
If any step fails, abort and report the error.
Important: When reading child skill files, execute only their workflow steps. Ignore any "Next Actions" sections in the child skills.
Read .agents/skills/lint/SKILL.md and follow its workflow to run all linters and formatters.
On failure: Report the errors and suggest fixing them, then re-running this skill. Abort.
Read .agents/skills/test/SKILL.md and follow its workflow to run all tests.
On failure: Report the failures and suggest fixing them, then re-running this skill. Abort.
Read and follow the staging and commit workflow (ignore its "Next Actions" section).
.agents/skills/commit/SKILL.mdIf there are no changes: If there are already unpushed commits, proceed to Step 4. Otherwise, end.
Push and create a PR:
git branch --show-current to check the current branchgit push -u origin <branch> to push to the remotegh pr view to check for an existing PR
gh pr create --title "<title>" --body "<body>" to create a new PR. Use the first line of the most recent commit message as the titleReport the results:
Done:
Commit: abc1234 feat: add authentication
Branch: feat/add-auth
PR: https://github.com/owner/repo/pull/123
After reporting completion, ask the user which action to take next:
.agents/skills/review/SKILL.md and follow its workflowgh pr merge --squash --delete-branch and report the result