Agent Skills › cobusgreyling/loop-engineering

cobusgreyling/loop-engineering

GitHub

在循环运行前后检查Token预算与日志,防止超支。若支出达阈值或无待办事项则提前退出,限制子代理生成,确保资源高效利用并自动记录运行结果。

38 skills 7,007

Install All Skills

npx skills add cobusgreyling/loop-engineering --all -g -y
More Options

List skills in collection

npx skills add cobusgreyling/loop-engineering --list

Skills in Collection (38)

在循环运行前后检查Token预算与日志,防止超支。若支出达阈值或无待办事项则提前退出,限制子代理生成,确保资源高效利用并自动记录运行结果。
用户询问循环运行的预算控制逻辑 需要分析或调试自动化循环中的资源消耗与状态
skills/loop-budget/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-budget -g -y
SKILL.md
Frontmatter
{
    "name": "loop-budget",
    "description": "Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work."
}

Loop Budget Guard

Run at the start and end of every loop iteration.

Start of run

  1. Read loop-budget.md for daily caps and kill-switch flags.
  2. Read recent entries in loop-run-log.md (last 24h).
  3. Sum tokens_estimate for the active pattern today.
  4. If spend ≥ 80% of the pattern's daily cap → report-only mode (no sub-agents, no auto-fix).
  5. If spend ≥ 100% or loop-pause-all is set → exit immediately with a one-line note in STATE.md.
  6. If watchlist/state has no actionable items → exit in <5k tokens (do not spawn sub-agents).

End of run

Append one JSON object to loop-run-log.md:

{
  "run_id": "<ISO8601>",
  "pattern": "<pattern-id>",
  "duration_s": <number>,
  "items_found": <number>,
  "actions_taken": <number>,
  "escalations": <number>,
  "tokens_estimate": <number>,
  "outcome": "no-op | report-only | fix-proposed | escalated"
}

Rules

  • Never exceed max sub-agent spawns/run from loop-budget.md.
  • High-cadence patterns (CI Sweeper, PR Babysitter) must early-exit when nothing is actionable.
  • On self-throttle, append a line to loop-budget.md under Alerts This Period.
作为前置安全护栏,强制加载并执行loop-constraints.md中的规则。在triage或任何操作技能前运行,检查暂停状态、路径白黑名单及代码限制,确保所有行动符合约束条件,否则立即停止并提示人工审批。
系统启动或执行任何动作技能前 需要读取项目根目录的loop-constraints.md文件时
skills/loop-constraints/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-constraints -g -y
SKILL.md
Frontmatter
{
    "name": "loop-constraints",
    "description": "Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.\n",
    "user_invocable": true
}

Loop Constraints Enforcer

You are the guardrail. Before any other work begins, you MUST:

  1. Read loop-constraints.md from the project root.
  2. Load every rule into your working memory.
  3. Check if loop-pause-all is active → exit immediately.
  4. Apply these rules to EVERY action that follows.

How to enforce

  • Before pushing: re-read the Push & Merge section. If ANY rule blocks it, stop and tell the human.
  • Before editing a file: re-read the Paths section. If the path matches a denylist pattern, escalate.
  • Before proposing a fix: re-read the Code section. Run tests. One fix per run.
  • Before merging: re-read the Push & Merge section. Human must approve.

Output at start of run

Always begin with a one-line confirmation:

Constraints loaded from loop-constraints.md: N rules active.

If no loop-constraints.md exists, say so and proceed with default safety rules from docs/safety.md.

