con un clic
github
通过 GitHub CLI 自动化 Issue、PR、Review 与 CI 检查,适合工程协作闭环。
Menú
通过 GitHub CLI 自动化 Issue、PR、Review 与 CI 检查,适合工程协作闭环。
Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility. Identifies incompatibilities, generates fixes, and guides migration from AKS Standard to AKS Automatic. WHEN: migrate to AKS Automatic, check AKS Automatic readiness, validate manifests for Automatic, assess cluster for Automatic compatibility, fix deployment for Automatic compatibility, identify AKS Automatic migration blockers, is my cluster ready for AKS Automatic.
Plan, create, and configure production-ready Azure Kubernetes Service (AKS) clusters. Covers Day-0 checklist, SKU selection (Automatic vs Standard), networking options (private API server, Azure CNI Overlay, egress configuration), security, and operations (autoscaling, upgrade strategy, cost analysis). WHEN: create AKS environment, provision AKS, enable AKS observability, design AKS networking, choose AKS SKU, secure AKS, optimize AKS, AKS spot nodes, AKS cluster-autoscaler, rightsize AKS pod, pod rightsizing, over-provisioned AKS pod, pod resource requests and limits, Vertical Pod Autoscaler, VPA recommendations.
Guides and best practices for working with Neon Serverless Postgres. Covers setup, connection methods, branching, autoscaling, scale-to-zero, read replicas, connection pooling, Neon Auth, and the Neon CLI, MCP server, REST API, TypeScript SDK, and Python SDK. Use when users ask about "Neon setup", "connect to Neon", "Neon project", "DATABASE_URL", "serverless Postgres", "Neon CLI", "neonctl", "Neon MCP", "Neon Auth", "@neondatabase/serverless", "@neondatabase/neon-js", "scale to zero", "Neon autoscaling", "Neon read replica", or "Neon connection pooling".
Engineering observability and reliability through SLO/SLI design, distributed tracing, alerting, dashboards, capacity planning, toil automation, and reliability review. Use when designing observability instrumentation, defining SLOs/SLIs, building dashboards/alerts, or reviewing reliability posture.
Designing red team attack scenarios, building threat models, applying MITRE ATT&CK/OWASP frameworks, running Purple Team exercises, and performing AI/LLM red teaming. Use when adversarial security validation is needed.
Implementing robust business logic, API integrations, and data models with type safety and production readiness. Use when business logic implementation or API integration is needed.
| name | github |
| description | 通过 GitHub CLI 自动化 Issue、PR、Review 与 CI 检查,适合工程协作闭环。 |
| version | 1.0.0 |
| author | seaworld008 |
| source | in-house |
| source_url | |
| tags | ["automation", "github", "workflow"] |
| created_at | 2026-03-15 |
| updated_at | 2026-06-08 |
| quality | 2 |
| complexity | intermediate |
当任务涉及 GitHub 仓库协作(Issue/PR/CI/Review)时使用。GitHub 技能是连接本地代码环境与远程协作平台的桥梁,它通过封装 gh CLI 工具,使 Agent 能够执行从“创建 Issue 跟踪 Bug”到“合并经过评审的 PR”全生命周期的自动化管理。
npx clawhub@latest install github
gh-fix-ci 技能进行修复。gh pr list 和 gh issue list 中提取数据,生成具有洞察力的协作报告。gh 指令执行具体动作。MEMORY.md)。gh 认证优先在任何 GitHub 自动化前,先执行:
gh auth status
如果仓库脚本需要 GitHub API,但环境里没有显式的 GITHUB_TOKEN / GH_TOKEN,优先复用本机 gh auth token,而不是直接走未认证请求。这样可以显著减少:
401 UnauthorizedUnresolved 的 Issue。gh issue create 创建结构化 Issue。gh issue edit 增加标签(Label)、里程碑(Milestone)和受指派人(Assignee)。gh issue comment 与协作者进行交互。gh pr create --fill --draft。gh pr view --json reviews。gh pr merge --auto --squash。gh pr checks 确保所有的 CI 检查项均已通过。gh run list --limit 5。gh run view <run_id> --log。tavily-search 技能,搜索该报错日志在 StackOverflow 上的典型解决方案。gh api 调用更底层的 GraphQL 或 REST API 获取历史统计数据。git fetch origin --prune,再做 discovery / upstream sync。codex/ 分支与两个 PR。403 / 上游路径 404 要单独记录并在 PR 里说明。### 🚀 识别到的任务
- **标题**: [Feature] 支持 OAuth2 登录
- **标签**: `enhancement`, `high-priority`
- **里程碑**: `v2.0-Alpha`
- **描述**: 根据本轮 Slack 讨论,我们需要引入 Google 和 GitHub 的第三方授权登录。
### 执行的 CLI 命令
`gh issue create --title "[Feature] 支持 OAuth2 登录" --label enhancement --milestone v2.0-Alpha --body "..."`
# 查看最近一次失败的 workflow 详情并输出日志到 temp 文件
RUN_ID=$(gh run list --status failure --limit 1 --json databaseId -q '.[0].databaseId')
gh run view $RUN_ID --log > /tmp/ci-failure.log
gh-address-comments 和 github 技能。当发现有 Dependabot 的 PR 时,自动运行测试,若通过则自动执行 gh pr merge --squash。GITHUB_TOKEN 环境变量。--force)、删除 Release 或批量关闭 Issue 必须经过人类二次确认。gh api 或 gh search 可能触发 GitHub 的 Secondary Rate Limit。401、上游 fallback 探测时的中间 404、或短时网络故障误报成“仓库本身异常”;这类告警要和真实仓库回归分开汇报。git 环境进行人工 rebase。gh 变更动作必须先生成 Preview,告知用户“我将要在 GitHub 上执行什么”。merge 和 delete 动作,必须分两步确认。MEMORY.md 以便后续引用。Approve 动作应由人类执行。gh 操作的输出,方便事后审计。.github/ISSUE_TEMPLATE 提高规范度。