github-workflow

GitHub 集成。管理仓库、Issue、Pull Request 和 GitHub Actions 工作流。通过 MorphixAI 代理安全访问 GitHub API。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "github-workflow" with this command: npx skills add paul-leo/github-workflow

GitHub 集成

通过 mx_github 工具管理 GitHub 仓库、Issue、PR 和 CI/CD 工作流。

前置条件

  1. 安装插件: openclaw plugins install openclaw-morphixai
  2. 获取 API Key: 访问 morphix.app/api-keys 生成 mk_xxxxxx 密钥
  3. 配置环境变量: export MORPHIXAI_API_KEY="mk_your_key_here"
  4. 链接账号: 访问 morphix.app/connections 链接 GitHub 账号,或通过 mx_link 工具链接(app: github

核心操作

查看当前用户

mx_github:
  action: get_user

列出仓库

mx_github:
  action: list_repos
  sort: "updated"
  per_page: 10

查看仓库详情

mx_github:
  action: get_repo
  repo: "owner/repo-name"

Issue 操作

列出 Issue(不含 PR):

mx_github:
  action: list_issues
  repo: "owner/repo"
  state: "open"
  per_page: 10

创建 Issue:

mx_github:
  action: create_issue
  repo: "owner/repo"
  title: "Bug: 登录页面加载异常"
  body: "## 问题描述\n登录页面在 Safari 中无法正常加载\n\n## 复现步骤\n1. 打开 Safari\n2. 访问登录页"
  labels: ["bug", "frontend"]
  assignees: ["username"]

更新 Issue:

mx_github:
  action: update_issue
  repo: "owner/repo"
  issue_number: 42
  state: "closed"

Pull Request 操作

列出 PR:

mx_github:
  action: list_pulls
  repo: "owner/repo"
  state: "open"

创建 PR:

mx_github:
  action: create_pull
  repo: "owner/repo"
  title: "feat: 添加用户登录功能"
  head: "feature/user-login"
  base: "main"
  body: "## 改动内容\n- 实现了 JWT 登录\n- 添加了单元测试"

GitHub Actions

查看工作流运行:

mx_github:
  action: list_workflow_runs
  repo: "owner/repo"
  per_page: 5

触发工作流:

mx_github:
  action: trigger_workflow
  repo: "owner/repo"
  workflow_id: "deploy.yml"
  ref: "main"
  inputs: { "environment": "staging" }

常见工作流

创建 Feature PR

1. mx_github: create_pull
     repo: "owner/repo", title: "feat: xxx", head: "feature/xxx", base: "main"
2. mx_github: list_workflow_runs  → 检查 CI 状态

查看项目 Issue 和 PR 概况

1. mx_github: list_issues, repo: "owner/repo", state: "open"
2. mx_github: list_pulls, repo: "owner/repo", state: "open"

注意事项

  • repo 参数格式为 "owner/repo"(如 "paul-leo/mini-tanka"
  • list_issues 自动过滤掉 PR(GitHub API 的 /issues 端点会返回 PR)
  • trigger_workflow 需要仓库有对应的 workflow 文件和 workflow_dispatch 触发器
  • account_id 参数通常省略,工具自动检测已链接的 GitHub 账号

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Miaoji Asin Clinic Pro

亚马逊ASIN诊所Pro版,90天行动计划+竞品对标+季节性优化日历。 从合规度、广告度、评论度、视觉度、内容度五维升级为可执行的长期作战方案。 基础功能可使用 miaoji-asin-clinic 免费版。

Registry SourceRecently Updated
Coding

wechat-publish-pro

Pure Python tool to convert Markdown to styled HTML and publish articles to WeChat official account drafts with AI-based content refinement and theme support.

Registry SourceRecently Updated
Coding

Miaoji Asin Clinic

基于ASIN和品类,快速诊断亚马逊Listing五维健康指数并智能排序修复优先级,提供详细分析与个性化修复方案。

Registry SourceRecently Updated
Coding

Toonany

A Claude Code skill for creating AI-generated short dramas (漫剧) from novels and stories. Use when user mentions "漫剧创作", "小说转剧本", "分镜生成", "短剧制作", "故事线生成", "大纲...

Registry SourceRecently Updated