跳到正文
cccskills
免费在 GitHub 公开

github

GitHub patterns using gh CLI for pull requests, stacked PRs, code review, branching strategies, and repository automation. Use when working with GitHub PRs, merging strategies, or repository management tasks.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(3)

  • SKILL.md1.8 KB
  • agents/openai.yaml186 B
  • references/stacked-pr-workflow.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

GitHub Patterns

Tools

Use gh CLI for all GitHub operations. Prefer CLI over GitHub MCP servers for lower context usage.

Quick Commands

# Create a PR from the current branch
gh pr create --title "feat: add feature" --body "Description"

# Squash-merge a PR
gh pr merge <PR_NUMBER> --squash --title "feat: add feature (#<PR_NUMBER>)"

# View PR status and checks
gh pr status
gh pr checks <PR_NUMBER>

Stacked PR Workflow Summary

When merging a chain of stacked PRs (each targeting the previous branch):

  1. Merge the first PR into main via squash merge
  2. For each subsequent PR: rebase onto main, update base to main, then squash merge
  3. On conflicts: stop and ask the user to resolve manually
# Rebase next PR's branch onto main, excluding already-merged commits
git rebase --onto origin/main <old-base-branch> <next-branch>
git push --force-with-lease origin <next-branch>
gh pr edit <N> --base main
gh pr merge <N> --squash --title "<PR title> (#N)"

See stacked-pr-workflow.md for full step-by-step details.

Quick Reference

FileDescription
stacked-pr-workflow.mdMerge stacked PRs into main as individual squash commits

Problem -> Skill Mapping

ProblemStart With
Merge stacked PRs cleanlystacked-pr-workflow.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit web pages and components for WCAG 2.2 accessibility compliance. Use when a user asks to check accessibility, find a11y issues, audit for WCAG compliance, fix screen reader problems, check color contrast, ensure keyboard navigation works, or prepare for accessibility regulations like the European Accessibility Act or ADA.

中文简介正在准备中。当前显示原文说明。

jaem1n207/synchronize-tab-scrolling192026年10月19日 更新

Perform thorough code reviews with actionable, prioritized feedback. Use when a user asks to review code, check code quality, find bugs, review a pull request, audit code for issues, or get feedback on implementation. Covers correctness, security, performance, readability, and best practices across languages.

中文简介正在准备中。当前显示原文说明。

jaem1n207/synchronize-tab-scrolling192026年10月19日 更新

eslint

免费

ESLint is the standard linting tool for JavaScript and TypeScript projects. It statically analyzes your code to find problems, enforce coding conventions, and catch bugs before they reach production. ESLint 9 introduced the flat config format, replacing the legacy `.eslintrc` system with a simpler, more composable `eslint.config.js` file. With a rich plugin ecosystem covering React, TypeScript, accessibility, and import ordering, ESLint is the backbone of code quality in modern web development.

中文简介正在准备中。当前显示原文说明。

jaem1n207/synchronize-tab-scrolling192026年10月19日 更新

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

中文简介正在准备中。当前显示原文说明。

jaem1n207/synchronize-tab-scrolling192026年10月19日 更新

GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API.

中文简介正在准备中。当前显示原文说明。

jaem1n207/synchronize-tab-scrolling192026年10月19日 更新

i18next

免费

Internationalize JavaScript apps with i18next. Use when adding translations, handling plurals, loading locale files dynamically, or i18n for React/Vue/Node.

中文简介正在准备中。当前显示原文说明。

jaem1n207/synchronize-tab-scrolling192026年10月19日 更新

查看 jaem1n207 的全部技能

报告此技能的问题