跳到正文
Skillpedia
通用编程48k · #4060

brooks-harness

它能做什么

这是一个专门为 brooks-lint 插件本身服务的维护智能体。它会依次执行创作、评估、质量控制、审计和发布等步骤,用来添加或修改功能、更新测试,并保持文档与代码同步。

适用场景

  • ✓添加或修改插件功能时。
  • ✓更新插件的评估测试时。
  • ✓确保文档(README、CHANGELOG)与代码保持一致时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-harness/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-harness/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想为 brooks-lint 添加一个名为 “security-check” 的新功能,并确保所有内容都是最新的。”

每周 5 个新技能,1 分钟读完。

工作原理

它通过依次运行多个专门的智能体来工作。每个智能体负责流程中的一部分,比如编写代码、测试或检查一致性,并把结果传递给下一个环节。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

brooks-lint — Maintenance Harness (Orchestrator)

When to Use

Use this skill when you need maintenance orchestrator for the brooks-lint plugin itself. Runs a sequential subagent pipeline — author → eval → QA → trigger-audit → release — to add or edit a skill, refresh the eval suite, keep the four manifests + README + CHANGELOG + AGENTS/GEMINI in sync, audit trigger...

This skill orchestrates work on the brooks-lint repo itself. It runs a sequential subagent pipeline: each stage is a dedicated agent defined in .claude/agents/. Spawn each with the Agent tool, subagent_type set to the agent name, and always model: "opus". Stages depend on each other in order, so this is a pipeline, not a parallel team.

Pipeline

[orchestrator]
   Phase 0  context check
   Phase 1  classify request → select stages
   Phase 2  run selected stages in order, with a QA loop-back:
            skill-author → eval-curator → consistency-qa ─(FAIL)→ back to author
                                              │ PASS
                                              ▼
                            trigger-boundary-auditor   (only if a description changed)
                                              ▼
                                      release-manager  (only if release requested)
   Phase 3  report + collect feedback

Phase 0 — Context check

Determine the run mode before doing anything:

  • _workspace/brooks-harness/ exists + maintainer asks to redo part of a prior run → partial re-run: invoke only the affected stage(s), reusing prior notes.
  • _workspace/brooks-harness/ exists + a fresh request → new run: move the old folder to _workspace/brooks-harness_prev/, start clean.
  • No _workspace/brooks-harness/ → initial run: create it.

Run notes and the QA report live under _workspace/brooks-harness/. The real artifacts are the repo files themselves — agents edit skills/, evals/, manifests directly; _workspace/ only holds the run's notes and the PASS/FAIL verdict for audit.

Phase 1 — Classify the request

Pick the minimal set of stages. The QA stage is never skipped — every change is gated.

Request author eval QA trigger-audit release
Add a new skill ✓ (via new-skill scaffold) ✓ ✓ ✓ —
Edit skill / guide content ✓ if codes changed ✓ if description changed —
Edit _shared/ framework ✓ if risk defs changed ✓ — —
Eval suite only — ✓ ✓ — —
Fix trigger descriptions ✓ — ✓ ✓ —
Release — — ✓ — ✓
Full: change + release ✓ as needed ✓ if applicable ✓

Phase 2 — Run the pipeline

Spawn each selected stage as a subagent in order. Pass each agent (a) the task contract and (b) the previous stage's summary. Agents write their summaries to _workspace/brooks-harness/; read them between stages.

  1. skill-author — creates/edits the content. For a brand-new skill it invokes the new-skill scaffold. Returns the list of files touched + convention-relevant choices (new risk codes, new Step numbers, changed description trigger phrases).
  2. eval-curator — if skill-author reported new/changed risk codes or modes, adds the paired happy-path + false-positive scenarios and runs npm run evals.
  3. consistency-qa (gate — never skipped) — runs npm run validate + npm test + npm run evals, then the cross-document sync checks (manifests, README badge, CHANGELOG, AGENTS/GEMINI book count, eval count). Writes a PASS/FAIL verdict. On FAIL: loop back to the agent named in the verdict (author or eval-curator), fix, then re-run QA. Repeat once; if it still fails, stop and report to the maintainer.
  4. trigger-boundary-auditor — run only if a description field changed. It read-only audits the six shipped skills' trigger surfaces for false-triggering and routing collisions. Surface its findings; if it flags a real collision, loop back to skill-author.
  5. release-manager — run only if a release was requested, and only after QA PASS. Cuts the release via the release skill.

Phase 3 — Report & feedback

Report: stages run, files changed, QA verdict, trigger-audit findings (if any), and the release URL (if any). Then offer the maintainer a feedback opening: "Anything to adjust

…

常见问题

如果某个步骤失败了怎么办?

如果某个步骤失败,会自动重试一次。如果再次失败,流程就会停止,并通知负责人。

质量控制(QA)一定会执行吗?

会的。为了确保所有改动都经过验证,质量控制步骤从不会被跳过。

什么时候进行发布?

只有在你提出要求,并且所有验证和质量控制步骤都通过之后,才会进行发布。

详情

作者的原始描述

Maintenance orchestrator for the brooks-lint plugin itself.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4060
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能