让 Markdown 在 GitHub、MDX、Pandoc、文档站、Slack、Notion 等解析器中正确渲染,并定位修复具体损坏位置。
文档
Documentation
Technical documentation patterns, structure, maintenance, and avoiding common documentation failures.
它能做什么
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 Troubleshoo…
技能文档
Structure Hierarchy
- 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
- One-sentence description — what problem it solves
- Installation — copy-paste command that works
- Quick start — minimal example that actually runs
- 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]notnpm 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-checkor 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
相关技能
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus...
按真正的教练流程开会:先定产出、再用短问、给出带日期与验证的承诺,并在签约时设计好结束节点。
Build polished, conversion-aware frontends with strong visual taste, clear hierarchy, and production-grade HTML/CSS/JS. Landing pages, dashboards, components...
通过托管 OAuth 调用 Google Docs API,实现文档创建、读写与样式管理。
根据风险信号决定先规划还是直接执行,并按风险等级匹配规划深度,包含步骤、估算与回滚。
Iván 的更多技能
浏览全部技能执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。
用可量化的层级、间距、字号、配色与版式规则,绘制并诊断视觉作品。
围绕 CSS 机制排查问题并编写组件样式表,而不是凭感觉试错。
以系统方式规划并执行自学:从出口测试倒推课程,加入间隔复习与刻意练习,产出可验证的迁移证据。
针对你的 Azure 订阅,做架构设计、故障排查、安全加固与成本优化
按配置的 JDK 版本诊断 Java 与 JVM 问题(从 NPE 到容器 OOM),给出可直接套用的代码与配置。