technical-writing-skillhub
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "technical-writing-skillhub":https://skillpi.com/zh/skills/deepskill-c45359ca07c3e8dffba81648a7089af1ebf9844407ac17024bcfcc3d1f3310e7。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/technical-writing-skillhub。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
SkillHub 技能,用于在 SkillHub 平台中标识与管理特定技术或能力相关的条目。
介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 编写清晰、简洁且准确的技术文档,包括API参考文档、用户指南、教程、变更日志和架构文档,针对目标受众进行定制。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: 技术写作
slug: "technical-writing"
version: "1.0.0"
displayName: "技术写作"
summary: "编写清晰、简洁且准确的技术文档,包括 API 参考、用户指南、教程、变更日志和架构文档,针对目标受众进行定制。"
description: 编写清晰、简洁且准确的技术文档,包括API参考文档、用户指南、教程、变更日志和架构文档,针对目标受众进行定制。
license: MIT
metadata:
author: awesome-ai-agent-skills
version: 1.0.0技术写作
This skill enables an AI agent to produce high-quality technical documentation across a range of formats — API references, user guides, getting-started tutorials, changelogs, architecture decision records, and more. The agent analyzes the target audience, structures information logically, applies consistent formatting standards, and ensures every document is accurate, scannable, and actionable.
Workflow
-
Identify Document Type and Audience Determine which type of document is needed (API reference, tutorial, user guide, changelog, architecture doc) and who will read it (beginner developers, experienced engineers, end users, stakeholders). Adjust vocabulary, depth, and assumed prerequisites accordingly. A tutorial for beginners should explain every step; an API reference for senior engineers should be terse and precise.
-
Gather Source Material Collect all relevant inputs: source code, existing documentation, design documents, user stories, API schemas (OpenAPI/Swagger), commit histories, or stakeholder interviews. Identify the authoritative source for each piece of information to ensure accuracy. Note any gaps that need clarification.
-
Design the Document Structure Create an outline following the conventions of the document type. API references use a consistent per-endpoint template. Tutorials follow a step-by-step progression. Architecture docs follow a decision-record format (context, decision, consequences). Plan where code examples, tables, and callout boxes will appear.
-
Write the Content Draft the document using clear, direct language. Prefer active voice and short sentences. Lead each section with the most important information. Include complete, runnable code examples that readers can copy and execute. Use consistent terminology and define acronyms on first use. Format according to the chosen standard (Markdown, reStructuredText, AsciiDoc).
-
Add Navigation and Cross-References Insert a table of contents for long documents, anchor links between related sections, and links to prerequisite or follow-up documentation. Add "Next steps" sections at the end of tutorials.
-
Review for Accuracy and Completeness Verify all code examples compile or run correctly. Confirm API endpoint paths, parameters, and response schemas match the actual implementation. Check that every tutorial step produces the described result. No placeholder text or TODO items should remain.
Usage
Provide the agent with:
- Document type — API reference, tutorial, user guide, changelog, architecture decision record, README
- Subject — the feature, API, tool, or system to document
- Audience — skill level and role of the intended readers
- Source material — code files, schemas, design docs, or a description of the feature
- Format — Markdown, reStructuredText, AsciiDoc, or HTML
Example prompt: "Write an API reference for the /users endpoint. The audience is third-party developers. Here is the OpenAPI spec: [attached file]."
Examples
Example 1: API Endpoint Reference
Input: "Document the POST /api/v1/webhooks endpoint. Creates a webhook subscription. Requires Bearer token auth. Body: url (string, required), events (string[], required), secret (string, optional). Returns 201 or 422."
Output:
POST /api/v1/webhooks
Creates a new webhook subscription. Requires a Bearer token in the
Authorizationheader.
Field Type Required Description urlstring Yes HTTPS endpoint URL to receive payloads. eventsstring[] Yes Event types to subscribe to (e.g., ["order.created"]).secretstring No HMAC-SHA256 signing secret. Auto-generated if omitted. curl -X POST https://api.example.com/api/v1/webhooks \ -H "Authorization: Bearer sk_live_abc123" \ -H "Content-Type: application/json" \ -d '{"url":"https://myapp.com/hooks","events":["order.created"]}'201 Created:
{"id":"wh_9a8b7c6d","url":"https://myapp.com/hooks","events":["order.created"],"active":true}422 Error:
{"error":{"code":"validation_error","details":[{"field":"url","message":"URL must use HTTPS."}]}}
Example 2: Getting-Started Tutorial
Input: "Write a getting-started tutorial for our Python SDK (acme-sdk). Install, authenticate, and list projects."
Output:
Getting Started with the Acme Python SDK
Prerequisites
- Python 3.9+ and an Acme API key (found at Settings > API Keys)
Step 1: Install the SDK
pip install acme-sdkStep 2: Set Your API Key
export ACME_API_KEY="sk_live_your_key_here"Step 3: List Your Projects
import os from acme_sdk import AcmeClient client = AcmeClient(api_key=os.environ["ACME_API_KEY"]) for project in client.projects.list(): print(f"{project.id}: {project.name}")Expected output:
proj_abc123: My First Project proj_def456: Marketing SiteNext Steps
- Create a project programmatically
- Set up webhooks for real-time events
Best Practices
- Lead with the action. Start each section with what the reader needs to do, not background context. Put explanations after the instruction.
- Provide complete, runnable code. Every code example should work as-is when copied. Include imports, variable declarations, and expected output.
- Use consistent templates. API references should follow the same structure for every endpoint. Tutorials should follow the same step format throughout.
- Write scannable content. Use headings, tables, bullet points, and code blocks so readers can find information quickly without reading every paragraph.
- Version your documentation. Tie docs to specific software versions. Clearly indicate which version introduced a feature or deprecated an API.
- Test your instructions. Walk through every step in a tutorial to confirm it produces the described result.
Edge Cases
- Undocumented behavior: If source code reveals behavior not described in any spec, document it as "current behavior" and flag it for the engineering team to confirm as intentional.
- Multiple audiences for one document: Use a layered approach — put essentials first with expandable "Advanced" sections or links to deeper docs.
- Rapidly changing APIs: Note the version or date prominently and include a disclaimer that the interface may change.
- Missing source material: Explicitly list what information is missing and request it rather than guessing.
- Non-English documentation: Follow the technical writing conventions of that language's developer community rather than translating English conventions literally.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 覆盖多种技术文档类型(API参考、用户指南、教程、变更日志、架构文档)
- 针对目标受众进行定制,实用性强
- 提供完整的工作流程和最佳实践
亮点
- 触发词完整,明确说明文档类型和受众
- 边界清晰,不易与其他Skill重叠
亮点
- Phase/步骤清晰,有出口条件
- 含端到端示例,frontmatter完整
- 结构良好,易于理解执行流程
亮点
- 工具来源明确,参数正确
- 覆盖主要异常,不可逆操作有确认机制
- 可靠性良好
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 92 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 88, 95, 105 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- api.example.com
- myapp.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。