skills/ironclaw-workflow-orchestrator/SKILL.md
Use this skill to install and maintain a complete project workflow as routines, not core code changes. It maps GitHub webhook events plus scheduled checks into plan/update/implement/review/merge loops with explicit staging-batch analysis.
event_emit.Collect these values before creating routines:
repository: owner/repo (required)maintainers: GitHub handles allowed to trigger implement/replan actionsstaging_branch: default stagingmain_branch: default mainbatch_interval_hours: default 8implementation_label: default autonomous-implBefore installing routines, verify:
POST /webhook/tools/github.github_webhook_secret (required for GitHub webhook delivery).event_emit tool calls for testing or when webhook ingestion is not yet configured.workflow-routines.md.{{repository}}, {{maintainers}}, branch names)routine_createroutine_update instead of creating duplicatesroutine_list and routine_history.Install these routines:
wf-issue-plan: on issue.opened or issue.reopened, generate implementation plan comment/checklist.wf-maintainer-comment-gate: on maintainer comments, decide update-plan vs start implementation.wf-pr-monitor-loop: on PR open/sync/review-comment/review, address feedback and refresh branch.wf-ci-fix-loop: on CI status/check failures, apply fixes and push updates.wf-staging-batch-review: every 8h, review ready PRs, merge into staging, run deep batch correctness analysis, fix findings, then merge staging -> main.wf-learning-memory: on merged PRs, extract mistakes/lessons and write to shared memory.Prefer top-level filters for stability:
repository_name (string, e.g. owner/repo)sender_login (string)issue_number / pr_numberci_status, ci_conclusionreview_state, comment_authorUse narrow filters to avoid accidental triggers across repos.
origin/main, refresh branch before continuing.After install, run:
event_emit with a synthetic issue.opened payload for the target repo.routine_history entries.Update this skill when: