ship-it
Installation
SKILL.md
Ship It
You MUST complete all steps. If any step fails, fix and loop back. The end goal: green CI, expert-verified, production-ready code.
- Branch — If on
main/master, create a branch (feat/,ktlo/, orinvest/prefix). If already on a branch with work, continue. - Lint & Test — Run the project's linters and tests. Fix failures. Repeat until green.
- Commit — Stage specific files, conventional commit message (
feat,fix,refactor, etc.). - Self-review — Read expert-checks.md, then launch a subagent with its content included in the prompt: "Review the changes on this branch against the base branch. Diff all changes, read all changed files in full, and verify against these expert checks: {include expert-checks content}. Also load
.ai-rules.mdfrom project root if it exists. Report every issue: bugs, security, performance, style, missing tests." When .tsx/.jsx files changed and thejimdo-ui-reviewerskill is available, invoke it yourself (the subagent cannot call skills). Fix all findings, loop back to step 2. - Push & PR —
git push -u origin $(git branch --show-current), thengh pr create --draftwith a summary of what changed and what was verified. - Conflicts — Poll
gh pr view --json mergeable --jq .mergeableuntilMERGEABLEorCONFLICTING(ignoreUNKNOWN). IfCONFLICTING, determine the base branch withgh pr view --json baseRefName --jq .baseRefName, thengit fetch origin <base> && git rebase origin/<base>, resolve conflicts, andgit push --force-with-lease. Go back to step 2. - CI —
gh pr checks --watch --fail-fast. If anything fails:gh run view <id> --log-failed, fix, loop back to step 2. Once green, check PR comments viagh api. Evaluate each bot comment — fix reasonable ones, reply to incorrect ones explaining why. Push, then wait for the next review round. Repeat until no new comments. - SonarCloud — If
sonar-project.propertiesexists, use/sonarcloudto fetch and fix issues until the quality gate passes.
Run gh pr ready to mark the PR as ready for review, then report the PR URL when done.