Agent Skillsnearai/ironclaw › github-workflow

github-workflow

GitHub

自动化GitHub仓库从Issue到Merge的全流程工作流,涵盖计划、PR监控、CI修复、预发审查及合并后复盘,通过Webhook和Cron触发。

docs/internal/archived-skills/github-workflow/SKILL.md nearai/ironclaw

Trigger Scenarios

需要为GitHub仓库配置自动化的Issue到Merge工作流 希望自动化处理PR监控、CI失败修复或预发代码审查

Install

npx skills add nearai/ironclaw --skill github-workflow -g -y
More Options

Non-standard path

npx skills add https://github.com/nearai/ironclaw/tree/main/docs/internal/archived-skills/github-workflow -g -y

Use without installing

npx skills use nearai/ironclaw@github-workflow

指定 Agent (Claude Code)

npx skills add nearai/ironclaw --skill github-workflow -a claude-code -g -y

安装 repo 全部 skill

npx skills add nearai/ironclaw --all -g -y

预览 repo 内 skill

npx skills add nearai/ironclaw --list

SKILL.md

Frontmatter
{
    "name": "github-workflow",
    "version": "0.1.0",
    "requires": {
        "skills": [
            "github"
        ]
    },
    "activation": {
        "tags": [
            "developer",
            "github",
            "automation",
            "workflow"
        ],
        "keywords": [
            "github workflow",
            "CI automation",
            "PR automation",
            "automate repo",
            "issue to merge",
            "workflow setup",
            "github automation"
        ],
        "patterns": [
            "(?i)(set ?up|install|enable).*(workflow|automation) for .+\/.+",
            "(?i)automate (this |my )?(repo|repository|PRs|CI)",
            "(?i)github (workflow|automation|pipeline)"
        ],
        "max_context_tokens": 2000
    },
    "description": "Install and operate a full GitHub issue-to-merge workflow for any repository using event-driven and cron missions. Handles issue planning, PR monitoring, CI fixing, staging review, and post-merge learning."
}

GitHub Workflow Automation

Install and maintain a complete issue-to-merge workflow for any GitHub repository. Maps GitHub webhook events and cron schedules into automated missions for planning, implementation, review, CI fixing, staging validation, and post-merge learning.

Workflow

  1. Gather project parameters from projects/<owner>-<repo>/project.md or ask the user.
  2. Verify runtime prerequisites.
  3. Install or update mission set from templates.
  4. Run a dry test with event_emit.
  5. Monitor outcomes and tune prompts/filters.

Parameters

Read these from the project file in workspace, or collect from the user:

  • repository: owner/repo (required)
  • maintainers: GitHub handles allowed to trigger implement/replan actions
  • staging_branch: default staging (or null if no staging workflow)
  • main_branch: default main
  • batch_interval_hours: default 8

Prerequisites

Before installing missions, verify:

  • GitHub skill authenticated (for issue/PR/comment/status operations).
  • GitHub webhook delivery configured to POST /webhook/tools/github.
  • Webhook HMAC secret configured in the secrets store as github_webhook_secret.
  • Events can also be emitted via event_emit tool for testing.

Install Procedure

  1. Open workflow-routines.md.
  2. For each template block:
    • Replace placeholders ({{repository}}, {{maintainers}}, branch names)
    • Namespace mission names with the repo slug (e.g. wf-issue-plan-nearai-ironclaw)
    • Call mission_create with name, goal (the prompt), and cadence (cron expression or event:<pattern>)
  3. If a mission already exists (check mission_list), update rather than duplicate.
  4. If staging_branch is null, skip wf-staging-batch-review.
  5. Write installation status to projects/<owner>-<repo>/project.md.
  6. Confirm install with mission_list.

Mission Set

Install these missions per repository:

  • wf-issue-plan-<slug>: on issue.opened or issue.reopened, generate implementation plan comment.
  • wf-maintainer-gate-<slug>: on maintainer comments, decide update-plan vs start implementation.
  • wf-pr-monitor-<slug>: on PR open/sync/review-comment/review, address feedback and refresh branch.
  • wf-ci-fix-<slug>: on CI status/check failures, apply fixes and push updates.
  • wf-staging-review-<slug>: every N hours, review ready PRs, merge into staging, run batch correctness analysis, fix findings, then merge staging to main.
  • wf-learning-<slug>: on merged PRs, extract mistakes/lessons and write to shared memory.

Event Filters

Use top-level filters for stability:

  • repository_name (e.g., owner/repo)
  • sender_login, comment_author
  • issue_number, pr_number
  • ci_status, ci_conclusion
  • review_state, pr_merged

Operating Rules

  • All implementation work on non-main branches.
  • PR loop must resolve both human and AI review comments.
  • On conflicts with origin/main, refresh branch before continuing.
  • Staging-batch is the only path for bulk correctness verification before mainline merge.
  • Memory update runs only after successful merge.

Validation

After install, run:

  1. event_emit with a synthetic issue.opened payload for the target repo.
  2. Confirm at least one mission fired.
  3. Check corresponding mission status.
  4. Confirm no unrelated missions fired.

Version History

  • 5380a32 Current 2026-08-20 07:08

Same Skill Collection

.claude/skills/architecture-video/SKILL.md
.claude/skills/ironclaw-reborn-architecture-review/SKILL.md
.claude/skills/ironclaw-reborn-orientation/SKILL.md
.claude/skills/ironclaw-reborn-skill-maintainer/SKILL.md
.claude/skills/ironclaw-reborn-testing/SKILL.md
.claude/skills/mintlify-docs/SKILL.md
.claude/skills/railway-test/SKILL.md
.claude/skills/reborn-extension-surfaces/SKILL.md
.claude/skills/reborn-feature/SKILL.md
.claude/skills/thermo-nuclear-code-quality-review/SKILL.md
docs/internal/archived-skills/ceo-setup/SKILL.md
docs/internal/archived-skills/code-review/SKILL.md
docs/internal/archived-skills/commitment-setup/SKILL.md
docs/internal/archived-skills/content-creator-setup/SKILL.md
docs/internal/archived-skills/developer-setup/SKILL.md
docs/internal/archived-skills/github/SKILL.md
docs/internal/archived-skills/linear/SKILL.md
docs/internal/archived-skills/llm-council/SKILL.md
docs/internal/archived-skills/local-test/SKILL.md
docs/internal/archived-skills/new-project/SKILL.md
docs/internal/archived-skills/parallel-pr-review/SKILL.md
docs/internal/archived-skills/plan-mode/SKILL.md
docs/internal/archived-skills/portfolio/SKILL.md
docs/internal/archived-skills/project-setup/SKILL.md
docs/internal/archived-skills/trader-setup/SKILL.md
docs/internal/archived-skills/web-ui-test/SKILL.md
skills/coding/SKILL.md
skills/commitment-digest/SKILL.md
skills/commitment-triage/SKILL.md
skills/decision-capture/SKILL.md
skills/delegation-tracker/SKILL.md
skills/delegation/SKILL.md
skills/idea-parking/SKILL.md
skills/product-prioritization/SKILL.md
skills/qa-review/SKILL.md
skills/review-checklist/SKILL.md
skills/review-readiness/SKILL.md
skills/routine-advisor/SKILL.md
skills/security-review/SKILL.md
skills/tech-debt-tracker/SKILL.md
skills/commit/SKILL.md

Metadata

Files
0
Version
5380a32
Hash
0e730ca5
Indexed
2026-08-20 07:08

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