Chuyển đến nội dung
Skillpedia
Viết lách5.1k · #15054

answer-me-with-html

Skill này làm gì

Skill này để agent viết một bản nháp ngắn, rồi dùng một công cụ đi kèm để tạo một trang HTML gọn gàng với bố cục và sơ đồ. Skill dành cho người muốn giải thích trực quan một quy trình hoặc một nhóm ý tưởng liên quan.

Khi nào nên dùng

  • ✓Khi câu hỏi của bạn liên quan đến một luồng, một quy trình hoặc nhiều ý tưởng được liên kết.
  • ✓Khi một so sánh giữa nhiều lựa chọn sẽ rõ ràng hơn dưới dạng một trang.
  • ✓Khi bạn yêu cầu một bài giải thích trực quan về cách một thứ hoạt động.

Liên kết skill

https://github.com/QingYunA/answer-me-with-html/blob/main/skills/answer-me-with-html/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/QingYunA/answer-me-with-html/blob/main/skills/answer-me-with-html/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giải thích một yêu cầu web đi qua các dịch vụ của ứng dụng tôi như thế nào, kèm một sơ đồ tôi có thể chia sẻ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent viết nội dung bằng Markdown đơn giản, còn công cụ đi kèm tạo trang với bố cục, màu sắc và vị trí sơ đồ. Agent không tự viết HTML bằng tay.

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.

Answer me with HTML: answer a complex question with one HTML page

You write only the content draft (extended Markdown). The am CLI does all layout, colours, dark mode and diagram coordinates. Do not hand-write HTML / CSS / SVG.

Reply to the user, and write the draft, in the user's language.

0. When the user wants to change settings

Arguments for this call: $ARGUMENTS

When the arguments start with config, clean or update, or the user asks to change a setting, clean up pages or update this skill: read ${CLAUDE_SKILL_DIR}/references/settings.md and follow it. That turn produces no page.

1. Decide: produce a page or not

Produce a page if any of these is true:

  • There are ≥3 interrelated concepts, and the reader needs to see how they relate.
  • There is a flow, protocol, call chain or state transition (especially with branches or several actors).
  • There is a comparison across ≥3 dimensions, a trade-off between options, or a "can / cannot" list.
  • There is a hierarchy or an evolution over time.

Otherwise answer in plain text. When unsure: the more the question "needs a picture to understand", the more it calls for a page.

Automatic pages are for replies to the user. An internal report returned to another agent is not one:

  • If a parent agent or a coordinator delegated research, implementation, a review or a progress report, return the text or structure it asked for, with the findings and the evidence. Render no page.
  • The parent consolidates the reports. Its reply to the user follows the normal rules of this section.
  • If the delegated task explicitly asks for a page, render it, and return the page path together with the verification details the parent asked for. A video needs an explicit video request; delegation alone never authorizes one.
  • Judge this by who receives the reply and what was asked for, not by the host or agent name.

Always-on mode

If the context contains the [answer-me-with-html always-on] reminder (the user added the always-on rule to a rules file such as CLAUDE.md or AGENTS.md), the bar is lower:

  • Whenever this turn gives a conclusion, summary, plan, comparison, review or explanation, attach a page.
  • Do not skip it because "the answer is short". If there is a conclusion, produce a page.
  • For everyday conclusions use a small page with 2–4 panels: one callout with the conclusion, plus one table or one diagram. Do not add panels just to fill space.
  • Render with --no-open, so no browser window interrupts the user. The user opens the page by clicking the path at the end of the reply.
  • Order: render the page first, then write the text reply. The reply is the last thing in the turn, with the page link on its last line (see step 5). Do not write the reply and then call am render. The one call that may come after the reply is the choice tool that puts the page's asks to the user, when your host can ask questions: write the reply first, so the user holds the link before answering (see step 5).
  • The internal-report rule of step 1 applies here too: a delegated report that inherits the always-on rule renders no page, unless the delegated task explicitly asks for one.
  • Produce no page for small talk, one or two sentences with no conclusion, pure command output, or when the user asks for plain text.

2. Workflow (one Bash call)

The CLI is bundled in this skill's directory: scripts/am.mjs, a single file with no dependencies to install; it needs only Node.js 20+. If node is not found or is older than v20, tell the user, show them the exact command to install the Node.js LTS (macOS brew install node, Windows winget install OpenJS.NodeJS.LTS, otherwise nvm, which adds lines to the shell profile), and run it only after they agree, then check node --version again. If they say no or it still fails, stop and tell them. Below, am always means:

node "${CLAUDE_SKILL_DIR}/scripts/am.mjs"

In Claude Code, ${CLAUDE_SKILL_DIR} is replaced with this skill's directory before you read this file, so that command and every path in this file already carry it; run them as written.

On every other host the token is left as it stands or comes out empty. There, before your first command of the turn, write the absolute path of the directory that holds this SKILL.md in place of ${CLAUDE_SKILL_DIR} in every command you run and in every path you read, in this file and in the files under references/, and check the path once with `test -f "<that dire

Câu hỏi thường gặp

Khi nào nó trả lời bằng văn bản thuần?

Khi câu trả lời đơn giản và một hình ảnh sẽ không giúp ích cho người đọc.

Tôi có thể thay đổi cài đặt của nó không?

Có. Skill có một hướng dẫn cài đặt để thay đổi tùy chọn, dọn dẹp trang và cập nhật skill.

Một agent phụ có nhận được trang không?

Không. Kết quả trả lại cho agent khác được gửi lại dưới dạng văn bản, không phải dưới dạng trang.

Chi tiết

Mô tả gốc của tác giả

Turns an answer into a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled CLI builds one page. Use it proactively and liberally in replies to the user, without being asked, whenever a page would help the reader more than plain text, even if plain text would also work: any explanation of how something works or how parts relate (flow, request path, architecture, code or folder structure, state machine, lifecycle, history); any comparison, trade-off or decision with pros and cons; any diagnosis, review or investigation, especially with several causes or findin

repo: QingYunA/answer-me-with-html

Độ phổ biến

Sao GitHub
5.1k
Vị trí xếp hạng
#15054
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự