ce-setup
Skill này làm gì
Skill này kiểm tra xem bộ công cụ Compound Engineering đã được thiết lập đúng trong repository của bạn chưa. Skill dành cho lập trình viên muốn kiểm tra nhanh và được hỗ trợ về cấu hình cục bộ.
Khi nào nên dùng
- ✓Khi bạn muốn kiểm tra xem Compound Engineering đã được thiết lập đúng trong repository chưa.
- ✓Khi bạn muốn thêm Compound Pack vào dự án.
- ✓Khi bạn muốn soạn hoặc làm mới tiêu chuẩn mã và tài liệu review.
Liên kết skill
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-setup/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 tra xem thiết lập Compound Engineering của tôi có khỏe không và sửa các vấn đề cấu hình cục bộ không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra bộ công cụ và cấu hình trong repository, báo cáo các khả năng tùy chọn đang thiếu, và sửa vấn đề cấu hình cục bộ khi bạn đồng ý. Nó không cài đặt mọi công cụ tùy chọn cho bạn.
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.
Compound Engineering Setup
Interaction Method
Ask each question below using the host's blocking question tool already in the current tool list (match by capability, not by a host-specific name). Presence in the current tool list is proof the tool exists; never call a user-facing question tool to discover whether it exists. If a matching tool is listed but unloaded, use the host's tool-discovery primitive to load that capability — do not search for another host's tool name. Fall back to a numbered list on the host's user-visible chat surface only when no such tool is in the list or a real question call errors. Never silently skip or auto-configure.
ce-setup is a lightweight health check and repo-local config helper. It does not bulk-install every optional dependency. Missing tools are reported as optional capabilities so the user can install only the workflows they use.
Pack Scaffold
When the invocation names a Compound Pack to add, create, or scaffold (the pack:<id> argument, or the same request in words), read references/pack-scaffold.md from this skill's directory and follow it in place of Phases 1-2 (Diagnose and Fix Repo-Local Issues): it writes the pack and its config entry only after the user approves, runs the health check itself, and reports into Phase 3 (Summary).
Review Docs
When the invocation asks to draft, refresh, or update coding standards or review docs (the standards argument, or the same request in words), read references/project-docs.md and follow it in place of Phases 1-2, drafting the whole set of files even when the request names one. Report into Phase 3.
Artifact Root Resolution
Every Compound Engineering skill that writes or reads an artifact directory (solutions, plans, ideation, and the other CE-owned trees) resolves its root through the rule below. ce-setup carries the canonical statement and reports the resolved root so an operator can confirm where artifacts land before running other skills.
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.
Phase 1: Diagnose
Step 1: Determine Plugin Version
Detect the installed compound-engineering plugin version by reading the plugin metadata or manifest when the platform exposes it. If the version cannot be determined, skip this step.
If a version is found, pass it to the check script via --version. Otherwise omit the flag.
Step 2: Run the Health Check
Before running the script, display:
Compound Engineering -- checking your environment...
Run the bundled check script. Set SKILL_DIR to the absolute directory you loaded this ce-setup SKILL.md from — the Bash tool's CWD is the user's project, not the skill dir, so a bare scripts/ path will not resolve:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
if [ -f "$SKILL_DIR/scripts/check-health" ]; then bash "$SKILL_DIR/scripts/check-health" --version VERSION; else echo "Bundled health script not found at $SKILL_DIR/scripts/check-health; run the inline checks from ce-setup instead."; fi
Use the same command without --version VERSION if Step 1 could not determine a version.
If the script is unavailable, run the inline equivalent listed in references/repo-fixes.md.
Display the diagnostic output to the user. Missing optional tools are not setup failures. The health report includes the resolved artifact root and which config layer supplied it (per Artifact Root Resolution above); show that line so the operator can confirm where CE artifacts will be written. Missing config.yaml is a reported absence, not a project issue.
Step 3: Decide Whether Fixes Are Needed
Repo-local fixes the health report names apply only to the checkout that report diagnosed. If Phase 2 will wr
Câu hỏi thường gặp
Skill có cài đặt tất cả công cụ tùy chọn không?
Không. Nó báo cáo các công cụ thiếu là tùy chọn để bạn chỉ cài những gì bạn dùng.
Skill có thay đổi cấu hình mà không hỏi không?
Không. Nó hỏi trước khi thay đổi và không bao giờ tự cấu hình một cách âm thầm.
Compound Pack là gì?
Compound Pack là một khung mà skill có thể tạo trong repository của bạn khi bạn đặt tên cho nó.
Chi tiết
Mô tả gốc của tác giả
Check Compound Engineering health and repo-local config, scaffold a Compound Pack with `pack:<id>`, or draft or refresh coding standards and review docs with `standards`.
Độ phổ biến
- Sao GitHub
- 26k
- Vị trí xếp hạng
- #10045
- 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ự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.