一键导入
push
Push the current feature branch to origin and create or update the corresponding pull request targeting `develop`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push the current feature branch to origin and create or update the corresponding pull request targeting `develop`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Land a PR by monitoring feedback, resolving conflicts against `develop`, waiting for checks, and squash-merging when green.
Create a well-formed git commit from current changes using session history for rationale and summary; use when asked to commit, prepare a commit message, or finalize staged work.
Pull the latest integration branch into the current feature branch and resolve merge conflicts. Use when Codex needs to sync a feature branch with origin using a merge-based update.
| name | push |
| description | Push the current feature branch to origin and create or update the corresponding pull request targeting `develop`. |
gh CLI is installed and authenticated for this repository.main or develop.origin/develop exists. If it does not, stop and surface that blocker.develop.Run the narrowest required validation before each push:
cd backend && OPENROUTER_API_KEY=test-key WORKSPACE_DIR=/tmp/seraph-test uv run pytest -vcd frontend && npm testcd docs && npm run buildcd editor && npm run buildUse ./.codex/worktree_init.sh first if dependencies have not been installed in
the workspace yet.
origin, using upstream tracking if needed.pull skill,develop:
## Done on develop## Working in this PR## Still to do after this PR## ValidationPR and Code Review fields after the PR exists. Do not duplicate the
internal slice checklist in the PR body.branch=$(git branch --show-current)
test -n "$branch"
git fetch origin
git push -u origin HEAD
pr_state=$(gh pr view --json state -q .state 2>/dev/null || true)
if [ "$pr_state" = "MERGED" ] || [ "$pr_state" = "CLOSED" ]; then
echo "Current branch is tied to a closed PR; create a fresh branch." >&2
exit 1
fi
pr_title="<clear PR title>"
tmp_pr_body=$(mktemp)
cat >"$tmp_pr_body" <<'EOF'
## Done on develop
- [x] <already shipped baseline that this PR builds on>
## Working in this PR
- [ ] <concrete change in this PR>
## Still to do after this PR
- [ ] <real remaining work after merge>
## Validation
- <commands run>
EOF
if [ -z "$pr_state" ]; then
gh pr create --base develop --title "$pr_title" --body-file "$tmp_pr_body"
else
gh pr edit --base develop --title "$pr_title" --body-file "$tmp_pr_body"
fi
gh pr view --json url -q .url
rm -f "$tmp_pr_body"
--force; use --force-with-lease only if history was rewritten.pull skill.develop. Do not mark branch-only work as
done on develop.Queue and
Status, but leave PR=Not Ready and Code Review=Not Ready unless that
child issue gets its own PR.PR and Code Review fields through the
project board or gh project item-edit.