ce-dogfood
Skill này làm gì
Skill này đóng vai người kiểm thử QA cho các thay đổi trên nhánh hiện tại của bạn. Skill dành cho lập trình viên muốn tính năng mới được kiểm tra trên trình duyệt thật trước khi phát hành.
Khi nào nên dùng
- ✓Khi bạn muốn tính năng mới được kiểm thử đầu cuối trên trình duyệt thật trước khi phát hành.
- ✓Khi bạn muốn các lỗi nhỏ được tìm ra và sửa kèm bài kiểm thử hồi quy.
- ✓Khi bạn muốn một báo cáo QA được lưu cho nhánh.
Liên kết skill
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-dogfood/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể kiểm thử các thay đổi trên nhánh của tôi trong trình duyệt và sửa những gì nhỏ bị lỗi không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill lập bản đồ các luồng người dùng bị ảnh hưởng bởi nhánh, điều khiển trình duyệt thật qua chúng và đánh giá trải nghiệm. Nó sửa các vấn đề nhỏ bằng kiểm thử và viết báo cáo ở cuối.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill có kiểm thử toàn bộ ứng dụng không?
Không. Skill chỉ kiểm thử những gì nhánh này thêm hoặc thay đổi so với nhánh chính.
Skill có tự commit thay đổi không?
Có. Nó có thể commit các bản sửa nhỏ cùng bài kiểm thử hồi quy, theo hướng dẫn trong skill.
Skill được khởi động như thế nào?
Người dùng chỉ khởi động nó thủ công.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 26k
- Vị trí xếp hạng
- #10028
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ce-babysit-pr
26kGiúp agent của bạn theo dõi pull request GitHub đang mở, xử lý bình luận review, kiểm tra lỗi và nhánh cũ để nó tiến tới khi được merge.
ce-bakeoff
26kGiúp agent của bạn xây dựng nhiều giải pháp cạnh tranh cho một vấn đề, so sánh chúng và kết hợp các phần mạnh nhất thành một cách tiếp cận được đề xuất.
ce-brainstorm
26kGiúp agent của bạn biến một ý tưởng mơ hồ thành tập yêu cầu rõ ràng, vừa đủ quy mô, trước khi bắt đầu làm, qua một cuộc trò chuyện có hướng dẫn ngắn.
ce-code-review
26kGiúp agent của bạn review một thay đổi mã hoặc pull request để tìm lỗi, hồi quy, thiếu kiểm thử và vi phạm tiêu chuẩn, rồi báo cáo rõ ràng.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.