yeet
Take every local change green through the repo's own checks, slice it into conventional commits, push, and with --pr open a pull request on the code host. Use only when the user explicitly asks to yeet, or to commit and push everything; never on your own initiative.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- yeet
- metadata
- { "layer": "L5" }
- description
- Take every local change green through the repo's own checks, slice it into conventional commits, push, and with --pr open a pull request on the code host. Use only when the user explicitly asks to yeet, or to commit and push everything; never on your own initiative.
03 SKILL.md 正文
Yeet
Ship everything in the working tree: survey it, get it green, slice it into commits, push, and open a PR when asked.
Flags
Read them from the user's request before step 1; the rest of the request is grouping notes. Asking for yeet, and typing a flag, is the user's consent to what it does, so yeet pushes, and --pr opens the PR, without asking again.
--force: skip step 2. Commits land on whatever branchHEADis, the default branch included.--fast: skip step 3. Nothing is run; the report states checks were skipped, andven-decisions endstill asks for proof before the run closes.--pr: run step 7 after the push.
1. Survey
Read git status --porcelain=v1 --untracked-files=all, git diff, git diff --staged, the current branch and its upstream. Read the untracked files too.
Done when every changed path sits in a written list with a one-line statement of its intent, and any path you cannot explain is named out loud as such.
2. Claim a branch (skipped by --force)
Commits land on a topic branch. If HEAD is repo.default_branch (ven-profile get repo.default_branch), create a branch named for the work at hand and carry the changes onto it.
Done when HEAD is not the default branch.
3. Green (skipped by --fast)
Run verify for every change type the survey touched. Its keys come from the profile; never type a check command from memory.
Fix the failures your changes caused, then rerun that check. To tell whether a failure was there before, run the same key in a clean worktree of HEAD (git worktree add <tmp> HEAD, then remove it). Never use git stash for this: the stash stack is shared with every worktree. A failure that reproduces there is pre-existing; say so and move on.
Done when every check has either passed, logged against the current tree, or been named as pre-existing.
4. Slice
Group the survey into commits by intent: one coherent change per commit, with its own type and scope. A refactor that enabled a feature gets its own commit before the feature.
Show the slices to the user as a numbered list of type(scope): subject plus the paths under each, then commit without waiting for a reply unless the grouping notes asked to wait.
Done when every path from the survey belongs to exactly one slice.
5. Commit
Per slice: git add the slice's explicit paths, read git diff --staged --stat to confirm the staged set is exactly that slice, then commit.
Use conventional commits in the repo's commit style: imperative mood, subject under 80 chars, no trailing period, no Co-Authored-By trailer. Add a body only when the why is not obvious from the subject.
If a pre-commit hook rewrites files, fold its output into the same commit (git add the paths, git commit --amend --no-edit).
Done when git status is clean and git log shows one commit per slice.
6. Push
Push the branch, setting upstream when it has none. If the remote has moved, rebase onto it and rerun step 3 (unless --fast) before pushing.
Done when git status -sb reports no ahead count.
7. Open the PR (only with --pr)
Read ven-profile get repo.forge. With no cli set, print the title and body below and stop. The PR's base is repo.default_branch. When HEAD is the default branch (--force), there is nothing to open; say so and stop.
- Ask
repo.forge.cliwhether this branch already has an open PR. If it does, the push in step 6 already updated it: report its URL and stop. Never open a second PR. - Title: the single commit's subject, or for several commits one
type(scope): subjectline that covers them all, in the repo's commit style. - Body, written per technical-writing: why the change exists, what changed (one line per commit), and verification (each verify key with its result, or "skipped by
--fast", and any pre-existing failures). Followrepo.forge.pr_templatewhen it is set. - Create the PR with
repo.forge.cliagainst the base, passing the body through a file rather than inline quoting.
Done when the PR URL was read back from the code host.
Report
The branch, one line per commit, check results (including anything pre-existing, or "skipped by --fast"), the push destination, the PR URL (with --pr), and which flags were active.
04 同仓库更多 Skills
write-docs
Write or update documentation from the code: gather facts, pick the shape for the reader, write it plain, and prove every command and path in it. Use when asked to document a repo, module or feature, or to bring stale docs up to date.
why
Find why code is shaped the way it is (design rationale, trade-offs, regressions, odd thresholds) from history, tickets, docs and chat, citing every claim and stating its confidence. Use for 'why does X work this way', 'why did we pick Y', or before changing code whose purpose is unclear.
verify
Prove a change works with the check that matches its type, do the read-back, and log the pass against the exact tree. Use when a change is ready to call done, before review, commit or stopping, and whenever ven-decisions end refuses an unverified tree.
unslop
Cut AI writing tells (filler, model vocabulary, metaphor nouns, hedging, formatting tics) from text while keeping every fact. Use when editing or checking any prose before it ships: docs, PR bodies, reports, skill text.
type-discipline
Apply when designing types or data shapes, reviewing a signature, or handling outside data, in any language. Make wrong states fail early: in the compiler for typed languages, in validated runtime contracts for untyped ones.
to-tickets
Slice a spec into vertical tickets, each a complete brief a coder can finish without asking anything, with dependencies and file overlaps marked. Use after to-spec, when the user asks for tickets, or before handing work to coders.