technical-writer by onewave-ai/claude-skills
npx skills add https://github.com/onewave-ai/claude-skills --skill technical-writer为各类受众创建清晰、全面的技术文档。
当用户需要技术文档时:
确定文档类型:
确定受众:
构建文档结构:
用户指南格式:
# [产品/功能名称]
## 概述
[它是什么,做什么,为什么使用它 - 2-3句话]
## 先决条件
- [所需知识]
- [所需工具/访问权限]
- [系统要求]
## 快速开始
[实现首次成功的最简步骤快速入门指南]
### 步骤 1: [操作]
[包含截图/代码的详细说明]
### 步骤 2: [操作]
[详细说明]
## 核心概念
### [概念 1]
[包含示例的解释]
## 常见任务
### 如何 [任务]
1. [步骤]
2. [步骤]
3. [预期结果]
## 高级功能
[可选的高级功能]
## 故障排除
### 问题: [常见问题]
**症状**: [用户看到的现象]
**解决方案**: [如何修复]
## 常见问题解答
**问: [问题]**
答: [答案]
## 附加资源
- [相关文档链接]
- [支持渠道]
:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# 如何 [达成目标]
**所需时间**: [X 分钟]
**难度**: [初级/中级/高级]
## 你将学到什么
- [学习目标 1]
- [学习目标 2]
## 先决条件
- [所需知识]
- [所需工具]
## 分步说明
### 1. [第一个主要步骤]
[解释此步骤的重要性]
```[语言]
[代码示例]
预期输出:
[用户应该看到的内容]
[继续此模式]
[如何确认操作成功]
[接下来可以学习什么]
[常见问题]
**架构文档格式**:
```markdown
# [系统名称] 架构
## 概述
[高层描述、目的、关键特性]
## 架构图
[ASCII 图表或图表描述]
## 组件
### [组件 1]
**目的**: [它的作用]
**技术**: [技术栈/框架]
**职责**:
- [职责 1]
- [职责 2]
**接口**:
- 输入: [接收的数据/请求]
- 输出: [产生的数据/响应]
## 数据流
1. [系统内逐步流转过程]
## 技术栈
- **前端**: [技术]
- **后端**: [技术]
- **数据库**: [技术]
- **基础设施**: [技术]
## 设计决策
### 为什么选择 [技术/模式]?
[理由、考虑过的替代方案、权衡]
## 可扩展性考量
[系统如何扩展、瓶颈、缓解策略]
## 安全性
[认证、授权、数据保护]
## 监控与可观测性
[日志记录、指标、告警]
4. 应用技术写作最佳实践:
清晰性: * 使用短句(目标 15-20 个词) * 避免术语,或在首次使用时进行定义 * 使用主动语态("点击按钮" 而非 "按钮应被点击") * 具体明确("将超时设置为 30 秒" 而非 "设置一个合理的超时")
结构: * 使用描述性标题 * 将内容分解为可浏览的部分 * 对序列使用编号列表 * 对无序项使用项目符号 * 为长文档添加目录
视觉元素: * 包含带注释的截图 * 添加带语法高亮的代码示例 * 对复杂概念使用图表 * 展示预期输出 * 为比较或参考添加表格
代码示例: * 包含语言标识符 * 展示好的和坏的示例 * 添加注释解释复杂部分 * 使用真实、可运行的示例 * 包含错误处理
以用户为中心: * 从最常见用例开始 * 包含"为什么"而不仅仅是"怎么做" * 预判用户问题 * 指出常见陷阱 * 提供故障排除
格式化完整输出:
📚 技术文档
类型: [用户指南/教程/架构文档等] 受众: [目标受众] 级别: [初级/中级/高级]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [完整的 Markdown 文档] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 文档检查清单 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 清晰的概述和目的 ✅ 列出先决条件 ✅ 分步说明 ✅ 包含代码示例 ✅ 展示预期输出 ✅ 故障排除部分 ✅ 相关文档链接 ✅ 可浏览的结构 ✅ 适合受众水平
💡 维护说明 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
审查触发条件: • [何时更新此文档] • [可能发生变更的依赖项]
相关文档: • [相关文档链接]
特殊文档类型:
README.md: * 项目名称和描述 * 安装说明 * 快速开始示例 * 功能列表 * 文档链接 * 贡献指南 * 许可证
发布说明: * 版本号和日期 * 新功能 * 改进 * 错误修复 * 重大变更 * 迁移指南 * 弃用通知
故障排除指南: * 基于症状的组织结构 * 根本原因分析 * 分步解决方案 * 预防提示 * 何时需要升级处理
确保文档:
生成专业、全面的技术文档,使用户能够成功。
每周安装量
343
代码仓库
GitHub 星标数
67
首次出现
2026年1月24日
安全审计
安装于
opencode305
gemini-cli299
codex296
cursor287
github-copilot280
kimi-cli252
Create clear, comprehensive technical documentation for any audience.
When a user needs technical documentation:
Identify Documentation Type :
Determine Audience :
Structure Documentation :
User Guide Format :
# [Product/Feature Name]
## Overview
[What it is, what it does, why use it - 2-3 sentences]
## Prerequisites
- [Required knowledge]
- [Required tools/access]
- [System requirements]
## Getting Started
[Quick start guide with minimal steps to first success]
### Step 1: [Action]
[Detailed instructions with screenshots/code]
### Step 2: [Action]
[Detailed instructions]
## Key Concepts
### [Concept 1]
[Explanation with examples]
## Common Tasks
### How to [Task]
1. [Step]
2. [Step]
3. [Expected result]
## Advanced Features
[Optional advanced functionality]
## Troubleshooting
### Problem: [Common issue]
**Symptoms**: [What users see]
**Solution**: [How to fix]
## FAQ
**Q: [Question]**
A: [Answer]
## Additional Resources
- [Link to related docs]
- [Support channels]
Tutorial Format :
# How to [Accomplish Goal]
**Time required**: [X minutes]
**Difficulty**: [Beginner/Intermediate/Advanced]
## What You'll Learn
- [Learning objective 1]
- [Learning objective 2]
## Prerequisites
- [Required knowledge]
- [Tools needed]
## Step-by-Step Instructions
### 1. [First Major Step]
[Explanation of why this step matters]
```[language]
[Code example]
Expected output :
[What users should see]
[Continue pattern]
[How to confirm it worked]
[What to learn next]
[Common issues]
**Architecture Documentation Format**:
```markdown
# [System Name] Architecture
## Overview
[High-level description, purpose, key characteristics]
## Architecture Diagram
[ASCII diagram or description for diagram]
## Components
### [Component 1]
**Purpose**: [What it does]
**Technology**: [Stack/framework]
**Responsibilities**:
- [Responsibility 1]
- [Responsibility 2]
**Interfaces**:
- Input: [Data/requests it receives]
- Output: [Data/responses it produces]
## Data Flow
1. [Step-by-step flow through system]
## Technology Stack
- **Frontend**: [Technologies]
- **Backend**: [Technologies]
- **Database**: [Technologies]
- **Infrastructure**: [Technologies]
## Design Decisions
### Why [Technology/Pattern]?
[Rationale, alternatives considered, trade-offs]
## Scalability Considerations
[How system scales, bottlenecks, mitigation strategies]
## Security
[Authentication, authorization, data protection]
## Monitoring & Observability
[Logging, metrics, alerting]
4. Apply Technical Writing Best Practices :
Clarity :
* Use short sentences (aim for 15-20 words)
* Avoid jargon or define it when first used
* Use active voice ("Click the button" not "The button should be clicked")
* Be specific ("Set timeout to 30 seconds" not "Set a reasonable timeout")
Structure :
* Use descriptive headings
* Break content into scannable sections
* Use numbered lists for sequences
* Use bullet points for unordered items
* Add table of contents for long docs
Visuals :
* Include screenshots with annotations
* Add code examples with syntax highlighting
* Use diagrams for complex concepts
* Show expected outputs
* Add tables for comparison or reference
Code Examples :
* Include language identifier
* Show both good and bad examples
* Add comments explaining complex parts
* Use realistic, runnable examples
* Include error handling
User-Focused :
* Start with most common use case
* Include "why" not just "how"
* Anticipate user questions
* Address common pitfalls
* Provide troubleshooting
5. Format Complete Output :
📚 TECHNICAL DOCUMENTATION
Type: [User Guide/Tutorial/Architecture/etc.]
Audience: [Target audience]
Level: [Beginner/Intermediate/Advanced]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[Full markdown documentation]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 DOCUMENTATION CHECKLIST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Clear overview and purpose
✅ Prerequisites listed
✅ Step-by-step instructions
✅ Code examples included
✅ Expected outputs shown
✅ Troubleshooting section
✅ Links to related docs
✅ Scannable structure
✅ Appropriate for audience level
💡 MAINTENANCE NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Review Triggers:
• [When to update this doc]
• [Dependencies that might change]
Related Documentation:
• [Link to related docs]
6. Special Documentation Types :
README.md :
* Project name and description
* Installation instructions
* Quick start example
* Features list
* Documentation links
* Contributing guidelines
* License
Release Notes :
* Version number and date
* New features
* Improvements
* Bug fixes
* Breaking changes
* Migration guide
* Deprecation notices
Troubleshooting Guide :
* Symptom-based organization
* Root cause analysis
* Step-by-step resolution
* Prevention tips
* When to escalate
Ensure documentation:
Generate professional, comprehensive technical documentation that enables users to succeed.
Weekly Installs
343
Repository
GitHub Stars
67
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode305
gemini-cli299
codex296
cursor287
github-copilot280
kimi-cli252
Python PDF处理教程:合并拆分、提取文本表格、创建PDF文件
54,200 周安装