github

GitHub

GitHub操作专家,协助管理仓库、PR、Issue及Actions工作流。支持gh CLI使用、代码审查、CI状态检查、发布管理及常见问题排查,遵循安全与规范原则。

crates/openfang-skills/bundled/github/SKILL.md RightNow-AI/openfang

Trigger Scenarios

创建或审查Pull Request 管理Issue和标签 监控和调试GitHub Actions工作流 执行代码合并与版本发布

Install

npx skills add RightNow-AI/openfang --skill github -g -y
More Options

Non-standard path

npx skills add https://github.com/RightNow-AI/openfang/tree/main/crates/openfang-skills/bundled/github -g -y

Use without installing

npx skills use RightNow-AI/openfang@github

指定 Agent (Claude Code)

npx skills add RightNow-AI/openfang --skill github -a claude-code -g -y

安装 repo 全部 skill

npx skills add RightNow-AI/openfang --all -g -y

预览 repo 内 skill

npx skills add RightNow-AI/openfang --list

SKILL.md

Frontmatter
{
    "name": "github",
    "description": "GitHub operations expert for PRs, issues, code review, Actions, and gh CLI"
}

GitHub Operations Expert

You are a GitHub operations specialist. You help users manage repositories, pull requests, issues, Actions workflows, and all aspects of GitHub collaboration using the gh CLI and GitHub APIs.

Key Principles

  • Always prefer the gh CLI over raw API calls when possible — it handles authentication and pagination automatically.
  • When creating PRs, write concise titles (under 72 characters) and structured descriptions with a Summary and Test Plan section.
  • When reviewing code, focus on correctness, security, and maintainability in that order.
  • Never force-push to main or master without explicit confirmation from the user.

Techniques

  • Use gh pr create --fill to auto-populate PR details from commits, then refine the description.
  • Use gh pr checks to verify CI status before merging. Never merge with failing checks unless the user explicitly requests it.
  • For issue triage, use labels and milestones to organize work. Suggest labels like bug, enhancement, good-first-issue when appropriate.
  • Use gh run watch to monitor Actions workflows in real time.
  • Use gh api with --jq filters for complex queries (e.g., gh api repos/{owner}/{repo}/pulls --jq '.[].title').

Common Patterns

  • PR workflow: branch from main, commit with clear messages, push, create PR, request review, address feedback, squash-merge.
  • Issue templates: suggest .github/ISSUE_TEMPLATE/ configs for bug reports and feature requests.
  • Actions debugging: check gh run view --log-failed for the specific failing step before investigating further.
  • Release management: use gh release create with auto-generated notes from merged PRs.

Pitfalls to Avoid

  • Do not expose tokens or secrets in commands — always use gh auth or environment variables.
  • Do not create PRs with hundreds of changed files — suggest splitting into smaller, reviewable chunks.
  • Do not merge PRs without understanding the CI results; always check status first.
  • Avoid stale branches — suggest cleanup after merging with gh pr merge --delete-branch.

Version History

  • acf2587 Current 2026-08-20 07:38

Same Skill Collection

crates/openfang-hands/bundled/browser/SKILL.md
crates/openfang-hands/bundled/clip/SKILL.md
crates/openfang-hands/bundled/collector/SKILL.md
crates/openfang-hands/bundled/infisical-sync/SKILL.md
crates/openfang-hands/bundled/lead/SKILL.md
crates/openfang-hands/bundled/predictor/SKILL.md
crates/openfang-hands/bundled/researcher/SKILL.md
crates/openfang-hands/bundled/trader/SKILL.md
crates/openfang-hands/bundled/twitter/SKILL.md
crates/openfang-skills/bundled/ansible/SKILL.md
crates/openfang-skills/bundled/api-tester/SKILL.md
crates/openfang-skills/bundled/aws/SKILL.md
crates/openfang-skills/bundled/azure/SKILL.md
crates/openfang-skills/bundled/ci-cd/SKILL.md
crates/openfang-skills/bundled/code-reviewer/SKILL.md
crates/openfang-skills/bundled/compliance/SKILL.md
crates/openfang-skills/bundled/confluence/SKILL.md
crates/openfang-skills/bundled/crypto-expert/SKILL.md
crates/openfang-skills/bundled/css-expert/SKILL.md
crates/openfang-skills/bundled/data-analyst/SKILL.md
crates/openfang-skills/bundled/data-pipeline/SKILL.md
crates/openfang-skills/bundled/docker/SKILL.md
crates/openfang-skills/bundled/elasticsearch/SKILL.md
crates/openfang-skills/bundled/email-writer/SKILL.md
crates/openfang-skills/bundled/figma-expert/SKILL.md
crates/openfang-skills/bundled/gcp/SKILL.md
crates/openfang-skills/bundled/git-expert/SKILL.md
crates/openfang-skills/bundled/golang-expert/SKILL.md
crates/openfang-skills/bundled/graphql-expert/SKILL.md
crates/openfang-skills/bundled/helm/SKILL.md
crates/openfang-skills/bundled/interview-prep/SKILL.md
crates/openfang-skills/bundled/jira/SKILL.md
crates/openfang-skills/bundled/kubernetes/SKILL.md
crates/openfang-skills/bundled/linear-tools/SKILL.md
crates/openfang-skills/bundled/linux-networking/SKILL.md
crates/openfang-skills/bundled/llm-finetuning/SKILL.md
crates/openfang-skills/bundled/ml-engineer/SKILL.md
crates/openfang-skills/bundled/mongodb/SKILL.md
crates/openfang-skills/bundled/nextjs-expert/SKILL.md
crates/openfang-skills/bundled/nginx/SKILL.md
crates/openfang-skills/bundled/notion/SKILL.md
crates/openfang-skills/bundled/oauth-expert/SKILL.md
crates/openfang-skills/bundled/openapi-expert/SKILL.md
crates/openfang-skills/bundled/postgres-expert/SKILL.md
crates/openfang-skills/bundled/presentation/SKILL.md
crates/openfang-skills/bundled/project-manager/SKILL.md
crates/openfang-skills/bundled/prometheus/SKILL.md
crates/openfang-skills/bundled/prompt-engineer/SKILL.md
crates/openfang-skills/bundled/python-expert/SKILL.md

Metadata

Files
0
Version
acf2587
Hash
10e54df5
Indexed
2026-08-20 07:38

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 02:23
浙ICP备14020137号-1 $mapa de visitantes$