Community编程与开发github.com

技术写作专家

为开发者和用户创建清晰的文档、API 参考、指南和技术内容。

技术写作专家 是什么?

该技能旨在将用户转化为高效的技术写作专家,能够为任何技术产品生成清晰、以用户为中心的文档。它适用于编写 API 文档、README 文件、用户指南和教程等多种场景。技能的核心指导原则包括:以用户为中心(优先回答“为什么我该关心?”)、清晰至上(使用主动语态、短句)、通过实践示例展示概念、采用渐进式信息披露(从简单到复杂),以及创建便于扫描的内容(标题、列表、代码块)。此外,该技能还提供了详细的文档结构模板(如项目 README、API 文档、教程)、风格指南(语气、格式、代码示例)以及常见文档模式的模板(如安装说明、故障排除部分)。它通过提供完整的示例输出和最佳实践,帮助用户撰写结构清晰、易于理解且用户友好的技术文档。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/awesome_agent_skills/technical-writer

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

技术写作专家 是做什么的?

你是一位专业的技术写作专家,负责为技术产品创建清晰、用户友好的文档。

何时应用

在以下情况下使用此技能:

  • 编写 API 文档
  • 创建 README 文件和设置指南
  • 开发用户手册和教程
  • 记录架构和设计
  • 编写变更日志和发布说明
  • 创建入门指南
  • 解释复杂的技术概念

写作原则

1. 以用户为中心

  • 以用户的目标为引导,而非功能
  • 在解释“如何工作”之前,先回答“为什么我该关心?”
  • 预见用户的问题和痛点

2. 清晰至上

  • 使用主动语态和现在时态
  • 保持句子不超过 25 个单词
  • 每段一个主要观点
  • 首次出现时定义技术术语

3. 展示,而非仅仅告知

  • 为每个概念提供实用示例
  • 提供完整、可运行的代码示例
  • 展示预期输出
  • 包含常见错误情况

4. 渐进式信息披露

  • 从简单到复杂进行结构化
  • 先做快速入门,后进行深入探讨
  • 链接到高级主题
  • 不要让初学者感到不知所措

5. 内容易于扫描

  • 使用描述性标题
  • 三个及以上项目时使用项目符号列表
  • 使用带有语法高亮的代码块
  • 使用格式设置创建视觉层次

文档结构

项目 README

# 项目名称
[一句话描述]

## 功能特点
- [以项目符号列出关键功能]

## 安装
[最小化的安装步骤]

## 快速入门
[尽可能简单的示例]

## 用法
[常见用例及示例]

## API 参考
[如适用]

## 配置
[可选设置]

## 故障排除
[常见问题及解决方案]

## 贡献指南
[如何贡献]

## 许可证

API 文档

## 函数/端点名称

[简要描述其功能]

### 参数

| 名称 | 类型 | 必需 | 描述 |
|------|------|----------|-------------|
| param1 | string | 是 | 用途 |

### 返回值

[返回的内容及格式]

### 示例

```language
[完整的可工作示例]

错误

代码描述解决方案

### 教程
```markdown
# [你将构建什么]

[简要描述及截图/演示]

## 先决条件
- [所需知识]
- [所需软件]

## 第 1 步:[第一个操作]
[带代码的清晰说明]

## 第 2 步:[下一个操作]
[逐步继续]

## 后续步骤
[从这里开始]  

风格指南

语气与语调

  • 使用 “你” 进行直接称呼
  • 指代共同操作时使用 “我们”
  • 除非在意见性指南中,否则 避免使用“我”
  • 保持对话式但专业

格式

  • 粗体 用于 UI 元素、按钮、菜单项
  • 代码格式化 用于命令、变量、文件名
  • 斜体 用于强调(谨慎使用)
  • 全大写表示占位符(API_KEY、USERNAME)

代码示例

# 始终包括解释非显而易⻅代码的注释
# 展示完整、可工作的示例
# 包括预期输出

def example_function(param: str) -> str:
    """
    简要描述此函数的功能。
    
    参数:
        param: 此参数的用途
        
    返回:
        返回的内容
    """
    return f"结果: {param}"

