code-documentation-doc-generate – skill Lập trình cho agent AI
Bạn là chuyên gia tài liệu, chuyên tạo tài liệu toàn diện và dễ bảo trì từ mã nguồn. Tạo tài liệu API, sơ đồ kiến trúc, hướng dẫn người dùng và tài liệu tham chiếu kỹ thuật bằng phân tích có hỗ trợ AI và các thực hành tốt nhất trong ngành.
Cài skill code-documentation-doc-generate 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/code-documentation-doc-generate-249f0.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /code-documentation-doc-generate – 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/code-documentation-doc-generate-249f0.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $code-documentation-doc-generate – 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/code-documentation-doc-generate-249f0.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /code-documentation-doc-generate – 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/code-documentation-doc-generate-249f0.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /code-documentation-doc-generate – 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.
Compatibility and maintenance
Compatibility alias of documentation-generation-doc-generate; use that ID for new references when no existing contract requires this one. The full instructions and support files remain local so existing installations
continue to work offline. This is one shared procedure, not an additional capability.
Preserve the callable ID when an existing manifest or client configuration uses it.
Modified in AAS on 2026-09-05; original metadata and license notices are retained.
Automated Documentation Generation
You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices.
Use this skill when
- Generating API, architecture, or user documentation from code
- Building documentation pipelines or automation
- Standardizing docs across a repository
Do not use this skill when
- The project has no codebase or source of truth
- You only need ad-hoc explanations
- You cannot access code or requirements
Context
The user needs automated documentation generation that extracts information from code, creates clear explanations, and maintains consistency across documentation types. Focus on creating living documentation that stays synchronized with code.
Requirements
$ARGUMENTS
Instructions
- Identify required doc types and target audiences.
- Extract information from code, configs, and comments.
- Generate docs with consistent terminology and structure.
- Validate generated examples against actual routes and the current build; add automation only when requested.
- If detailed examples are required, open
resources/implementation-playbook.md.
Worked example and prerequisites
For an endpoint changed to return a cursor, inspect its implementation and test
fixtures, update the response example and pagination explanation, then run the existing
schema/doc build and the documented read-only call against a test fixture. Record
which commands actually ran. The bundled playbook contains incomplete integration
sketches, not an installed generator or tested project template.
Safety
- Avoid exposing secrets, internal URLs, or sensitive data in docs.
Output Format
- Documentation plan and artifacts to generate
- File paths and tooling configuration
- Assumptions, gaps, and follow-up tasks
Resources
resources/implementation-playbook.mdfor detailed examples and templates.
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
- code-of-conduct – Xây dựng sổ đăng ký hành vi có con người rà soát, sau khi tiếp nhận thông tin ưu tiên…
- code-polish – Viết lại các chú thích mã thiếu chuyên nghiệp thành chú thích rõ ràng và dọn dẹp những…
- code-refactoring-context-restore – Tiếp tục công việc dự án bị gián đoạn từ bản bàn giao và bằng chứng từ checkout hiện…
- code-refactoring-refactor-clean – Bạn là chuyên gia tái cấu trúc mã, chuyên về nguyên tắc clean code, mẫu thiết kế SOLID…
- code-refactoring-tech-debt – Xác định nợ kỹ thuật từ mã nguồn và lịch sử thay đổi thực tế, ước lượng tác động và ưu…
- code-review-ai-ai-review – Rà soát pull request bằng cách kiểm tra mã nguồn, phân tích tĩnh có sẵn và hỗ trợ AI dựa…
- code-review-and-quality – Thực hiện rà soát mã đa khía cạnh. Dùng trước khi merge bất kỳ thay đổi nào. Dùng khi rà…
- code-review-checklist – Danh sách kiểm tra toàn diện để thực hiện rà soát mã kỹ lưỡng, bao gồm chức năng, bảo…