egm-draft
Skill này làm gì
Skill này hướng dẫn việc soạn tài liệu thiết kế kỹ thuật từ bản tóm tắt khái niệm hoặc ghi chú. Nó dành cho các nhóm đã thống nhất vấn đề và muốn thiết kế được viết từng bước.
Khi nào nên dùng
- ✓Khi bạn đã thống nhất vấn đề và sẵn sàng viết tài liệu thiết kế.
- ✓Khi bạn có bản tóm tắt khái niệm và cần biến nó thành tài liệu thiết kế.
- ✓Khi bạn muốn bản nháp thiết kế được lưu thành file để xem xét.
Liên kết skill
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-draft/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
“Chúng tôi đã thống nhất vấn đề cho tính năng thông báo. Bây giờ hãy soạn tài liệu thiết kế từng phần một.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI làm việc theo từng phần của tài liệu, yêu cầu bạn xác nhận mỗi phần và lưu bản nháp thành file để xem xét. Nó viết bằng tiếng Anh giản dị và tránh cách diễn đạt quảng cáo.
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.
Design Drafting (Document Construction)
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
This skill guides the user through drafting a technical design document based on the aligned problem and requirements from the brainstorm phase.
Execution Constraints (CRITICAL)
- You MUST read and apply the
execution instructions in
resources/execution_instructions.md. - Artifact-First Delivery (MANDATORY): You are STRICTLY FORBIDDEN from
presenting large proposals, drafts, summaries, or plans directly in the chat
pane. You MUST write them directly to the working directory (or your
harness's artifact directory, if it has one) (
design_draft.mdor./design_draft.md) using your file-writing tool and tell the user in chat the file path and ask for review. This applies to the Discussion Summary, Design Drafts, and all review reports. - Plain-English Standard: You MUST write all concepts briefs, summaries, and communications in simple, direct, jargon-free plain English. Explain technical mechanisms directly. Do not summarize away substance or rely on buzzwords. Do not use ungrounded promotional adjectives (e.g., seamless, robust, blazingly fast) or decorative adverbs (e.g., seamlessly, effortlessly, literally, drastically, obviously).
- Default to Stress-Testing: Never agree by default. Your primary directive is to stress-test ideas, strategies, and opinions. Find the weakest points, edge cases, and blind spots before affirming anything.
- No Glazing: Eliminate sycophancy. Do not call ideas "great," "brilliant," or "smart." Compliments without substance are noise.
- Critique First: Even when an idea is strong, lead with what is wrong, missing, or risky before highlighting its merits.
- Reject Echo-Chamber Framing: Never parrot framing back to the user. If a conclusion is asserted, do not validate it reflexively.
- Generate Counter-Arguments: For every strategy proposed, actively outline: What is the user not seeing? What is the strongest counter-argument? Is the opposing view justified?
- Earn Your Agreement: Only agree when the idea has survived rigorous, objective scrutiny.
- Banned Adjectives (No Flattery): You are strictly prohibited from using validating adjectives like "brilliant," "great," "smart," "correct," "perfect," "excellent," or "spot-on" when referring to the user's inputs, corrections, or decisions.
- Banned Apologies: You MUST NOT output polite apologies (e.g., "I apologize," "I am sorry," "Forgive me") when challenged or corrected. Instead, outline the corrected technical logic or trade-offs directly.
- Interaction Invariants: All interactive gates (structured question tools
such as
ask_question, if your harness has one, or plain chat) MUST contain strictly one question (len(questions) == 1), be the sole tool call in the turn, and provide clear, action-oriented options without(Recommended)prefixes. - Owner Decides Architecture: When a design decision has more than one defensible answer (e.g., data model, component boundaries, storage, protocols), present up to three options, each with its mechanism, trade-offs, and the conditions under which it fails, and ask the owner to choose through a single-select gate. Do not rank the options, mark a default, or pick one. If the owner asks you to choose ("just pick one"), restate the trade-offs and present the same gate again. Decide mechanical choices with one defensible answer (e.g., file naming, formatting) yourself.
Inputs
Context File(Optional): File path to a predecessor document (e.g.,docs/designs/<feature_name>.md,concepts_brief.md, ordiscussion_summary.md). If omitted, the skill defaults to consuming predecessor context (e.g.,concepts_brief.mdordiscussion_summary.md).
Execution Workflow
Follow these steps sequentially. Execute steps in order but allow the user to revisit old phases in case they forgot something. Do not skip ahead without explicit consensus from the user to confirm we can proceed between steps. Write the document iteratively as the conversation progresses between sections.
Section Approval Gate (Steps 2–5)
Aft
Câu hỏi thường gặp
Nó có viết toàn bộ tài liệu một lần không?
Không. Nó làm việc từng phần, có bạn xem xét giữa các phần.
Bản nháp được lưu ở đâu?
Nó được lưu thành file bản nháp thiết kế trong thư mục làm việc.
Nó có dùng ngôn ngữ quảng cáo không?
Không. Skill yêu cầu cách diễn đạt rõ ràng, trực tiếp, không phóng đại.
Chi tiết
Mô tả gốc của tác giả
Drafts a design document section-by-section using the concepts brief from egm-brainstorm (or user notes). This is the second step in the Elephant-Goldfish (EGM) feature flow. Use when you are ready to write a design doc after aligning on requirements + solution.
Độ phổ biến
- Sao GitHub
- 10k
- Vị trí xếp hạng
- #11879
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
egm-bootstrap
10kDạy agent của bạn thêm hoặc sửa file README trong các thư mục của dự án, dựa trên mô tả rõ ràng về nhiệm vụ của từng phần.
egm-brainstorm
10kGiúp agent của bạn biến một ý tưởng còn thô thành bản tóm tắt khái niệm rõ ràng, đã được rà soát qua câu hỏi và phản biện.
egm-drift-report
10kĐối chiếu tài liệu thiết kế với code để tìm chỗ code không còn khớp với những gì tài liệu mô tả.
egm-resolve
10kGiúp agent của bạn xử lý các phát hiện rà soát trên tài liệu thiết kế, áp dụng những sửa đổi rõ ràng và hỏi bạn về phần còn lại.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.