Chuyển đến nội dung
Skillpedia
Viết lách101k · #1163

faq-page

Skill này làm gì

Tạo một trang Câu hỏi thường gặp (FAQ) với các mục thu gọn được, tìm kiếm và lọc theo danh mục. Nó hữu ích để sắp xếp và trình bày câu trả lời cho các thắc mắc thường gặp.

Khi nào nên dùng

  • ✓Khi bạn cần một trang trợ giúp cho website hoặc ứng dụng.
  • ✓Khi yêu cầu có nhắc đến “FAQ”, “trung tâm trợ giúp” hoặc “trang hỗ trợ”.
  • ✓Khi bạn muốn sắp xếp câu trả lời cho các câu hỏi lặp đi lặp lại.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/skills/faq-page/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/nexu-io/open-design/blob/main/skills/faq-page/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

“Tạo trang FAQ cho một ứng dụng chỉnh sửa ảnh, với các danh mục như “Tài khoản”, “Chỉnh sửa” và “Đăng ký”.”

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

Cách hoạt động

AI ghép một trang HTML có tiêu đề, thanh tìm kiếm để nhanh chóng tìm câu hỏi, các nút lọc câu hỏi theo chủ đề, và danh sách câu hỏi mở ra để hiện câu trả lờ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.

FAQ Page Skill

Produce a single FAQ page with collapsible accordion sections, search, and category filtering.

Workflow

  1. Read the active DESIGN.md (injected above). Use the component tokens for interactive elements (accordion headers, search input, category pills).
  2. Pick the domain from the brief (e.g., SaaS product, e-commerce, service) and write 12–18 real FAQ entries across 3–4 categories.
    • Edge cases:
      • If the brief provides fewer than 8 FAQs, ask for more content or generate realistic questions based on the domain.
      • For 1–5 FAQs, skip categories and search; show a simple list.
      • For very long answers (>100 words), break into paragraphs or bullet points to maintain readability.
  3. Sections, in order:
    • Header — page title ("Frequently Asked Questions" or "Help Center"), optional subtitle (1 sentence explaining what users can find here).
    • Search bar — prominent search input with placeholder text and icon. Functional JS to filter questions in real-time.
    • Category filters — 3–4 pill-style buttons to filter by category (e.g., "Billing", "Account", "Technical", "General"). "All" selected by default.
    • FAQ accordion — collapsible question/answer pairs:
      • Question as clickable header with expand/collapse icon (chevron or plus/minus).
      • Answer hidden by default, expands on click with smooth animation.
      • Each entry has data-category attribute for filtering.
    • Footer CTA — "Still have questions?" section with contact link or support email.
  4. Write a single HTML document:
    • <!doctype html> through </html>, CSS and JS inline.
    • Accordion uses semantic HTML (<details> and <summary> for progressive enhancement, or custom JS with proper ARIA attributes).
    • Search filters questions by matching text in question or answer.
    • Category filters show/hide questions based on data-category.
    • Smooth transitions for expand/collapse (max-height or grid-template-rows).
    • data-od-id on header, search, categories, accordion container, footer.
  5. Self-check:
    • Questions are specific and realistic (not generic placeholders).
    • Answers are concise (2–4 sentences) but complete.
    • Keyboard navigation works (Tab through questions, Enter to expand).
    • Search is case-insensitive and filters by matching text.
    • Only one accordion item expanded at a time (optional, depends on UX preference).
    • Mobile-friendly (accordion headers are tappable, search is usable).

Output contract

Emit between <artifact> tags:

<artifact identifier="faq-page" type="text/html" title="FAQ Page">
<!doctype html>
<html>...</html>
</artifact>

One sentence before the artifact, nothing after.

Example questions by category

Billing

  • How do I update my payment method?
  • What payment methods do you accept?
  • Can I get a refund?
  • How do I cancel my subscription?

Account

  • How do I reset my password?
  • Can I change my email address?
  • How do I delete my account?
  • What happens to my data after I cancel?

Technical

  • What browsers do you support?
  • Is there a mobile app?
  • How do I export my data?
  • What are your API rate limits?

General

  • What is [Product Name]?
  • How do I get started?
  • Do you offer customer support?
  • Where can I find your terms of service?
Câu hỏi thường gặp

Trang FAQ là gì?

Đó là trang tập hợp các câu hỏi phổ biến nhất về một sản phẩm hoặc dịch vụ, kèm câu trả lời, giúp người dùng tìm thông tin nhanh chóng.

Các câu hỏi được sắp xếp thế nào?

Câu hỏi được nhóm theo danh mục (như “Tài khoản”, “Thanh toán” hoặc “Hỗ trợ”) và có thể lọc. Cũng có thể tìm kiếm theo từ khóa.

Câu trả lời có hiện ngay không?

Không, câu trả lời được ẩn và chỉ hiện khi người dùng bấm vào câu hỏi. Điều này giữ trang gọn gàng và dễ đọc.

Chi tiết

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

A Frequently Asked Questions (FAQ) page with collapsible accordion sections, search functionality, and category filtering. Use when the brief asks for "FAQ", "help center", "questions", or "support page".

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1163
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

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

0

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

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự