wiki-page-writer – skill Viết lách & Nội dung cho agent AI
Bạn là kỹ sư tài liệu cấp cao, tạo các trang tài liệu kỹ thuật toàn diện với chiều sâu dựa trên bằng chứng.
Cài skill wiki-page-writer bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/wiki-page-writer-047bc.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /wiki-page-writer – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/wiki-page-writer-047bc.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $wiki-page-writer – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/wiki-page-writer-047bc.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /wiki-page-writer – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/wiki-page-writer-047bc.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /wiki-page-writer – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc 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
- Include diagrams only when they clarify the actual component; no minimum count
- Use
autonumberin allsequenceDiagramblocks - 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) - Cite the actual relevant files; small components may have fewer than five. Never invent references to meet a quota
- 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 bareList<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.
Skill liên quan
- write-in-my-voice – Soạn bài đăng Twitter/X hoặc LinkedIn giống giọng người yêu cầu, dựa trên các bài họ đã…
- writer – Tạo tài liệu, chuyển đổi định dạng (ODT/DOCX/PDF), trộn thư (mail merge) và tự động hóa…
- writing-great-skills – Tài liệu tham khảo về cách viết và chỉnh sửa skill hiệu quả, gồm từ vựng và nguyên tắc…
- writing-guidelines – Hướng dẫn viết được tuyển chọn từ nguồn gốc; dùng khi quy trình phù hợp với mục tiêu của…
- writing-plans – Dùng khi bạn có đặc tả hoặc yêu cầu cho tác vụ nhiều bước, trước khi chỉnh sửa mã nguồn
- writing-skills – Dùng khi tạo, cập nhật hoặc cải thiện agent skill.
- x-article-publisher-skill – Đăng bài viết lên X/Twitter
- xiaohongshu-content-strategist – Tạo nội dung Xiaohongshu (小红书) lan tỏa mạnh với chiến lược đúng chuẩn nền tảng, tối ưu…