doc-write
bởi apify
Viết hoặc chỉnh sửa các trang tài liệu Apify theo hướng dẫn về phong cách. Sử dụng khi người dùng yêu cầu "viết tài liệu cho", "tạo trang mới", "ghi lại tính năng này", "thêm…
npx skills add https://github.com/apify/apify-docs --skill doc-writeDocumentation writing
Process
- Determine doc type - platform docs, guide, or reference (tutorials → use
/tutorial) - Research - read related existing pages, check
standards/style-guide.mdfor product names - Create frontmatter - title (sentence case), description (140-160 chars), sidebar_position, slug
- Write content following the structure for the doc type:
- Platform docs: intro → prerequisites → main content → code examples → next steps
- Guides: intro with goal → step-by-step instructions → verification → troubleshooting
- Reference: brief description → parameters/options → examples → related pages
- Quality check - run
pnpm lint:mdandvalebefore finishing
Key rules: US English, active voice, imperative tone, sentence case headings, bold for UI elements only, all admonitions need titles, code blocks need language tags.
For detailed structure templates, see .agents/skills/doc-write/references/doc-structures.md.
For edge cases and process notes, see .agents/skills/doc-write/references/process.md.