Iván

Documentation

開發程式設計v1.0.0
作者:Iván更新於 2026-05-11documentation@clawhub_ivangdavila/documentation
程式碼審查#Documentation

據 AlphaMoat 統計,截至 2026-09,Documentation 累計下載 4,337 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 2,267 位,在「開發程式設計」分類(577 個)中排名第 286 位。

累計安裝
204
累計下載
4337
星標
3
全站排名
#2,267
全站前 45% · 「開發程式設計」前 50%
平台累計安裝累計下載星標評論
ClawHub ↗13440733-
SkillHub ↗20443373—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

涵蓋 README、入門教程、任務指南、API 參考和故障排查,並強調示例可執行與內容及時更新。

資料釋出於 2026-10-27

可以用來做什麼

  • 規劃技術文件結構並檢查內容

什麼時候用

  • 使用者需要編寫或維護技術文件時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

為這個專案規劃一套清晰的文件結構

月度資料趨勢

累計下載4337
2204335044952026-03 · 累計下載 23622026-05 · 累計下載 33412026-06 · 累計下載 35542026-07 · 累計下載 39122026-08 · 累計下載 40062026-09 · 累計下載 433726-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094337—3
2026-084006+2.4%3
2026-073912+10.1%3
2026-063554+6.4%3
2026-053341—3
2026-032362—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.9 KB · ClawHub v1.0.0
---
name: Documentation
description: Technical documentation patterns, structure, maintenance, and avoiding common documentation failures.
metadata:
  category: writing
  skills: ["documentation", "technical-writing", "readme", "api-docs"]
---

## Structure Hierarchy
展開全部(共 97 行)
- README: what it is, how to install, quick example — 5 minutes to first success
- Getting Started: guided tutorial for beginners — one complete workflow
- Guides: task-oriented ("How to X") — goal-focused, not feature-focused
- Reference: exhaustive API/CLI docs — complete but not for learning
- Troubleshooting: common errors with solutions — search-optimized

## README Essentials

1. One-sentence description — what problem it solves
2. Installation — copy-paste command that works
3. Quick start — minimal example that actually runs
4. Link to full docs — don't cram everything in README

Missing any of these = users bounce before trying.

## Code Examples

- Every example must be tested — untested examples rot within months
- Show complete runnable code, not fragments — users copy-paste
- Include expected output — confirms they did it right
- Bad: `client.query(...)` / Good: full script with imports, setup, and output
- Version-pin examples: `npm install [email protected]` not `npm install package`

## API Documentation

- Every endpoint needs: method, path, parameters, request body, response, error codes
- Show real request/response bodies — not just schemas
- Include authentication in every example — most common missing piece
- Document rate limits and pagination upfront — not buried in footnotes
- Error responses need as much detail as success responses

## What Gets Outdated

- Screenshots — UI changes, screenshots don't
- Version numbers — hardcoded versions become wrong
- Links — external sites move, break constantly
- "Current" anything — write timelessly or add review dates
- Feature flags and experimental warnings — often forgotten after GA

## Maintenance Patterns

- Docs live next to code — same repo, same PR. Separate repos drift
- CI checks for broken links — `markdown-link-check` or equivalent
- Runnable examples as tests — if example breaks, build fails
- Review date in docs: "Last verified: 2024-01" — signals freshness
- Delete aggressively — outdated docs worse than no docs

## Common Failures

- Documenting implementation, not usage — users don't care how it works internally
- Assuming context — define acronyms, link prerequisites
- Wall of text — use headings, bullets, code blocks liberally
- "See X for more info" without link — friction kills follow-through
- Changelog as documentation — changes ≠ how to use current version

## Writing Style

- Imperative mood: "Run the command" not "You can run the command"
- Second person: "you" not "the user"
- Present tense: "This returns X" not "This will return X"
- Short sentences — one idea per sentence
- Active voice: "The function returns X" not "X is returned by the function"

## Searchability

- Use words users search for — not internal jargon
- Error messages verbatim in troubleshooting — users paste exact errors
- Multiple ways to describe same thing — alias common variations
- H2/H3 headings are SEO — match user queries
- Avoid clever titles — "Getting Started" beats "Your Journey Begins"

## Versioned Documentation

- Major versions need separate docs — v1 users shouldn't see v2 docs
- Migration guides between versions — step-by-step, not just changelog
- Default to latest stable, link to older versions
- Mark deprecated features clearly — don't just remove
- URL structure: `/docs/v2/` not query params

## README Anti-patterns

- Badge spam — 15 badges before content
- Massive feature lists — save for marketing page
- No installation instructions — assuming everyone knows
- Screenshots without context — what am I looking at?
- License-only README — legal compliance ≠ documentation

「開發程式設計」分類下的熱門技能

Iván 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。