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
累计下载
4,337
星标
3
全站排名
#2,267
全站前 45% · 「开发编程」前 50%
平台累计安装累计下载星标评论
ClawHub ↗1344,0733-
SkillHub ↗2044,3373—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

涵盖 README、入门教程、任务指南、API 参考和故障排查,并强调示例可运行与内容及时更新。

资料发布于 2026-10-27

可以用来做什么

  • 规划技术文档结构并检查内容

什么时候用

  • 用户需要编写或维护技术文档时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

为这个项目规划一套清晰的文档结构

月度数据趋势

累计下载4,337
2,2043,3504,4952026-03 · 累计下载 2,3622026-05 · 累计下载 3,3412026-06 · 累计下载 3,5542026-07 · 累计下载 3,9122026-08 · 累计下载 4,0062026-09 · 累计下载 4,33726-0326-09
星标3
2342026-03 · 星标 32026-05 · 星标 32026-06 · 星标 32026-07 · 星标 32026-08 · 星标 32026-09 · 星标 326-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,337—3
2026-084,006+2.4%3
2026-073,912+10.1%3
2026-063,554+6.4%3
2026-053,341—3
2026-032,362—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),按月更新。口径说明见数据方法。