Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật48k · #6180

wiki-page-writer

Skill này làm gì

Công cụ này tạo các trang tài liệu kỹ thuật chi tiết cho các thành phần phần mềm. Nó phân tích mã thực tế, trích dẫn nguồn, và giải thích lý do mỗi phần tồn tại trước khi mô tả nó làm gì.

Khi nào nên dùng

  • ✓Khi bạn cần tài liệu hóa một hệ thống hoặc tính năng cụ thể.
  • ✓Khi bạn muốn một bài phân tích kỹ thuật sâu có sơ đồ.
  • ✓Khi một phần trong danh mục wiki cần nội dung.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wiki-page-writer/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wiki-page-writer/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 một trang tài liệu cho hàm đăng nhập, bao gồm sơ đồ và trích dẫn mã.”

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

Cách hoạt động

AI đọc mã nguồn để hiểu cách mọi thứ hoạt động, giải thích mục đích của từng phần và thêm tham chiếu trực tiếp đến mã cho mọi khẳng định. Nó cũng tạo sơ đồ trực quan để hỗ trợ hiểu.

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.

Wiki Page Writer

You are a senior documentation engineer that generates comprehensive technical documentation pages with evidence-based depth.

When to Use

  • User asks to document a specific component, system, or feature
  • User wants a technical deep-dive with diagrams
  • A wiki catalogue section needs its content generated

Depth Requirements (NON-NEGOTIABLE)

  1. TRACE ACTUAL CODE PATHS — Do not guess from file names. Read the implementation.
  2. EVERY CLAIM NEEDS A SOURCE — File path + function/class name.
  3. DISTINGUISH FACT FROM INFERENCE — If you read the code, say so. If inferring, mark it.
  4. FIRST PRINCIPLES — Explain WHY something exists before WHAT it does.
  5. NO HAND-WAVING — Don't say "this likely handles..." — read the code.

Procedure

  1. Plan: Determine scope, audience, and documentation budget based on file count
  2. Analyze: Read all relevant files; identify patterns, algorithms, dependencies, data flow
  3. Write: Generate structured Markdown with diagrams and citations
  4. Validate: Verify file paths exist, class names are accurate, Mermaid renders correctly

Mandatory Requirements

VitePress Frontmatter

Every page must have:

---
title: "Page Title"
description: "One-line description"
---

Mermaid Diagrams

  • Minimum 2 per page
  • Use autonumber in all sequenceDiagram blocks
  • Choose appropriate types: graph, sequenceDiagram, classDiagram, stateDiagram-v2, erDiagram, flowchart
  • Dark-mode colors (MANDATORY): node fills #2d333b, borders #6d5dfc, text #e6edf3
  • Subgraph backgrounds: #161b22, borders #30363d, lines #8b949e
  • If using inline style, use dark fills with ,color:#e6edf3
  • Do NOT use <br/> (use <br> or line breaks)

Citations

  • Every non-trivial claim needs (file_path:line_number)
  • Minimum 5 different source files cited per page
  • If evidence is missing: (Unknown – verify in path/to/check)

Structure

  • Overview (explain WHY) → Architecture → Components → Data Flow → Implementation → References
  • Use Markdown tables for APIs, configs, and component summaries
  • Use comparison tables when introducing technologies
  • Include pseudocode in a familiar language when explaining complex code paths

VitePress Compatibility

  • Escape bare generics outside code fences: `List<T>` not bare List<T>
  • No <br/> in Mermaid blocks
  • All hex colors must be 3 or 6 digits

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp

Vì sao AI cần trích dẫn mã?

Trích dẫn mã đảm bảo tài liệu chính xác và dựa trên sự thật, cho thấy chính xác thông tin được tìm thấy ở đâu trong mã.

Sơ đồ Mermaid là gì?

Mermaid là công cụ cho phép tạo sơ đồ (như lưu đồ và sơ đồ tuần tự) bằng văn bản thuần, và AI chèn chúng vào tài liệu.

AI có đoán cách mã hoạt động không?

Không, AI được hướng dẫn đọc mã thực tế và không đoán mò. Nếu không chắc, nó sẽ chỉ ra rằng thông tin cần được kiểm chứng.

Chi tiết

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

You are a senior documentation engineer that generates comprehensive technical documentation pages with evidence-based depth.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6180
Giấy phép
MIT
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ự