一键导入
dub-flow
Use when turning staged changes into a DubStack branch, commit, and submitted PR stack with clear naming and user confirmation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when turning staged changes into a DubStack branch, commit, and submitted PR stack with clear naming and user confirmation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | dub-flow |
| description | Use when turning staged changes into a DubStack branch, commit, and submitted PR stack with clear naming and user confirmation. |
Use this skill when a user asks to "create a PR" or "submit this" from staged changes.
Produce a clean, reviewable stack operation with:
dub create and dub submitgh auth is configured for PR operations.Run:
git status --short
git diff --cached --stat
git diff --cached
git log --oneline -5
Capture:
If nothing is staged, stop and suggest one of:
git add <files>git add -Adub create <name> -pm "..." to stage interactivelyPrefer:
<type>/<short-kebab-scope>
Examples:
feat/auth-loginfix/sync-parent-mismatchrefactor/submit-body-builderUse conventional commits:
type(scope): summary
optional body
optional issue link
If user provided issue ID (for example A-35), append:
Completes A-35
Since dub ss manages stack submission, focus on high-quality commit messages and branch names first. If user asks to polish PR text, prepare concise title/body recommendations after submission.
Present:
Ask user to choose:
dub create <branch-name> -am "<commit-message>"
dub ss
dub create <branch-name> -um "<commit-message>"
dub ss
dub create <branch-name> -pm "<commit-message>"
dub ss
dub pr
-a/-u/-p flow.gh auth login.dub restack, resolve conflicts, then rerun dub ss.✅ DubStack submission complete
- Branch: <branch-name>
- Commit message: <message>
- Command(s): dub create ..., dub ss
- Next: dub pr (to open PR), dub log (to inspect stack)