用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/GavinGreenwood/agentic-workflow-template --skill morning命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | morning |
| description | User-invoked only. Daily routine: main-branch health, nightly CI triage, Dependabot review |
| disable-model-invocation | true |
Run the full morning maintenance sequence in order.
Use the gh CLI to fetch the most recent workflow runs for this repo triggered by a push to the main branch. Look at the most recent 3 completed push-triggered runs on main (not scheduled runs).
gh run list --branch main --event push --limit 10 --json databaseId,displayTitle,status,conclusion,createdAt,headSha,workflowName
Filter to status: completed runs only (skip any that are in_progress). For each run:
Determine the current health of main:
If main is Red:
gh run view <run-id> --json jobsgh run view <run-id> --log-failed⚠️ MAIN IS BROKEN
Pipeline: <number> — <date>
Failed job: <job name>
Root cause: <one-line summary>
.agents/skills/capture/SKILL.md to log it, then read and follow .agents/skills/pickup/SKILL.md with the new ticket key to start work immediately.If main is Green, output: "✅ Main is green." and continue.
If main is Unknown (no recent push pipelines found), output: "⚪ Main health unknown — no push pipelines found since last check." and continue. Do not treat Unknown as a failure.
Read and follow .agents/skills/nightly-check/SKILL.md in full.
Wait for it to complete before proceeding. If it surfaces any tickets that were created and picked up, note the ticket IDs — they are now in progress.
Read and follow .agents/skills/dependabot-review/SKILL.md in full.
Wait for it to complete before proceeding.
Print a final summary of everything actioned this morning:
## Morning Summary — <today's date>
### Main branch
<Green / Red — root cause if broken, ticket created if actioned>
### Nightly CI
<pass/fail counts, tickets created, any open issues>
### Dependabot
<merged PRs, failing PRs diagnosed, PRs pending>
### Next up
<any tickets now In Progress that need work today>
If there is nothing to action across all steps, output: "✅ All clear — main is green, nightly runs green, no Dependabot PRs outstanding."