ce-dogfood
它能做什么
这项技能充当当前分支改动的 QA 测试员。适合希望在发布前于真实浏览器中检查新功能的开发者。
适用场景
- ✓当你希望在发布前,在真实浏览器中对新功能进行端到端测试的时候。
- ✓当你希望找出小问题,并通过回归测试加以修复的时候。
- ✓当你希望为该分支保存一份 QA 报告的时候。
技能链接
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-dogfood/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在浏览器中测试我分支上的改动,并修复任何出错的小问题。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能梳理受你分支影响的用户流程,在真实浏览器中逐一走完,并评判使用体验。它会用测试修复小问题,并在最后撰写报告。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Dogfood
Act as a QA engineer who dogfoods the active branch end-to-end, autonomously, until it is genuinely ready.
Outcome: every user-visible change this branch introduced has been driven in a real browser along its whole journey, judged for correctness and for how it feels to the product's personas, with small breakages fixed, regression-tested, and committed. Done: every matrix scenario is Pass, Fixed, Skipped, or in a terminal Blocked state; the project's automated suite has been run once and its result recorded; and the report at <root>/dogfood-reports/<YYYY-MM-DD>-<branch-slug>-dogfood.md is finalized against its template and committed. A green matrix over a red suite finalizes as a not-ready verdict rather than a ready one. Chasing that suite green is not this run's job.
This is diff-scoped, not whole-app exploration. You test what this branch introduced or modified versus the trunk.
Read references/phases.md before Phase 0 (Scope) and follow it. It defines every phase in detail; the run cannot be executed correctly from the phase list below.
Boundaries
- Drive one browser for the whole run. Prefer a built-in browser over the
agent-browserCLI when it can cover the matrix; Phase 3 inreferences/phases.mdsays how to find and choose one. Never add a third stack: no standalone Playwright or Puppeteer, no separately configured extension or MCP such asmcp__claude-in-chrome__*, nonpx agent-browser. - Never dogfood the trunk on a branch-name or blank target — there is no diff. A PR target always has a base, so it is always diffable even when its head branch is named
main. - A numeric target stays a PR identity through isolation and checkout — never collapse it to its head ref, whose name may itself be
main. - Never switch the primary checkout out from under the user. Isolate a PR or another named ref through
ce-worktreewithout asking;ce-worktreeowns the mechanics and reports the verdict. A blank or current-branch target runs in place. - Screenshots and other transient artifacts go to OS temp (
mktemp -d "${TMPDIR:-/tmp}/ce-dogfood-XXXXXX"), never the repo root; copy one in only to embed it in the report. - Auto-fix only what is small, well-understood, and low-risk. A change that needs an architectural or schema decision, alters product behavior or UX intent, spans many files, or has plausible competing solutions is escalated to the report's Decisions for a human section, never implemented to clear a matrix item.
Prerequisites
User-runnable invocation rendering. In prerequisite failures, default to /ce-setup and /ce-dogfood <original arguments>; use $ce-setup and $ce-dogfood <original arguments> only when the active host is Codex or explicitly documents dollar-prefixed skill invocation. On oh-my-pi (omp), use /skill:ce-setup and /skill:ce-dogfood <original arguments>. Render only each invocation as inline code and output one form only.
- A local dev server you can start (
bin/dev,rails server,npm run dev, etc.). - A browser per the Boundaries. When the run needs
agent-browserand it is not installed, stop and tell the user to install it: print the renderedce-setupinvocation for the current install command, followed by the renderedce-dogfood <original arguments>invocation to retry.
Artifact Root
Reports live under <root>/dogfood-reports/ and personas under <root>/personas/. Resolve <root> the first time you compose any <root>/ path, whether you are reading or writing, and never before. A run that composes none skips it.
Resolve the CE artifact root <root> before composing any artifact path.
- Read
docs_rootfrom<repo-root>/.compound-engineering/config.yamlonly (<repo-root>=git rev-parse --show-toplevel). Do not read it fromconfig.local.yaml. Unset -><root>isdocs, exactly as before. - Validate a set value: a repo-relative directory whose real, symlink-resolved path stays inside the repo and is neither the repo root nor under
.git/. Otherwise stop with an error namingdocs_rootand the value -- never fall back todocs. - Use
<root>as the sole artifact location: create it if absent, compose each path as<root>/<subdir>with this skill's own subdirectory, and never also readdocs.
Delegation
ce-dogfood is an orchestrator: prefer an existing CE skill over re-deriving its behavior. Isola
常见问题
它会测试整个应用吗?
不会。它只测试与主分支相比,这个分支新增或改动的部分。
它会自动提交改动吗?
会。根据技能中的说明,它可以连同回归测试一起提交小的修复。
如何启动它?
它只能由用户手动启动。
详情
作者的原始描述
Hands-off, diff-scoped browser QA of the active branch: maps user flows, drives a real browser, autonomously fixes small breakages with regression tests and commits, judges experience against product personas, and writes a durable dogfood report. Manual invocation only.
热度
- GitHub 星标
- 26k
- 排名
- #10028
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ce-babysit-pr
26k帮你的智能体通过处理评审意见、失败的检查和过时的分支,持续推动一个未合并的 GitHub 拉取请求走向合并。
ce-bakeoff
26k帮你的智能体为一个问题构建多个相互竞争的方案,进行比较,并把最强的部分组合成一个推荐方案。
ce-brainstorm
26k通过简短的引导式对话,帮你的智能体在任何工作开始前,把模糊的想法整理成清晰、规模合适的需求。
ce-code-review
26k帮你的智能体审查指定的代码改动或拉取请求,查找缺陷、回归、缺失的测试和规范问题,并报告清晰的发现。