Interaction with other skills

  • loop-triage — constraints may override triage priority (e.g. "don't push" means don't act on CI fixes)
  • minimal-fix — constraints limit what files can be touched
  • loop-verifier — constraints define denylist paths the verifier must check
  • loop-budget — constraints may impose stricter budget than loop-budget.md

Default constraints (when no file exists)

If loop-constraints.md is absent, enforce these minimums:

  • Never edit .env, .env.*, auth/, payments/, secrets/, credentials/
  • Never auto-merge to main
  • Never disable tests
  • Escalate after 3 failed fix attempts
作为专家级工程分诊代理,分析CI失败、问题、提交和对话,生成简洁的优先级报告供循环处理。输出包含高优先级项、观察项、噪音及状态更新,旨在提供可操作信号而非架构建议。
用户要求对近期工程变更进行分诊 需要生成包含CI失败、Issue和Commits的优先级行动报告 循环系统需要结构化的状态更新和下一步行动建议
skills/loop-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-triage -g -y
SKILL.md
Frontmatter
{
    "name": "loop-triage",
    "description": "Triage recent changes, CI failures, issues, and conversations. Produces a concise, actionable findings report suitable for a loop to consume. Writes structured output to a state file or Linear board.\n",
    "user_invocable": true
}

Loop Triage Skill

You are an expert engineering triage agent. Your job is to produce a clean, prioritized list of things that a loop should consider acting on.

Inputs (the loop will provide these)

  • Recent CI / test failures (last 24h)
  • Open issues / Linear tickets assigned to the team
  • Recent commits on main (last 24–48h)
  • Any Slack / chat threads the loop has visibility into
  • The current state file (what the loop already knows about)

Output Format

Produce a markdown report with these sections:

1. High-Priority Items (act on these)

  • Clear, one-line description
  • Why it matters (impact, risk, or customer pain)
  • Suggested next action for the loop (e.g. "draft minimal fix in isolated worktree")
  • Rough effort estimate

2. Watch Items (monitor, do not act yet)

  • Same format but lower urgency

3. Noise / Ignore

  • Brief list of things the loop looked at and decided were not worth action

4. State Updates

  • Any facts the loop should remember for the next run (e.g. "PR #1234 now has 2 approvals")

Rules

  • Be brutally concise. The loop (and the human reading the state) will thank you.
  • Only put something in "High-Priority" if a reasonable engineer would want to know about it today.
  • When in doubt, put it in Watch or Noise rather than creating work.
  • Never propose architectural overhauls during triage — this skill is for signal, not invention.
  • Respect the project's existing skills and conventions (they will be provided in context).
独立验证代理,用于审查循环生成的代码变更。通过检查范围、意图、测试结果及风险,默认持拒绝立场,仅在证据充分时批准,否则拒绝或升级人工审核。
实现者子代理完成代码修改后 需要独立第三方验证代码变更的合规性与正确性时
skills/loop-verifier/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-verifier -g -y
SKILL.md
Frontmatter
{
    "name": "loop-verifier",
    "description": "Independent verification agent for loop-produced changes. Finds reasons to reject. Runs tests. Confirms diff scope. Use after minimal-fix or any implementer sub-agent — never in the same role as the implementer.\n",
    "user_invocable": true
}

Loop Verifier Skill

You are the checker in a maker/checker split. Your job is to reject unless evidence is strong.

Inputs

  • Implementer's proposal summary and diff
  • Original issue / CI failure / comment being addressed
  • Project test/lint commands
  • Allowed file scope (if specified by the loop)

Checklist (all must pass for APPROVE)

  1. Scope: Only relevant files changed; no denylist paths; no unrelated edits.
  2. Intent: Change clearly addresses the stated target — not a different problem.
  3. Tests: You ran tests (or equivalent) and report pass/fail with output snippet.
  4. No cheating: No disabled tests, skipped assertions, or commented-out checks.
  5. Risk: For medium+ risk, recommend human review even if tests pass.

Output

## Verdict: APPROVE | REJECT | ESCALATE_HUMAN

### Evidence
- Tests: (command + result)
- Scope check: (pass/fail + notes)

### If REJECT
- Reasons: (numbered, specific)
- Suggested next step for implementer

Rules

  • Default stance: REJECT until proven otherwise.
  • Do not trust implementer's claim that tests passed — run them.
  • If you cannot run tests (env issue) → ESCALATE_HUMAN.
  • Be concise. The loop and human read this under time pressure.
专注于以最小代码变更修复特定明确问题(如CI失败、注释或拼写错误)。严格限制修改范围,禁止无关重构,遵循安全路径黑名单,并输出包含目标、差异摘要及验证结果的标准化修复提案。
收到具体的CI构建失败日志或错误信息 需要响应代码审查中的具体修改意见 发现并需修复明确的代码缺陷或拼写错误
skills/minimal-fix/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill minimal-fix -g -y
SKILL.md
Frontmatter
{
    "name": "minimal-fix",
    "description": "Produce the smallest possible code change that fixes a specific, well-scoped issue (CI failure, reviewer comment, typo). Use only when the fix target is explicit. Never refactor unrelated code.\n",
    "user_invocable": true
}

Minimal Fix Skill

You fix one specific problem with the smallest diff that could work.

Inputs

  • Exact failure message, reviewer comment, or issue description
  • File(s) implicated (if known)
  • Project build/test commands (from AGENTS.md or project skills)
  • Path denylist (from loop safety policy — never edit .env, auth/, payments/, secrets)

Process

  1. Reproduce or confirm the failure locally if possible.
  2. Identify the minimal root cause — not symptoms in distant files.
  3. Change only what is required. No drive-by refactors.
  4. Run tests/lint relevant to the change.
  5. Summarize: what changed, why, what you ran.

Output

## Minimal Fix Proposal

### Target
(one sentence)

### Diff summary
(files + what changed)

### Verification run
(command + result)

### Risks / human review needed?
(yes/no + why)

Rules

  • One problem per invocation. Multiple failures → escalate or triage first.
  • Respect denylist paths — escalate instead of editing.
  • Prefer worktree isolation when the loop runs unattended.
  • Do not mark your own work done — the verifier decides.
该技能用于扫描合并的PR和提交,提取标题、标签及信号,生成结构化的发布说明草稿。它按功能、修复等分类输出,并记录扫描窗口状态,严禁未经批准发布或打标签。
需要生成版本更新日志时 准备发布新版本前
starters/changelog-drafter-opencode/skills/changelog-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill changelog-scan -g -y
SKILL.md
Frontmatter
{
    "name": "changelog-scan",
    "description": "Scan merged PRs and commits since a given reference, extract titles, labels, types, and signals. Produces structured input for release notes drafting.\n",
    "user_invocable": true
}

Changelog Scan Skill

You are a changelog drafting agent. Scan merges and produce release notes.

Scan Sources

  • git log --merges --oneline <last-tag>..HEAD
  • PR labels and milestones
  • Commit messages since last tag

Categories

  • Features
  • Bug fixes
  • Documentation
  • Dependencies
  • Breaking changes
  • Security

Output

  • Categorized draft in RELEASE_NOTES_DRAFT.md
  • Update changelog-drafter-state.md with scan window

Rules

  • Never publish or tag without explicit human approval.
  • Surface breaking changes and security items explicitly.
  • L1: draft only — no PRs, no tags.
扫描最近的合并、PR或提交以提取发布说明内容,生成结构化输出供草稿撰写使用。需引用PR号,明确标记破坏性变更和安全问题,忽略普通依赖和机器人噪音。
需要生成软件版本更新日志时 审查近期代码变更以识别重要功能或修复时
starters/changelog-drafter/.claude/skills/changelog-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill changelog-scan -g -y
SKILL.md
Frontmatter
{
    "name": "changelog-scan",
    "description": "Scan recent merges\/PRs\/commits for release note content. Structured output for drafter.",
    "user_invocable": true
}

Changelog Scan (Claude)

Same contract as the Grok version. Produce the per-item blocks + Scan Summary.

Key rules: cite PR numbers, surface breaking/security explicitly, ignore pure dep and bot noise unless security.

将变更日志扫描结果转化为分类清晰、格式规范的发布说明草稿。自动将破坏性变更和安全修复置顶,并附加人工复核提示,适用于快速生成标准化的版本更新文档。
需要生成版本发布说明 基于变更日志整理发布内容
starters/changelog-drafter/.claude/skills/draft-release-notes/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill draft-release-notes -g -y
SKILL.md
Frontmatter
{
    "name": "draft-release-notes",
    "description": "Turn changelog-scan output into polished, categorized release notes draft. Propose only.",
    "user_invocable": true
}

Draft Release Notes (Claude)

Follow the exact structure and rules from the Grok draft-release-notes skill.

Output a clean RELEASE_NOTES_DRAFT.md (or clear section the loop can persist). Always flag breaking + security at top. End with review note for human.

扫描自上次发布以来的合并项,提取PR标题、类型、标签及破坏性/安全信号。过滤无关提交,输出结构化数据供发布说明生成器使用,并附带统计摘要与后续行动建议。
需要生成版本更新日志时 执行 changelog-drafter 循环流程时
starters/changelog-drafter/.grok/skills/changelog-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill changelog-scan -g -y
SKILL.md
Frontmatter
{
    "name": "changelog-scan",
    "description": "Scan recent merges to main (and noteworthy direct commits) since a given window (last tag or date in state). Extract titles, labels, types, linked issues, and signals for breaking changes or security. Produces structured input for a release notes drafter. Use in changelog-drafter loops.\n",
    "user_invocable": true
}

Changelog Scan Skill

Inputs the loop will provide

  • Last release tag or previous run timestamp (from state or git)
  • Current date / "now"
  • Any explicit "since" override

Output Format (one block per significant item)

### PR #1234 — feat(auth): add magic link login (merged 2026-06-08)
- Type: feature
- Labels: enhancement
- Breaking: no
- Security: no
- Linked: #1220
- Summary (one sentence from PR or commit): Users can now log in via emailed magic links.
- Files touched (high level): auth/, emails/

Rules for what to include:

  • All merged PRs to main in the window.
  • Direct commits on main that look user-facing (conventional commit feat/fix/perf/security or have linked issues).
  • Ignore pure dependency bumps, internal chores, and bot PRs unless they are security-related (those are handled by dependency-sweeper).

Additional Signals to Surface

  • Any PR or commit message containing "BREAKING", "breaking change", or ! conventional commit.
  • Security-related keywords or labels (CVE, vuln, security).
  • Items with "deprecate" or "remove" language.

Output Summary Section (always at end)

## Scan Summary
- Total items: N
- Features: N
- Fixes: N
- Breaking: N (list them)
- Security: N (list them)
- Recommended next action for loop: draft-release-notes | human review needed first | too many items — split window

Be precise and cite sources (PR numbers / shas). Do not invent details.

接收变更扫描结果,按类别生成结构化的发布说明草稿。遵循项目语气,突出破坏性更新和安全项,确保内容准确无夸大,最终输出待人工审核的草稿文件。
用户请求生成版本发布说明 完成 changelog-scan 后自动生成草稿
starters/changelog-drafter/.grok/skills/draft-release-notes/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill draft-release-notes -g -y
SKILL.md
Frontmatter
{
    "name": "draft-release-notes",
    "description": "Takes a structured list of changes from changelog-scan and produces a clean, categorized, user-facing release notes draft. Follows project voice and conventions. Never publishes — only proposes a draft file or section.\n",
    "user_invocable": true
}

Draft Release Notes Skill

Inputs

  • Structured output from changelog-scan (the list of items + summary)
  • Previous release version (from state)
  • Target next version (or "unreleased" / "next")
  • Optional: short "Release voice" guidance from AGENTS.md or a project skill (tone, what to highlight, what to omit)

Output

Write a ready-to-review draft to RELEASE_NOTES_DRAFT.md (or print it clearly so the loop can save it).

Use this structure (adapt section names to what actually exists; omit empty sections):

# Release Notes — vX.Y.Z (unreleased)

## Breaking Changes
- ...

## Features
- ...

## Bug Fixes
- ...

## Performance
- ...

## Security
- ...

## Documentation & Examples
- ...

## Internal / Maintenance (usually omitted from public notes)
- ...

**Thanks** to @contributor1, @contributor2 for contributions to this release.

**Full changelog**: https://github.com/ORG/REPO/compare/vPREV...HEAD

Rules

  • Be concise and scannable. One line per item when possible, with link to PR.
  • Use the actual title / one-sentence summary from the scan. Do not embellish or add marketing fluff unless the project voice explicitly wants it.
  • Always call out breaking changes and security items at the top.
  • If a change has a user upgrade step that is obvious from the PR, include a one-sentence "Upgrade note".
  • Never claim a change was made if it was not in the scanned input.
  • At the very end of the draft, include a short "Draft generated by loop — please review for accuracy and tone before publishing."

When to Escalate Instead of Drafting

  • More than ~40 items in one window → suggest splitting the release or human curation.
  • Any breaking or security item → include prominent callout and recommend human wordsmithing.
  • The scan summary says "human review needed first".

After writing the draft, the loop should update state with the draft location and "pending human review".

独立检查发布说明草稿的准确性、语气和完整性。对比扫描数据,识别幻觉、遗漏及破坏性/安全变更,确保无虚构功能,最终给出批准或修改建议。
收到 draft-release-notes 生成的发布说明草稿时 需要审核发布内容准确性且禁止起草者自审时
starters/changelog-drafter/.grok/skills/loop-verifier/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-verifier -g -y
SKILL.md
Frontmatter
{
    "name": "loop-verifier",
    "description": "Independent checker for release note drafts. Reviews accuracy against the changelog-scan data, tone, completeness, and flags breaking\/security items. Use after draft-release-notes. Never let the drafter verify itself.\n",
    "user_invocable": true
}

Loop Verifier — Changelog Drafter

You are the checker. Default stance: REJECT or require changes unless the draft is excellent.

Inputs

  • The raw structured scan output
  • The draft produced by draft-release-notes
  • Target version and previous version

Checklist

  1. Every item in the draft exists in the scan input (no hallucinations).
  2. Breaking changes and security items are called out prominently and accurately.
  3. No invented features or incorrect attribution.
  4. Tone matches the project (use any "Release voice" guidance provided).
  5. Draft is scannable and not overly long.
  6. Includes proper links and thanks where appropriate.

Output

## Draft Verdict: APPROVE | REVISE | ESCALATE_HUMAN

### Evidence
- Scan coverage: good | missing items (list)
- Accuracy: pass | issues (list)
- Tone & structure: good | needs work

### Recommended changes (if any)
- ...

If everything is solid: APPROVE and note "ready for human final review before publish".

用于分类CI失败原因,区分回归、基础设施故障和安全测试问题。根据类型决定自动修复或人工升级,并更新状态文件以记录分类结果和后续操作建议。
CI构建或测试失败 需要分析持续集成检查错误
starters/ci-sweeper-opencode/skills/ci-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill ci-triage -g -y
SKILL.md
Frontmatter
{
    "name": "ci-triage",
    "description": "Classify CI failures — distinguish clear regressions from infra flakes and security-test failures. Produces structured failure reports.\n",
    "user_invocable": true
}

CI Triage Skill

You are a CI triage agent. Classify each failing check and decide the next action.

Classification

  • Clear regression: single-file, obvious root cause (candidate for auto-fix)
  • Infra flake: network timeout, runner issue, dependency unavailable
  • Security test failure: never auto-fix; escalate to human
  • Non-deterministic: retry once before classifying

Output

Update ci-sweeper-state.md with:

  • List of failures by category
  • Suggested next action per item
  • Attempt count per item

Rules

  • Infra and security failures always escalate.
  • Max 3 fix attempts per item.
  • Worktree isolation required for any code change.
用于CI扫掠循环中解析失败日志,识别故障作业并分类为偶发、回归、环境或配置问题。根据分类决定执行最小修复、监控或升级人工处理,严禁对环境问题进行代码修复。
CI流水线失败需要初步诊断时 自动化CI扫掠循环中检测到新错误时
starters/ci-sweeper/.claude/skills/ci-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill ci-triage -g -y
SKILL.md
Frontmatter
{
    "name": "ci-triage",
    "description": "Parse CI failures, identify failing job\/step, classify as flake, regression, env, or config. Use in CI sweeper loops before any fix attempt.\n",
    "user_invocable": true
}

CI Triage Skill

Output per failure

### Failure — branch @ sha
- Job / step:
- Error (1-3 lines):
- Classification: flake | regression | env | config
- Actionable: yes | no
- Suggested loop action: minimal-fix | watch | escalate-human

Classification Rules

  • flake: intermittent, passed on retry, no code change
  • regression: new failure correlated with recent commit
  • env: runner, registry, secrets, quota
  • config: workflow, dependency install, cache

Env failures → escalate-human. Do not "fix" with code changes.

用于在CI修复前解析失败日志,识别作业步骤并分类为flake、回归、环境或配置问题。输出结构化摘要及建议操作(如最小修复、观察或人工升级),其中环境问题强制升级且禁止代码修复。
CI流水线失败分析 自动化Sweeper循环中的故障预处理
starters/ci-sweeper/.codex/skills/ci-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill ci-triage -g -y
SKILL.md
Frontmatter
{
    "name": "ci-triage",
    "description": "Parse CI failures, identify failing job\/step, classify as flake, regression, env, or config. Use in CI sweeper loops before any fix attempt.\n",
    "user_invocable": true
}

CI Triage Skill

Output per failure

### Failure — branch @ sha
- Job / step:
- Error (1-3 lines):
- Classification: flake | regression | env | config
- Actionable: yes | no
- Suggested loop action: minimal-fix | watch | escalate-human

Classification Rules

  • flake: intermittent, passed on retry, no code change
  • regression: new failure correlated with recent commit
  • env: runner, registry, secrets, quota
  • config: workflow, dependency install, cache

Env failures → escalate-human. Do not "fix" with code changes.

解析CI失败,定位故障作业/步骤,并分类为偶发、回归、环境或配置问题。用于CI巡检循环中,指导采取最小修复、观察或人工升级操作,避免对环境问题错误修改代码。
CI流水线失败分析 自动化巡检中的故障分类 决定是否需要人工介入
starters/ci-sweeper/.grok/skills/ci-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill ci-triage -g -y
SKILL.md
Frontmatter
{
    "name": "ci-triage",
    "description": "Parse CI failures, identify failing job\/step, classify as flake, regression, env, or config. Use in CI sweeper loops before any fix attempt.\n",
    "user_invocable": true
}

CI Triage Skill

Output per failure

### Failure — branch @ sha
- Job / step:
- Error (1-3 lines):
- Classification: flake | regression | env | config
- Actionable: yes | no
- Suggested loop action: minimal-fix | watch | escalate-human

Classification Rules

  • flake: intermittent, passed on retry, no code change
  • regression: new failure correlated with recent commit
  • env: runner, registry, secrets, quota
  • config: workflow, dependency install, cache

Env failures → escalate-human. Do not "fix" with code changes.

自动扫描项目依赖的过时与漏洞信息,支持npm、cargo、pip及锁文件。按严重程度分类处理:补丁和次要更新自动修复,重大更新或高危CVE上报人工审核。执行前运行测试,并尊重状态文件中的黑名单规则。
需要检查项目依赖安全性时 定期维护依赖列表时
starters/dependency-sweeper-opencode/skills/dependency-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill dependency-triage -g -y
SKILL.md
Frontmatter
{
    "name": "dependency-triage",
    "description": "Scan package manifests and lockfiles for outdated and vulnerable dependencies. Classify by severity and update type.\n",
    "user_invocable": true
}

Dependency Triage Skill

You are a dependency sweeper agent. Scan for outdated and vulnerable packages.

Scan Sources

  • npm outdated / npm audit
  • cargo outdated / cargo audit
  • pip list --outdated
  • Lockfile analysis

Classification

  • Patch: auto-fix candidate
  • Minor: auto-fix candidate
  • Major: escalate to human
  • CVE: escalate high-severity; patch-only for low/medium

Output

Update dependency-sweeper-state.md with prioritized update list.

Rules

  • Patch-only by default in week one.
  • Honour denylist in state file.
  • Run npm ci && npm test (or equivalent) before approving.
扫描包清单和锁文件,识别过时包及CVE漏洞。按风险等级(补丁、次要、主要)分组更新,并依据语义化版本规则和安全策略决定自动修补或人工升级,确保依赖安全与稳定。
需要检查项目依赖安全性时 执行依赖扫掠循环任务时 发现潜在CVE漏洞需评估影响时
starters/dependency-sweeper/.claude/skills/dependency-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill dependency-triage -g -y
SKILL.md
Frontmatter
{
    "name": "dependency-triage",
    "description": "Scan package manifests and lockfiles for outdated packages and known CVEs. Groups updates by risk (patch, minor, major). Use in dependency sweeper loops.\n",
    "user_invocable": true
}

Dependency Triage Skill

Output per package

### package-name (ecosystem: npm|pip|go|etc.)
- Current: x.y.z
- Suggested: x.y.z
- Risk: patch | minor | major
- CVE: none | CVE-XXXX (severity)
- Actionable: yes | no (denylist / human gate)
- Suggested loop action: patch-in-worktree | escalate-human | skip

Classification Rules

  • patch: semver patch or lockfile-only security fix with no API change
  • minor: semver minor — cautious, verifier required
  • major: always escalate-human unless explicitly pre-approved in state
  • denylist: packages in state denylist → escalate-human, no auto-touch
  • high-severity CVE: escalate if fix requires major or breaking change

Rules

  • Prefer the smallest safe bump that resolves the advisory.
  • Never bundle unrelated package updates in one change.
  • Record human overrides from dependency-sweeper-state.md every run.
  • If lockfile conflict or peer dependency warning → escalate-human.
扫描包清单和锁文件,识别过时包及已知CVE漏洞。按风险等级(补丁、次要、主要)分组更新建议,指导依赖清理循环中的自动化或人工升级操作。
发现新的安全公告或CVE 执行依赖清理循环任务 需要评估第三方库更新风险时
starters/dependency-sweeper/.codex/skills/dependency-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill dependency-triage -g -y
SKILL.md
Frontmatter
{
    "name": "dependency-triage",
    "description": "Scan package manifests and lockfiles for outdated packages and known CVEs. Groups updates by risk (patch, minor, major). Use in dependency sweeper loops.\n",
    "user_invocable": true
}

Dependency Triage Skill

Output per package

### package-name (ecosystem: npm|pip|go|etc.)
- Current: x.y.z
- Suggested: x.y.z
- Risk: patch | minor | major
- CVE: none | CVE-XXXX (severity)
- Actionable: yes | no (denylist / human gate)
- Suggested loop action: patch-in-worktree | escalate-human | skip

Classification Rules

  • patch: semver patch or lockfile-only security fix with no API change
  • minor: semver minor — cautious, verifier required
  • major: always escalate-human unless explicitly pre-approved in state
  • denylist: packages in state denylist → escalate-human, no auto-touch
  • high-severity CVE: escalate if fix requires major or breaking change

Rules

  • Prefer the smallest safe bump that resolves the advisory.
  • Never bundle unrelated package updates in one change.
  • Record human overrides from dependency-sweeper-state.md every run.
  • If lockfile conflict or peer dependency warning → escalate-human.
扫描包清单和锁文件,识别过时包及CVE漏洞。按风险等级(补丁、次要、主要)分组更新,并指导在依赖扫描循环中采取相应操作或升级给人类处理。
发现过时的软件包 检测到已知安全漏洞(CVE) 执行依赖扫描循环
starters/dependency-sweeper/.grok/skills/dependency-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill dependency-triage -g -y
SKILL.md
Frontmatter
{
    "name": "dependency-triage",
    "description": "Scan package manifests and lockfiles for outdated packages and known CVEs. Groups updates by risk (patch, minor, major). Use in dependency sweeper loops.\n",
    "user_invocable": true
}

Dependency Triage Skill

Output per package

### package-name (ecosystem: npm|pip|go|etc.)
- Current: x.y.z
- Suggested: x.y.z
- Risk: patch | minor | major
- CVE: none | CVE-XXXX (severity)
- Actionable: yes | no (denylist / human gate)
- Suggested loop action: patch-in-worktree | escalate-human | skip

Classification Rules

  • patch: semver patch or lockfile-only security fix with no API change
  • minor: semver minor — cautious, verifier required
  • major: always escalate-human unless explicitly pre-approved in state
  • denylist: packages in state denylist → escalate-human, no auto-touch
  • high-severity CVE: escalate if fix requires major or breaking change

Rules

  • Prefer the smallest safe bump that resolves the advisory.
  • Never bundle unrelated package updates in one change.
  • Record human overrides from dependency-sweeper-state.md every run.
  • If lockfile conflict or peer dependency warning → escalate-human.
扫描开源项目的开放Issue和讨论,进行去重、优先级排序并建议标签。生成包含前5项优先处理事项及待人工审核内容的状态文件,确保队列清晰可操作,且严格遵守不自动关闭或评论的规则。
需要整理GitHub Issue列表 发现新的Issue需要分类和优先级评估 检查是否存在重复提交的Bug报告
starters/issue-triage-opencode/skills/issue-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill issue-triage -g -y
SKILL.md
Frontmatter
{
    "name": "issue-triage",
    "description": "Scan open issues and discussions, deduplicate, prioritize, and propose labels. Provides a clean actionable queue.\n",
    "user_invocable": true
}

Issue Triage Skill

You are an issue triage agent. Keep the issue queue legible.

Scan Sources

  • Open issues and discussions
  • Prior state in issue-triage-state.md
  • Labels, milestones, linked PRs

Output

Update issue-triage-state.md with:

  • Top 5 prioritized items (P0-P3)
  • Proposed labels per item
  • Needs-human bucket for ambiguous or security-sensitive items
  • Possible duplicates

Rules

  • L1: propose only — never auto-label, auto-close, or auto-comment.
  • P0/P1 on auth, payments, security, public API: always escalate.
  • Duplicates: note as "possible duplicate of #NNN" — never auto-close.
  • L2 auto-labels limited to curated allowlist.
扫描开源项目问题与讨论,基于信号去重、优先级排序并建议标签。仅输出提案不自动操作,确保人工审核,保持待办列表清晰可读。
定期扫描GitHub Issues或Discussions 需要清理积压任务并生成Top 5高优先级建议时
starters/issue-triage/.claude/skills/issue-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill issue-triage -g -y
SKILL.md
Frontmatter
{
    "name": "issue-triage",
    "description": "Scan open issues and discussions. Dedupe, prioritize, and propose labels. Updates issue-triage-state.md. L1 propose-only — never auto-label or close.\n",
    "user_invocable": true
}

Issue Triage Skill

You are an issue queue health agent. Your job is to keep the backlog legible so humans and other loops always know the top five actionable items.

Inputs

  • Open GitHub issues and discussions (or Linear/Jira via MCP if configured)
  • issue-triage-state.md from the previous run
  • Signals: age, author, labels, comments, reactions, linked PRs, milestone

Output — update issue-triage-state.md

# Issue Triage State
Last run: <ISO timestamp>
Open actionable: N (was M)
New since last run: K
Needs human: H

## Top 5 (by loop score)
- #NNN (p1, 2d old) — "one-line summary" — suggested: label1, label2

## Proposed Labels (not applied in L1)
- #NNN: `label-a`, `label-b`

## Possible Duplicates (human confirm)
- #NNN — possible duplicate of #MMM

## Noise / Ignored
- brief list

Scoring (P0–P3)

Priority Signals
P0 Security, prod breakage, data loss
P1 High impact + clear repro or customer pain
P2 Valid feature/bug, not urgent
P3 Nice-to-have, docs, polish
needs-info Unclear spec, missing repro
duplicate? Title/body overlap with existing issue

Rules

  • L1 (week one): Propose labels and priority only. Never apply labels, comment, or close.
  • Escalate to "needs human": auth, payments, security, public API, billing, infra
  • Duplicate matching: conservative — say "possible duplicate of #NNN", never auto-close
  • Prune closed issues from state each run
  • Be concise — this may run every 2h on busy repos

Allowlisted labels (L2 only, after verifier)

area:*, needs-repro, needs-info — never auto-apply P0, P1, breaking-change, or security

Pairing with Daily Triage

Daily Triage reads this file and merges Top 5 into STATE.md High Priority. Do not duplicate full issue bodies in STATE.md — reference issue numbers only.

自动化扫描并整理Issue队列,通过去重、优先级排序和标签建议保持待办事项清晰。仅提出建议不自动执行,输出Top5高优项及重复项供人工确认,确保人类和其他流程能快速定位关键问题。
定期扫描开放Issue和讨论 需要更新Issue状态文件时
starters/issue-triage/.codex/skills/issue-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill issue-triage -g -y
SKILL.md
Frontmatter
{
    "name": "issue-triage",
    "description": "Scan open issues and discussions. Dedupe, prioritize, and propose labels. Updates issue-triage-state.md. L1 propose-only — never auto-label or close.\n",
    "user_invocable": true
}

Issue Triage Skill

You are an issue queue health agent. Your job is to keep the backlog legible so humans and other loops always know the top five actionable items.

Inputs

  • Open GitHub issues and discussions (or Linear/Jira via MCP if configured)
  • issue-triage-state.md from the previous run
  • Signals: age, author, labels, comments, reactions, linked PRs, milestone

Output — update issue-triage-state.md

# Issue Triage State
Last run: <ISO timestamp>
Open actionable: N (was M)
New since last run: K
Needs human: H

## Top 5 (by loop score)
- #NNN (p1, 2d old) — "one-line summary" — suggested: label1, label2

## Proposed Labels (not applied in L1)
- #NNN: `label-a`, `label-b`

## Possible Duplicates (human confirm)
- #NNN — possible duplicate of #MMM

## Noise / Ignored
- brief list

Scoring (P0–P3)

Priority Signals
P0 Security, prod breakage, data loss
P1 High impact + clear repro or customer pain
P2 Valid feature/bug, not urgent
P3 Nice-to-have, docs, polish
needs-info Unclear spec, missing repro
duplicate? Title/body overlap with existing issue

Rules

  • L1 (week one): Propose labels and priority only. Never apply labels, comment, or close.
  • Escalate to "needs human": auth, payments, security, public API, billing, infra
  • Duplicate matching: conservative — say "possible duplicate of #NNN", never auto-close
  • Prune closed issues from state each run
  • Be concise — this may run every 2h on busy repos

Allowlisted labels (L2 only, after verifier)

area:*, needs-repro, needs-info — never auto-apply P0, P1, breaking-change, or security

Pairing with Daily Triage

Daily Triage reads this file and merges Top 5 into STATE.md High Priority. Do not duplicate full issue bodies in STATE.md — reference issue numbers only.

用于维护Issue队列健康,通过扫描议题并综合多项信号进行去重、优先级排序及标签建议。仅输出提案不自动执行,确保人工审核关键决策,保持待办事项清晰可操作。
定期扫描开放的GitHub Issue或Discussions 需要整理和优先级排序项目积压任务时
starters/issue-triage/.grok/skills/issue-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill issue-triage -g -y
SKILL.md
Frontmatter
{
    "name": "issue-triage",
    "description": "Scan open issues and discussions. Dedupe, prioritize, and propose labels. Updates issue-triage-state.md. L1 propose-only — never auto-label or close.\n",
    "user_invocable": true
}

Issue Triage Skill

You are an issue queue health agent. Your job is to keep the backlog legible so humans and other loops always know the top five actionable items.

Inputs

  • Open GitHub issues and discussions (or Linear/Jira via MCP if configured)
  • issue-triage-state.md from the previous run
  • Signals: age, author, labels, comments, reactions, linked PRs, milestone

Output — update issue-triage-state.md

# Issue Triage State
Last run: <ISO timestamp>
Open actionable: N (was M)
New since last run: K
Needs human: H

## Top 5 (by loop score)
- #NNN (p1, 2d old) — "one-line summary" — suggested: label1, label2

## Proposed Labels (not applied in L1)
- #NNN: `label-a`, `label-b`

## Possible Duplicates (human confirm)
- #NNN — possible duplicate of #MMM

## Noise / Ignored
- brief list

Scoring (P0–P3)

Priority Signals
P0 Security, prod breakage, data loss
P1 High impact + clear repro or customer pain
P2 Valid feature/bug, not urgent
P3 Nice-to-have, docs, polish
needs-info Unclear spec, missing repro
duplicate? Title/body overlap with existing issue

Rules

  • L1 (week one): Propose labels and priority only. Never apply labels, comment, or close.
  • Escalate to "needs human": auth, payments, security, public API, billing, infra
  • Duplicate matching: conservative — say "possible duplicate of #NNN", never auto-close
  • Prune closed issues from state each run
  • Be concise — this may run every 2h on busy repos

Allowlisted labels (L2 only, after verifier)

area:*, needs-repro, needs-info — never auto-apply P0, P1, breaking-change, or security

Pairing with Daily Triage

Daily Triage reads this file and merges Top 5 into STATE.md High Priority. Do not duplicate full issue bodies in STATE.md — reference issue numbers only.

作为独立验证者,在代码修改后执行严格审查。通过检查变更范围、意图、测试结果及风险,默认持怀疑态度直至证据充分。若测试失败或无法运行则拒绝或升级人工审核,确保代码质量与安全性。
实现代理完成代码修改后 需要独立验证代码变更的正确性和范围时
starters/issue-triage/.grok/skills/loop-verifier/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-verifier -g -y
SKILL.md
Frontmatter
{
    "name": "loop-verifier",
    "description": "Independent verification agent for loop-produced changes. Finds reasons to reject. Runs tests. Confirms diff scope. Use after minimal-fix or any implementer sub-agent — never in the same role as the implementer.\n",
    "user_invocable": true
}

Loop Verifier Skill

You are the checker in a maker/checker split. Your job is to reject unless evidence is strong.

Inputs

  • Implementer's proposal summary and diff
  • Original issue / CI failure / comment being addressed
  • Project test/lint commands
  • Allowed file scope (if specified by the loop)

Checklist (all must pass for APPROVE)

  1. Scope: Only relevant files changed; no denylist paths; no unrelated edits.
  2. Intent: Change clearly addresses the stated target — not a different problem.
  3. Tests: You ran tests (or equivalent) and report pass/fail with output snippet.
  4. No cheating: No disabled tests, skipped assertions, or commented-out checks.
  5. Risk: For medium+ risk, recommend human review even if tests pass.

Output

## Verdict: APPROVE | REJECT | ESCALATE_HUMAN

### Evidence
- Tests: (command + result)
- Scope check: (pass/fail + notes)

### If REJECT
- Reasons: (numbered, specific)
- Suggested next step for implementer

Rules

  • Default stance: REJECT until proven otherwise.
  • Do not trust implementer's claim that tests passed — run them.
  • If you cannot run tests (env issue) → ESCALATE_HUMAN.
  • Be concise. The loop and human read this under time pressure.
作为工程分诊专家,分析最近的CI失败、Issue、提交和对话,生成简洁的优先级报告。输出高优项、监控项及噪音,辅助循环系统或工程师快速决策和行动,保持极简并尊重现有规范。
需要处理近期CI/测试失败 需要评估分配的Open Issues或Linear工单 需要审查最近24-48小时的代码提交 需要整合Slack聊天线程中的信息 需要更新循环系统的状态文件
starters/minimal-loop-claude/.claude/skills/loop-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-triage -g -y
SKILL.md
Frontmatter
{
    "name": "loop-triage",
    "description": "Triage recent changes, CI failures, issues, and conversations. Produces a concise, actionable findings report suitable for a loop to consume. Writes structured output to a state file or Linear board.\n",
    "user_invocable": true
}

Loop Triage Skill

You are an expert engineering triage agent. Your job is to produce a clean, prioritized list of things that a loop should consider acting on.

Inputs (the loop will provide these)

  • Recent CI / test failures (last 24h)
  • Open issues / Linear tickets assigned to the team
  • Recent commits on main (last 24–48h)
  • Any Slack / chat threads the loop has visibility into
  • The current state file (what the loop already knows about)

Output Format

Produce a markdown report with these sections:

1. High-Priority Items (act on these)

  • Clear, one-line description
  • Why it matters (impact, risk, or customer pain)
  • Suggested next action for the loop (e.g. "draft minimal fix in isolated worktree")
  • Rough effort estimate

2. Watch Items (monitor, do not act yet)

  • Same format but lower urgency

3. Noise / Ignore

  • Brief list of things the loop looked at and decided were not worth action

4. State Updates

  • Any facts the loop should remember for the next run (e.g. "PR #1234 now has 2 approvals")

Rules

  • Be brutally concise. The loop (and the human reading the state) will thank you.
  • Only put something in "High-Priority" if a reasonable engineer would want to know about it today.
  • When in doubt, put it in Watch or Noise rather than creating work.
  • Never propose architectural overhauls during triage — this skill is for signal, not invention.
  • Respect the project's existing skills and conventions (they will be provided in context).
这是一个专家级工程分类技能,用于分析近期的CI失败、Issue、提交记录和聊天线程。它生成简洁、优先级的行动报告,区分高优先级事项、监控项和噪音,并更新状态文件,帮助循环系统高效决策和处理技术问题。
需要分析近期CI/测试失败时 需要整理团队分配的Open Issue或Linear工单时 需要审查最近24-48小时的main分支提交记录时 需要处理Slack/聊天线程中的技术讨论时
starters/minimal-loop-codex/.codex/skills/loop-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-triage -g -y
SKILL.md
Frontmatter
{
    "name": "loop-triage",
    "description": "Triage recent changes, CI failures, issues, and conversations. Produces a concise, actionable findings report suitable for a loop to consume. Writes structured output to a state file or Linear board.\n",
    "user_invocable": true
}

Loop Triage Skill

You are an expert engineering triage agent. Your job is to produce a clean, prioritized list of things that a loop should consider acting on.

Inputs (the loop will provide these)

  • Recent CI / test failures (last 24h)
  • Open issues / Linear tickets assigned to the team
  • Recent commits on main (last 24–48h)
  • Any Slack / chat threads the loop has visibility into
  • The current state file (what the loop already knows about)

Output Format

Produce a markdown report with these sections:

1. High-Priority Items (act on these)

  • Clear, one-line description
  • Why it matters (impact, risk, or customer pain)
  • Suggested next action for the loop (e.g. "draft minimal fix in isolated worktree")
  • Rough effort estimate

2. Watch Items (monitor, do not act yet)

  • Same format but lower urgency

3. Noise / Ignore

  • Brief list of things the loop looked at and decided were not worth action

4. State Updates

  • Any facts the loop should remember for the next run (e.g. "PR #1234 now has 2 approvals")

Rules

  • Be brutally concise. The loop (and the human reading the state) will thank you.
  • Only put something in "High-Priority" if a reasonable engineer would want to know about it today.
  • When in doubt, put it in Watch or Noise rather than creating work.
  • Never propose architectural overhauls during triage — this skill is for signal, not invention.
  • Respect the project's existing skills and conventions (they will be provided in context).
作为工程分诊专家,分析CI失败、Issue、提交和对话,生成优先级明确的可执行报告。输出高优项、监控项及噪声,并更新状态文件,为自动化循环提供决策依据。
需要自动分诊最近的CI失败或测试错误 需要整理待处理的Issue或团队工单 需要审查最近的代码提交以发现潜在风险 需要生成供自动化循环消费的结构化行动建议
starters/minimal-loop-opencode/skills/loop-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-triage -g -y
SKILL.md
Frontmatter
{
    "name": "loop-triage",
    "description": "Triage recent changes, CI failures, issues, and conversations. Produces a concise, actionable findings report suitable for a loop to consume. Writes structured output to a state file or issue tracker.\n",
    "user_invocable": true
}

Loop Triage Skill

You are an expert engineering triage agent. Your job is to produce a clean, prioritized list of things that a loop should consider acting on.

Inputs (the loop will provide these)

  • Recent CI / test failures (last 24h)
  • Open issues / tickets assigned to the team
  • Recent commits on main (last 24-48h)
  • Any chat threads the loop has visibility into
  • The current state file (what the loop already knows about)

Output Format

Produce a markdown report with these sections:

1. High-Priority Items (act on these)

  • Clear, one-line description
  • Why it matters (impact, risk, or customer pain)
  • Suggested next action for the loop (for example, "draft minimal fix in isolated worktree")
  • Rough effort estimate

2. Watch Items (monitor, do not act yet)

  • Same format but lower urgency

3. Noise / Ignore

  • Brief list of things the loop looked at and decided were not worth action

4. State Updates

  • Any facts the loop should remember for the next run (for example, "PR #1234 now has 2 approvals")

Rules

  • Be brutally concise. The loop and the human reading the state will thank you.
  • Only put something in "High-Priority" if a reasonable engineer would want to know about it today.
  • When in doubt, put it in Watch or Noise rather than creating work.
  • Never propose architectural overhauls during triage — this skill is for signal, not invention.
  • Respect the project's existing skills and conventions (they will be provided in context).

Example Invocation (in an opencode loop)

opencode run "Call loop-triage and append high-priority items to STATE.md. Do not edit code."

The triage skill should be the "eyes" of the loop. Keep it focused and honest.

专家级工程分流代理,用于分析近期CI失败、Issue、提交及聊天记录。生成结构化优先级报告,区分高优行动项、观察项和噪音,并更新状态文件,辅助自动化循环高效决策。
需要分析最近24小时内的CI/测试失败情况 需要审查分配给团队的开放Issue或Linear工单 需要评估最近48小时的代码提交影响 需要处理Slack等聊天频道中的相关讨论
starters/minimal-loop/.grok/skills/loop-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill loop-triage -g -y
SKILL.md
Frontmatter
{
    "name": "loop-triage",
    "description": "Triage recent changes, CI failures, issues, and conversations. Produces a concise, actionable findings report suitable for a loop to consume. Writes structured output to a state file or Linear board.\n",
    "user_invocable": true
}

Loop Triage Skill

You are an expert engineering triage agent. Your job is to produce a clean, prioritized list of things that a loop should consider acting on.

Inputs (the loop will provide these)

  • Recent CI / test failures (last 24h)
  • Open issues / Linear tickets assigned to the team
  • Recent commits on main (last 24–48h)
  • Any Slack / chat threads the loop has visibility into
  • The current state file (what the loop already knows about)

Output Format

Produce a markdown report with these sections:

1. High-Priority Items (act on these)

  • Clear, one-line description
  • Why it matters (impact, risk, or customer pain)
  • Suggested next action for the loop (e.g. "draft minimal fix in isolated worktree")
  • Rough effort estimate

2. Watch Items (monitor, do not act yet)

  • Same format but lower urgency

3. Noise / Ignore

  • Brief list of things the loop looked at and decided were not worth action

4. State Updates

  • Any facts the loop should remember for the next run (e.g. "PR #1234 now has 2 approvals")

Rules

  • Be brutally concise. The loop (and the human reading the state) will thank you.
  • Only put something in "High-Priority" if a reasonable engineer would want to know about it today.
  • When in doubt, put it in Watch or Noise rather than creating work.
  • Never propose architectural overhauls during triage — this skill is for signal, not invention.
  • Respect the project's existing skills and conventions (they will be provided in context).
扫描合并到 main 分支的近期提交,识别技术债务、待办事项、调试代码及清理机会。对问题进行分类并生成优先级修复列表,更新状态文件。仅在非高峰时段运行,限制自动修复次数,架构债务需人工处理。
代码合并至 main 分支后 需要定期技术债务扫描时
starters/post-merge-cleanup-opencode/skills/post-merge-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill post-merge-scan -g -y
SKILL.md
Frontmatter
{
    "name": "post-merge-scan",
    "description": "Scan recent merges to main for tech debt, TODOs, debug code, and small cleanup opportunities. Produces a prioritized fix list.\n",
    "user_invocable": true
}

Post-Merge Scan Skill

You are a post-merge cleanup agent. Scan recent merges for follow-up work.

Scan Sources

  • Recent commits and PRs merged to main
  • git diff HEAD~10 for left-behind debug code
  • TODO/FIXME/HACK comments in changed files
  • Lint warnings introduced by recent changes

Classification

  • Small fix: doc/comment/lint/debug — auto-fix candidate
  • Architectural debt: ticket for human
  • Denylist path: escalate to human

Output

Update post-merge-state.md with prioritized cleanup list.

Rules

  • Run off-peak (evening).
  • Never auto-fix architectural debt.
  • Max 2 fix attempts per run.
用于在合并后扫描最近7天至main分支的PR,识别新引入的TODO、废弃API引用、失效文档链接及过期特性标志。根据风险和建议操作(如最小修复、提票或人工升级)生成结构化清理报告,适用于非高峰时段的自动化后续处理流程。
代码合并到主分支后的自动清理循环 需要检查近期提交中遗留技术债务的场景
starters/post-merge-cleanup/.claude/skills/post-merge-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill post-merge-scan -g -y
SKILL.md
Frontmatter
{
    "name": "post-merge-scan",
    "description": "Scan recent merges to main for follow-up cleanup: TODOs, deprecations, broken doc links, stale flags. Use in post-merge cleanup loops.\n",
    "user_invocable": true
}

Post-Merge Scan Skill

Output per merge

### PR #N — title (merged DATE)
- Follow-ups found: (list with file:line)
- Risk: low | medium | high
- Effort: small | medium | large
- Suggested loop action: minimal-fix | ticket | escalate-human | skip

What to look for

  • TODO / FIXME introduced in merge
  • Deprecated APIs still referenced
  • Broken internal doc links
  • Stale feature flags marked for removal
  • Unused imports or dead code clusters (small only)

Rules

  • Only scan merges from the last 7 days unless state says otherwise.
  • Large refactors → ticket, not auto-fix.
  • Medium+ risk paths → escalate-human.
  • Be concise — this runs off-peak, not during active dev hours.
用于在合并后7天内扫描主分支,识别新引入的TODO、废弃API引用、失效文档链接及过期特性标志。根据风险与工作量建议最小修复、创建工单或人工升级,旨在自动化代码清理流程。
检测到新的PR合并到main分支 执行定期代码库维护任务
starters/post-merge-cleanup/.codex/skills/post-merge-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill post-merge-scan -g -y
SKILL.md
Frontmatter
{
    "name": "post-merge-scan",
    "description": "Scan recent merges to main for follow-up cleanup: TODOs, deprecations, broken doc links, stale flags. Use in post-merge cleanup loops.\n",
    "user_invocable": true
}

Post-Merge Scan Skill

Output per merge

### PR #N — title (merged DATE)
- Follow-ups found: (list with file:line)
- Risk: low | medium | high
- Effort: small | medium | large
- Suggested loop action: minimal-fix | ticket | escalate-human | skip

What to look for

  • TODO / FIXME introduced in merge
  • Deprecated APIs still referenced
  • Broken internal doc links
  • Stale feature flags marked for removal
  • Unused imports or dead code clusters (small only)

Rules

  • Only scan merges from the last 7 days unless state says otherwise.
  • Large refactors → ticket, not auto-fix.
  • Medium+ risk paths → escalate-human.
  • Be concise — this runs off-peak, not during active dev hours.
用于在合并后扫描最近7天的主分支合并,检测引入的TODO、废弃API引用、失效文档链接及过期特性标志。根据风险和建议动作(修复、建单或升级)生成结构化报告,支持自动化清理循环。
主分支合并完成后需要自动清理检查时 定期执行代码库健康度扫描与债务清理时
starters/post-merge-cleanup/.grok/skills/post-merge-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill post-merge-scan -g -y
SKILL.md
Frontmatter
{
    "name": "post-merge-scan",
    "description": "Scan recent merges to main for follow-up cleanup: TODOs, deprecations, broken doc links, stale flags. Use in post-merge cleanup loops.\n",
    "user_invocable": true
}

Post-Merge Scan Skill

Output per merge

### PR #N — title (merged DATE)
- Follow-ups found: (list with file:line)
- Risk: low | medium | high
- Effort: small | medium | large
- Suggested loop action: minimal-fix | ticket | escalate-human | skip

What to look for

  • TODO / FIXME introduced in merge
  • Deprecated APIs still referenced
  • Broken internal doc links
  • Stale feature flags marked for removal
  • Unused imports or dead code clusters (small only)

Rules

  • Only scan merges from the last 7 days unless state says otherwise.
  • Large refactors → ticket, not auto-fix.
  • Medium+ risk paths → escalate-human.
  • Be concise — this runs off-peak, not during active dev hours.
该技能作为PR监护代理,通过监控开放PR的CI状态、陈旧性、合并冲突及未回复评论,生成优先级待办列表。旨在识别阻塞项并提示人类处理安全或支付类变更。
需要检查多个开放PR的状态时 发现PR存在CI失败或合并冲突时 需要筛选等待超过48小时的评审时
starters/pr-babysitter-opencode/skills/pr-review-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill pr-review-triage -g -y
SKILL.md
Frontmatter
{
    "name": "pr-review-triage",
    "description": "Watch open PRs, check CI status, review staleness, merge conflicts, and unanswered review comments. Produces a prioritized watchlist.\n",
    "user_invocable": true
}

PR Review Triage Skill

You are a PR babysitter agent. Your job is to track open PRs and surface blockers.

Inputs

  • Open PRs (from gh pr list or GitHub MCP)
  • Prior state in pr-babysitter-state.md
  • CI status for each PR

Output

Update pr-babysitter-state.md with:

  • PRs with red CI
  • PRs with merge conflicts
  • PRs waiting >48h for review
  • PRs with unanswered review comments
  • Top 3 actions for a human

Rules

  • Do not edit code in L1 mode.
  • Always check for existing PR on the same intent before pushing.
  • Security/auth/payments changes: flag for human.
用于在PR监护循环中自动化分类开放拉取请求。检查CI状态、评审意见及合并就绪度,依据项目规范判断是否可合并,并根据空闲时长或高风险标签建议最小修复、变基或人工介入。
需要评估拉取请求的合并状态时 执行PR监护循环任务时 监控CI构建结果和代码评审进展时
starters/pr-babysitter/.claude/skills/pr-review-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill pr-review-triage -g -y
SKILL.md
Frontmatter
{
    "name": "pr-review-triage",
    "description": "Triage open pull requests for CI status, review comments, and merge readiness. Use in PR babysitter loops. Respects project review norms and required checks.\n",
    "user_invocable": true
}

PR Review Triage Skill

For each watched PR, report:

Per-PR Output

### PR #N — title
- CI: green | red (job names if red)
- Reviews: approved N | changes requested | none
- Blocking comments: (list actionable ones)
- Ready to merge: yes | no — reason
- Suggested loop action: none | minimal-fix | rebase | escalate-human

Rules

  • "Ready to merge" requires all required checks + approvals per project policy.
  • Non-actionable nits → note but do not spawn fix.
  • If PR idle >4 days → suggest human handoff.
  • High-risk labels (security, breaking) → escalate-human always.
用于PR保姆循环中,对监控的拉取请求进行状态分类。检查CI结果、评审意见及合并就绪度,依据项目规范判断是否可合并,并根据闲置时长或高风险标签建议最小修复、变基或人工介入等后续动作。
需要批量处理多个PR的状态审查 执行PR保姆自动化循环任务 评估PR是否满足合并条件
starters/pr-babysitter/.codex/skills/pr-review-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill pr-review-triage -g -y
SKILL.md
Frontmatter
{
    "name": "pr-review-triage",
    "description": "Triage open pull requests for CI status, review comments, and merge readiness. Use in PR babysitter loops. Respects project review norms and required checks.\n",
    "user_invocable": true
}

PR Review Triage Skill

For each watched PR, report:

Per-PR Output

### PR #N — title
- CI: green | red (job names if red)
- Reviews: approved N | changes requested | none
- Blocking comments: (list actionable ones)
- Ready to merge: yes | no — reason
- Suggested loop action: none | minimal-fix | rebase | escalate-human

Rules

  • "Ready to merge" requires all required checks + approvals per project policy.
  • Non-actionable nits → note but do not spawn fix.
  • If PR idle >4 days → suggest human handoff.
  • High-risk labels (security, breaking) → escalate-human always.
用于在PR监护循环中分类处理开放拉取请求,评估CI状态、审查意见及合并就绪度。依据项目规范判断是否可合并,针对闲置超4天或高风险标签的PR建议人工介入或升级,并提供具体行动建议。
需要批量检查多个拉取请求的状态时 执行PR监护自动化循环任务时
starters/pr-babysitter/.grok/skills/pr-review-triage/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill pr-review-triage -g -y
SKILL.md
Frontmatter
{
    "name": "pr-review-triage",
    "description": "Triage open pull requests for CI status, review comments, and merge readiness. Use in PR babysitter loops. Respects project review norms and required checks.\n",
    "user_invocable": true
}

PR Review Triage Skill

For each watched PR, report:

Per-PR Output

### PR #N — title
- CI: green | red (job names if red)
- Reviews: approved N | changes requested | none
- Blocking comments: (list actionable ones)
- Ready to merge: yes | no — reason
- Suggested loop action: none | minimal-fix | rebase | escalate-human

Rules

  • "Ready to merge" requires all required checks + approvals per project policy.
  • Non-actionable nits → note but do not spawn fix.
  • If PR idle >4 days → suggest human handoff.
  • High-risk labels (security, breaking) → escalate-human always.
扫描自上次发布以来的合并与提交,生成包含用户可见变更、破坏性更新及安全信号的标准化变更日志摘要。
需要生成版本发布说明时 审查近期代码变更以识别重大更新时
starters/changelog-drafter/.codex/skills/changelog-scan/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill changelog-scan -g -y
SKILL.md
Frontmatter
{
    "name": "changelog-scan",
    "description": "Scan recent merges and commits since last release for changelog content.",
    "user_invocable": true
}

Produce the same structured per-item + summary format as the reference implementation.

Focus on user-facing changes. Explicitly list breaking and security signals.

基于扫描数据生成分类的发布说明草稿,采用标准模板(特性、修复等),输出适合 CHANGELOG 或 GitHub Release 的清晰 Markdown 格式,并包含需人工审核批准的免责声明。
需要为软件版本生成发布说明时 需要将扫描数据转换为结构化文档时
starters/changelog-drafter/.codex/skills/draft-release-notes/SKILL.md
npx skills add cobusgreyling/loop-engineering --skill draft-release-notes -g -y
SKILL.md
Frontmatter
{
    "name": "draft-release-notes",
    "description": "Generate categorized release notes draft from scan data. Human must approve before publish.",
    "user_invocable": true
}

Use the standard release notes template (Features / Fixes / Breaking / Security / etc.).

Output clean markdown suitable for CHANGELOG or GitHub release. Include review disclaimer.

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