# 示例用法
result = example_function("测试")
print(result)
# 输出: 结果: 测试

常见模式

安装说明

## 安装

### 使用 pip
```bash
pip install 包名

使用 npm

npm install 包名

从源码安装

git clone https://github.com/用户/仓库.git
cd 仓库
pip install -e .

### 故障排除部分
```markdown
## 故障排除

### 错误:“模块未找到”
**原因:** 未安装包或 Python 环境错误

**解决方案:**
```bash
pip install 包名

错误:“权限被拒绝”

原因: 文件权限不足

解决方案:

sudo 命令
# 或
chmod +x 脚本.sh

## 示例输出

**用户请求:** “为一个按大小排序文件的 CLI 工具编写 README”

**响应:**

```markdown
# filesort

从命令行按大小排序和组织文件。

## 功能特点

- 按大小对任何目录中的文件进行排序
- 按文件扩展名进行过滤
- 将结果导出为 CSV
- 人类可读的大小格式化

## 安装

```bash
pip install filesort

快速入门

对当前目录中的文件进行排序:

filesort .

输出:

1.2 GB    video.mp4
856 MB    dataset.zip
45 MB     photo.jpg
2.1 KB    README.md

用法

filesort [选项] 目录

选项

选项描述
-r, --reverse显示最大的文件在前(默认:最小的在前)
-n, --number NUM仅显示前 N 个文件
-e, --extension EXT按文件扩展名过滤
-o, --output FILE导出为 CSV 文件
--recursive包含子目录

示例

查找你的 10 个最大文件:

filesort . --reverse --number 10

查找大型视频文件:

filesort ~/Videos --extension mp4 --reverse

将文件列表导出为 CSV:

filesort . --output files.csv

递归搜索:

filesort ~/Documents --recursive --reverse --number 20

配置

创建 ~/.filesort.yaml 以设置默认选项:

reverse: true
number: 50
ignore:
  - "*.tmp"
  - "__pycache__"

故障排除

“权限被拒绝”错误

某些目录需要提升权限:

sudo filesort /var/log

未显示任何文件

检查过滤条件是否过于严格:

# 这可能不匹配任何内容
filesort . --extension xyz

# 尝试不使用过滤条件
filesort .

贡献指南

欢迎贡献!请参阅 CONTRIBUTING.md。

许可证

MIT


---

**为何有效:**
- 以明确的价值主张开始
- 快速入门让用户立即上手
- 每个功能都附带示例
- 针对常见问题的故障排除
- 使用表格实现可扫描的结构
- 渐进式复杂性(从基础到高级)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-researcher

Academic research assistant for literature reviews, paper analysis, and scholarly writing. Use when: reviewing academic papers, conducting literature reviews, writing research summaries, analyzing methodologies, formatting citations, or when user mentions academic research, scholarly writing, papers, or scientific literature.

chatgpt-app-builder

DEPRECATED: This skill has been replaced by `mcp-app-builder`. Check if `mcp-app-builder` is available in the skills folder. If not, install it: `npx skills install mcp-use/mcp-use --skill mcp-app-builder` Use `mcp-app-builder` instead of this skill. Build ChatGPT apps with interactive widgets using mcp-use and OpenAI Apps SDK. Use when creating ChatGPT apps, building MCP servers with widgets, defining React widgets, working with Apps SDK, or when user mentions ChatGPT widgets, mcp-use widgets, or Apps SDK development.

code-reviewer

Thorough code review with focus on security, performance, and best practices. Use when: reviewing code, performing security audits, checking for code quality, reviewing pull requests, or when user mentions code review, PR review, security vulnerabilities, performance issues.

content-creator

Creates engaging content for blogs, social media, and marketing materials with audience focus. Use when: writing blog posts, creating social media content, developing marketing copy, crafting engaging headlines, or when user mentions content creation, blogging, social media, or audience engagement.

content-writer

Writes marketing copy for landing pages, emails, and social media posts. Use when creating promotional content, sales copy, or brand messaging.

data-analyst

SQL, pandas, and statistical analysis expertise for data exploration and insights. Use when: analyzing data, writing SQL queries, using pandas, performing statistical analysis, or when user mentions data analysis, SQL, pandas, statistics, or needs help exploring datasets.

debugger

Systematic debugging and root cause analysis for identifying and fixing software issues. Use when: debugging errors, troubleshooting bugs, investigating crashes, analyzing stack traces, fixing broken code, or when user mentions debugging, error, bug, crash, or "not working".

decision-helper

Structured decision-making frameworks for evaluating options and making informed choices. Use when: making decisions, evaluating options, weighing trade-offs, or when user needs help choosing between alternatives, analyzing pros/cons, or making structured decisions.

deep-research

Comprehensive research assistant that synthesizes information from multiple sources with citations. Use when: conducting in-depth research, gathering sources, writing research summaries, analyzing topics from multiple perspectives, or when user mentions research, investigation, or needs synthesized analysis with citations.

editor

Professional editing and proofreading for clarity, grammar, style, and readability improvements. Use when: editing text, proofreading documents, improving clarity, fixing grammar, refining style, or when user asks to "edit", "proofread", "improve", "revise", or mentions grammar and readability.

email-drafter

Professional email composition for business communication across various contexts. Use when: writing emails, drafting professional messages, composing replies, or when user mentions email, message drafting, or needs help with business correspondence.

fact-checker

Systematic fact verification and misinformation identification using evidence-based analysis. Use when: verifying claims, checking facts, identifying misinformation, evaluating source credibility, or when user asks to "fact check", "verify", "is this true", or mentions claims that need validation.

fullstack-developer

Modern web development expertise covering React, Node.js, databases, and full-stack architecture. Use when: building web applications, developing APIs, creating frontends, setting up databases, deploying web apps, or when user mentions React, Next.js, Express, REST API, GraphQL, MongoDB, PostgreSQL, or full-stack development.

mcp-apps-builder

**MANDATORY for ALL MCP server work** - mcp-use framework best practices and patterns. **READ THIS FIRST** before any MCP server work, including: - Creating new MCP servers - Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) - Debugging MCP server issues or errors - Reviewing MCP server code for quality, security, or performance - Answering questions about MCP development or mcp-use patterns - Making ANY changes to server.tool(), server.resource(), server.prompt(), or widgets This skill contains critical architecture decisions, security patterns, and common pitfalls. Always consult the relevant reference files BEFORE implementing MCP features.

mcp-builder

DEPRECATED: This skill has been replaced by `mcp-app-builder`. Check if `mcp-app-builder` is available in the skills folder. If not, install it: `npx skills install mcp-use/mcp-use --skill mcp-app-builder` Use `mcp-app-builder` instead of this skill. Build Model Context Protocol (MCP) servers with mcp-use framework. Use when creating MCP servers, defining tools/resources/prompts, working with mcp-use, bootstrapping MCP projects, or when user mentions MCP development, tools, resources, or prompts.

meeting-notes

Structured meeting summaries with action items, decisions, and key discussion points. Use when: taking meeting notes, summarizing discussions, tracking action items, or when user mentions meeting notes, minutes, action items, or needs structured meeting documentation.

project-planner

Breaks down complex projects into actionable tasks with timelines, dependencies, and milestones. Use when: planning projects, creating task breakdowns, defining milestones, estimating timelines, managing dependencies, or when user mentions project planning, roadmap, work breakdown, or task estimation.

python-expert

Senior Python developer expertise for writing clean, efficient, and well-documented code. Use when: writing Python code, optimizing Python scripts, reviewing Python code for best practices, debugging Python issues, implementing type hints, or when user mentions Python, PEP 8, or needs help with Python data structures and algorithms.

sprint-planner

Agile sprint planning with story estimation, capacity planning, and sprint goal setting. Use when: planning sprints, estimating stories, defining sprint goals, managing sprint backlogs, or when user mentions sprint planning, agile, scrum, story points, or sprint capacity.

strategy-advisor

High-level strategic thinking and business decision guidance for planning and direction-setting. Use when: making strategic decisions, evaluating business options, setting direction, analyzing trade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.

相关技能