git-workflow
Prepare branches, commits, pull requests, stacked-PR plans, authorized merges, release checklists, or safe worktree and simulator cleanup.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- git-workflow
- description
- Prepare branches, commits, pull requests, stacked-PR plans, authorized merges, release checklists, or safe worktree and simulator cleanup.
02 资源文件 5
- 参考文档agents/openai.yaml287 B
- 参考文档references/attaching-media.md2.5 KB
- 参考文档references/opening-a-pr.md5.7 KB
- 参考文档references/stacked-pr.md3.7 KB
- 参考文档references/worktree-and-simulator-cleanup.md2.1 KB
03 SKILL.md 正文
Git and releases
Use this skill for commit or PR preparation, stacked-PR planning, an authorized merge, release preparation, or requested worktree cleanup. Follow repository templates and policies before these defaults. This skill defines conventions, not permission to commit, push, open or merge a PR, publish a release, or delete user state.
Choose the procedure
- For an authorized PR, read Opening a PR. For PR feedback or a request to watch CI, use Resolve PR comments; open a PR and monitor it for personal repos.
- For a large change or dependent PRs, read Stacked PRs. It owns the decision gates and native
gh stackcommands. - For local screenshots or recordings that belong on a GitHub PR, read Attaching media to a pull request. Upload only to the intended repository and PR.
Branch & PR titles
- Use short, descriptive branch names such as
fix/issue-123orfeat/session-cache. - Use
type(scope): subjectfor PR titles and commit subjects. Choosefeat,fix,docs,refactor,test,chore, orperf; name the affected area in the scope. Write a short, imperative subject without a final period. - Explain the problem and reason for the change before implementation details. Name concrete behavior, relevant symbols, compatibility changes, and material decisions.
- Use
Why,Scope,Tradeoffs,Blast Radius, andVerificationsections when useful, not as a required template. Omit empty sections and boilerplate. - State relevant validation commands and results, plus material checks omitted and why. Reuse evidence under the programming validation guidance; preparing a commit or PR does not add a test gate.
- Include screenshots or videos for user-visible changes when they substantiate a claim or improve reviewability. Keep commit bodies focused on rationale that the subject and diff do not explain.
Merges and releases
For authorized merges, follow the repository's merge policy. Do not infer squash, merge-commit, or rebase strategy from the target branch name. If no policy is available and the strategy affects history or a stacked change, ask before merging.
For release preparation, follow the repository's release checklist. Stop at the requested deliverable without inferring permission to publish or deploy.
04 同仓库更多 Skills
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
workflow-from-chats
Extract preferences from agent chats → skills, rules, workflow docs. For learning preferences, mining feedback, personalizing workflows.
winui3-csharp-app
WinUI 3 / Windows App SDK desktop apps in C#/XAML. MVVM, bindings, navigation, Mica/Acrylic, windowing, packaging, performance.
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
what-did-i-get-done
Summarize authored commits over a user-specified time period into a concise status update.
weekly-review
Produce a short weekly synthesis of authored commits with highlights by bugfix, tech debt, and net-new work.