github-automation
Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). Manage code workflows, review PRs, search code, and handle deployments programmatically.
What this skill does
# GitHub Automation via Rube MCP Automate GitHub repository management, issue tracking, pull request workflows, branch operations, and CI/CD through Composio's GitHub toolkit. ## Prerequisites - Rube MCP must be connected (RUBE_SEARCH_TOOLS available) - Active GitHub connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `github` - Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas ## Setup **Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works. 1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds 2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `github` 3. If connection is not ACTIVE, follow the returned auth link to complete GitHub OAuth 4. Confirm connection status shows ACTIVE before running any workflows ## Core Workflows ### 1. Create and Manage Issues **When to use**: User wants to create, list, or manage GitHub issues **Tool sequence**: 1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - Find target repo if unknown [Prerequisite] 2. `GITHUB_LIST_REPOSITORY_ISSUES` - List existing issues (includes PRs) [Required] 3. `GITHUB_CREATE_AN_ISSUE` - Create a new issue [Required] 4. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Add comments to an issue [Optional] 5. `GITHUB_SEARCH_ISSUES_AND_PULL_REQUESTS` - Search across repos by keyword [Optional] **Key parameters**: - `owner`: Repository owner (username or org), case-insensitive - `repo`: Repository name without .git extension - `title`: Issue title (required for creation) - `body`: Issue description (supports Markdown) - `labels`: Array of label names - `assignees`: Array of GitHub usernames - `state`: 'open', 'closed', or 'all' for filtering **Pitfalls**: - `GITHUB_LIST_REPOSITORY_ISSUES` returns both issues AND pull requests; check `pull_request` field to distinguish - Only users with push access can set assignees, labels, and milestones; they are silently dropped otherwise - Pagination: `per_page` max 100; iterate pages until empty ### 2. Manage Pull Requests **When to use**: User wants to create, review, or merge pull requests **Tool sequence**: 1. `GITHUB_FIND_PULL_REQUESTS` - Search and filter PRs [Required] 2. `GITHUB_GET_A_PULL_REQUEST` - Get detailed PR info including mergeable status [Required] 3. `GITHUB_LIST_PULL_REQUESTS_FILES` - Review changed files [Optional] 4. `GITHUB_CREATE_A_PULL_REQUEST` - Create a new PR [Required] 5. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Post review comments [Optional] 6. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Verify CI status before merge [Optional] 7. `GITHUB_MERGE_A_PULL_REQUEST` - Merge after explicit user approval [Required] **Key parameters**: - `head`: Source branch with changes (must exist; for cross-repo: 'username:branch') - `base`: Target branch to merge into (e.g., 'main') - `title`: PR title (required unless `issue` number provided) - `merge_method`: 'merge', 'squash', or 'rebase' - `state`: 'open', 'closed', or 'all' **Pitfalls**: - `GITHUB_CREATE_A_PULL_REQUEST` fails with 422 if base/head are invalid, identical, or already merged - `GITHUB_MERGE_A_PULL_REQUEST` can be rejected if PR is draft, closed, or branch protection applies - Always verify mergeable status with `GITHUB_GET_A_PULL_REQUEST` immediately before merging - Require explicit user confirmation before calling MERGE ### 3. Manage Repositories and Branches **When to use**: User wants to create repos, manage branches, or update repo settings **Tool sequence**: 1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - List user's repos [Required] 2. `GITHUB_GET_A_REPOSITORY` - Get detailed repo info [Optional] 3. `GITHUB_CREATE_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER` - Create personal repo [Required] 4. `GITHUB_CREATE_AN_ORGANIZATION_REPOSITORY` - Create org repo [Alternative] 5. `GITHUB_LIST_BRANCHES` - List branches [Required] 6. `GITHUB_CREATE_A_REFERENCE` - Create new branch from SHA [Required] 7. `GITHUB_UPDATE_A_REPOSITORY` - Update repo settings [Optional] **Key parameters**: - `name`: Repository name - `private`: Boolean for visibility - `ref`: Full reference path (e.g., 'refs/heads/new-branch') - `sha`: Commit SHA to point the new reference to - `default_branch`: Default branch name **Pitfalls**: - `GITHUB_CREATE_A_REFERENCE` only creates NEW references; use `GITHUB_UPDATE_A_REFERENCE` for existing ones - `ref` must start with 'refs/' and contain at least two slashes - `GITHUB_LIST_BRANCHES` paginates via `page`/`per_page`; iterate until empty page - `GITHUB_DELETE_A_REPOSITORY` is permanent and irreversible; requires admin privileges ### 4. Search Code and Commits **When to use**: User wants to find code, files, or commits across repositories **Tool sequence**: 1. `GITHUB_SEARCH_CODE` - Search file contents and paths [Required] 2. `GITHUB_SEARCH_CODE_ALL_PAGES` - Multi-page code search [Alternative] 3. `GITHUB_SEARCH_COMMITS_BY_AUTHOR` - Search commits by author/date/org [Required] 4. `GITHUB_LIST_COMMITS` - List commits for a specific repo [Alternative] 5. `GITHUB_GET_A_COMMIT` - Get detailed commit info [Optional] 6. `GITHUB_GET_REPOSITORY_CONTENT` - Get file content [Optional] **Key parameters**: - `q`: Search query with qualifiers (`language:python`, `repo:owner/repo`, `extension:js`) - `owner`/`repo`: For repo-specific commit listing - `author`: Filter by commit author - `since`/`until`: ISO 8601 date range for commits **Pitfalls**: - Code search only indexes files under 384KB on default branch - Maximum 1000 results returned from code search - `GITHUB_SEARCH_COMMITS_BY_AUTHOR` requires keywords in addition to qualifiers; qualifier-only queries are not allowed - `GITHUB_LIST_COMMITS` returns 409 on empty repos ### 5. Manage CI/CD and Deployments **When to use**: User wants to view workflows, check CI status, or manage deployments **Tool sequence**: 1. `GITHUB_LIST_REPOSITORY_WORKFLOWS` - List GitHub Actions workflows [Required] 2. `GITHUB_GET_A_WORKFLOW` - Get workflow details by ID or filename [Optional] 3. `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` - Manually trigger a workflow [Required] 4. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Check CI status for a commit/branch [Required] 5. `GITHUB_LIST_DEPLOYMENTS` - List deployments [Optional] 6. `GITHUB_GET_A_DEPLOYMENT_STATUS` - Get deployment status [Optional] **Key parameters**: - `workflow_id`: Numeric ID or filename (e.g., 'ci.yml') - `ref`: Git reference (branch/tag) for workflow dispatch - `inputs`: JSON string of workflow inputs matching `on.workflow_dispatch.inputs` - `environment`: Filter deployments by environment name **Pitfalls**: - `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` requires the workflow to have `workflow_dispatch` trigger configured - Full path `.github/workflows/main.yml` is auto-stripped to just `main.yml` - Inputs max 10 key-value pairs; must match workflow's `on.workflow_dispatch.inputs` definitions ### 6. Manage Users and Permissions **When to use**: User wants to check collaborators, permissions, or branch protection **Tool sequence**: 1. `GITHUB_LIST_REPOSITORY_COLLABORATORS` - List repo collaborators [Required] 2. `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` - Check specific user's access [Optional] 3. `GITHUB_GET_BRANCH_PROTECTION` - Inspect branch protection rules [Required] 4. `GITHUB_UPDATE_BRANCH_PROTECTION` - Update protection settings [Optional] 5. `GITHUB_ADD_A_REPOSITORY_COLLABORATOR` - Add/update collaborator [Optional] **Key parameters**: - `affiliation`: 'outside', 'direct', or 'all' for collaborator filtering - `permission`: Filter by 'pull', 'triage', 'push', 'maintain', 'admin' - `branch`: Branch name for protection rules - `enforce_admins`: Whether protection applies to admins **Pitfalls**: - `GITHUB_GET_BRANCH_PROTECTION` returns 404 for unprotected branches; treat as no protection rules - Determine push ability from `permissions.push` or `role_name`, not display labels - `GITHUB_LIST_REPOSITORY_COLLABORATORS` paginates; iter
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.