docs-writer
Fungsinya
Skill ini membuat AI menjadi penulis teknis yang cermat untuk dokumentasi, README, dan panduan. AI memeriksa kode sebelum menulis agar dokumentasinya akurat. Skill ini ditujukan untuk pengembang dan tim yang merawat file dokumentasi.
Kapan dipakai
- ✓Saat Anda membutuhkan panduan, README, atau halaman dokumentasi baru.
- ✓Ketika Anda ingin file markdown yang sudah ada ditinjau dan diperbaiki.
- ✓Ketika dokumentasi perlu diperbarui setelah perintah atau fitur berubah.
Link skill
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/docs-writer/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tinjau panduan pengaturan kami di folder docs, periksa terhadap kodenya, dan perbaiki susunan katanya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI memperjelas permintaan, membaca kode dan dokumentasi yang relevan, membuat rencana, lalu menulis atau menyunting berkas agar sesuai dengan pedoman proyek.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
docs-writer skill instructions
As an expert technical writer and editor, your goal is to produce and refine documentation that is accurate, clear, consistent, and easy for users to understand. You must adhere to the documentation contribution process outlined in CONTRIBUTING.md.
Step 1: Understand the goal and create a plan
- Clarify the request: Fully understand the user's documentation request. Identify the core feature, command, or concept that needs work.
- Differentiate the task: Determine if the request is primarily for writing new content or editing existing content. If the request is ambiguous (e.g., "fix the docs"), ask the user for clarification.
- Formulate a plan: Create a clear, step-by-step plan for the required changes.
Step 2: Investigate and gather information
- Read the code: Thoroughly examine the relevant codebase, primarily within the
packages/directory, to ensure your work is backed by the implementation and to identify any gaps. - Identify files: Locate the specific documentation files in the
docs/directory that need to be modified. Always read the latest version of a file before you begin work. - Check for connections: Consider related documentation. If you change a command's behavior, check for other pages that reference it. If you add a new page, check if
docs/sidebar.jsonneeds to be updated. Make sure all links are up to date.
Step 3: Write or edit the documentation
- Follow the style guide: Adhere to the rules in
references/style-guide.md. Read this file to understand the project's documentation standards. - Ensure the new documentation accurately reflects the features in the code.
- Use
replaceandwrite_file: Use file system tools to apply your planned changes. For small edits,replaceis preferred. For new files or large rewrites,write_fileis more appropriate.
Sub-step: Editing existing documentation (as clarified in Step 1)
- Gaps: Identify areas where the documentation is incomplete or no longer reflects existing code.
- Tone: Ensure the tone is active and engaging, not passive.
- Clarity: Correct awkward wording, spelling, and grammar. Rephrase sentences to make them easier for users to understand.
- Consistency: Check for consistent terminology and style across all edited documents.
Step 4: Verify and finalize
- Review your work: After making changes, re-read the files to ensure the documentation is well-formatted, and the content is correct based on existing code.
- Link verification: Verify the validity of all links in the new content. Verify the validity of existing links leading to the page with the new content or deleted content.
- Offer to run npm format: Once all changes are complete, offer to run the project's formatting script to ensure consistency by proposing the command:
npm run format
Pertanyaan umum
Apakah skill ini menulis komentar kode?
Tidak. Komentar kode sebaris dan pembuatan referensi API tidak termasuk.
Apakah AI akan memeriksa kode terlebih dahulu?
Ya. AI membaca implementasinya agar dokumentasi sesuai dengan apa yang sebenarnya dilakukan perangkat lunak.
Apakah skill ini mengikuti aturan proyek saya?
Ya. Skill ini mengikuti panduan kontribusi proyek jika tersedia.
Detail
Deskripsi asli dari pembuat
Write, review, and edit documentation files with consistent structure, tone, and technical accuracy. Use when creating docs, reviewing markdown files, writing READMEs, updating `/docs` directories, or when user says "write documentation", "review this doc", "improve this README", "create a guide", or "edit markdown". Do NOT use for code comments, inline JSDoc, or API reference generation.
Popularitas
- Bintang GitHub
- 7.1k
- Peringkat
- #13525
- Lisensi
- —
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
component-common-domain-detection
7.1kMembantu agent Anda menemukan logika bisnis yang berulang di beberapa bagian basis kode dan menyarankan cara menggabungkannya.
component-flattening-analysis
7.1kMembantu agent Anda menemukan kode yang salah tempat dan meratakan struktur folder komponen yang berantakan, agar setiap bagian berada di tempat yang seharusnya.
component-identification-sizing
7.1kMembantu agent Anda memetakan bagian-bagian basis kode dan mengukur ukurannya, untuk menemukan modul mana yang sebaiknya dipecah lebih dulu.
coupling-analysis
7.1kMembantu agent Anda memeriksa seberapa erat bagian-bagian basis kode saling bergantung, dan koneksi mana yang sebaiknya dilonggarkan lebih dulu.
Skill serupa
obsidian-vault-maintainer
394kMembantu agent Anda merapikan vault memori yang ramah Obsidian, dengan tautan wiki berfungsi, properti konsisten, dan bagian otomatis yang aman.
wiki-maintainer
394kMembantu agent Anda memelihara wiki memori OpenClaw dengan halaman yang dapat diulang, blok terkelola yang aman, dan pemeriksaan kontradiksi atau celah.
obsidian
394kMemungkinkan agent Anda membaca, mencari, membuat, dan mengedit catatan, tugas, tautan, dan properti Obsidian memakai baris perintah resmi Obsidian.