← ClaudeAtlas

sde-prlisted

Commit, push, and open or update a pull request in one automated pass — atomic conventional commits cut from the working tree, the repo's formatter / linter / type-checker / tests run first with autofixes committed, a reviewer-ready description written from the actual diff and the repo's PR template, the issue linked, optional auto-merge. Use when asked to commit, push, open / update / ship a PR, or write a PR title or description.
tomtommyyuan/automated-sde-skill · ★ 0 · Code & Development · score 70
Install: claude install-skill tomtommyyuan/automated-sde-skill
# /sde-pr — commit, push, open or update the pull request Takes a branch from "the change is done" to "a reviewer has something worth reading" without stopping on the way: it commits, it pushes, it opens the PR. It asks for exactly one kind of decision — whether to split a branch that is really two PRs — and decides everything else, then reports what it did. The ask sets the stopping point. "Commit" stops after step 2. "Push" stops after step 5. "PR" / "ship" / "open a pull request" runs everything. `--commit-only` is the first case as a flag. Arguments: `$ARGUMENTS` ## Preflight Gathered when the skill loaded (if these lines are blank, run the commands yourself): Branch: !`git branch --show-current 2>/dev/null || echo "(detached)"` Working tree: !`git status --short 2>/dev/null | head -40` Existing PR: !`gh pr view --json number,state,url,isDraft,baseRefName 2>/dev/null || echo "none"` ## Step 0 — Repo profile Read `.claude/sde.json`. If it is missing (or `--reprofile`), detect and write it following `references/repo-profile.md`. It gives you the base branch, the format / lint / typecheck / test commands, the commit-message style the repo actually uses, generated paths to exclude from size counts, and the merge method. A value the user edited by hand wins over detection. ## Step 1 — Be on a branch a PR can come from - On the base branch with changes → `git switch -c <type>/<slug>` (`feat/`, `fix/`, `refactor/`, `docs/`, `chore/`; slug says what the change does, ≤