Token导航 LogoToken导航

Agent Skill · 开发

diataxis-writing(连贯写作)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

diataxis-writing 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为调用外部服务;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 2,605。

总安装 15,967周安装 672GitHub Stars 公开资料未说明下载 5,591核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.2.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:diataxis-writing(连贯写作)
来源仓库:https://github.com/amumulam/diataxis-writing
安装命令:
openclaw skills install diataxis-writing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install diataxis-writing

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

基于 Diataxis 框架优化文档结构与写作质量,提升可读性与实用性。适用于教程编写、API 文档整理或项目说明文的内容重构任务。自动分类内容类型(教程/参考/概念/原因),匹配对应模板与检查清单。保留原始事实与命令路径,避免虚构信息或夸大功能描述。输出 Markdown 格式,兼容主流静态站点生成器与版本控制系统。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install diataxis-writing;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

diataxis-writing 怎么安装?

在终端执行 openclaw skills install diataxis-writing。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

diataxis-writing 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

diataxis-writing 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

diataxis-writing 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

diataxis-writing 用的人多吗?

公开数据是累计安装 15,967 次,近一周安装 672 次,下载 5,591 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

diataxis-writing 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
diataxis-writing

连贯写作 · 本页

15,967—调用外部服务MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
diataxis-writing
description
Diataxis documentation framework practice guide. Provides diagnosis, classification, templates, and quality assessment for four documentation types (Tutorial/How-to/Reference/Explanation).

Diátaxis Documentation Framework Practice

Quick Start

When creating or refactoring documentation:

Pre-Writing Questions (Must Ask)

Before starting, ask the user:

  1. Language Preference: "What language should this document be written in?"

- English / 中文 / Other

  1. Output Method: "After completion, how would you like to output this document?"

- Chat message (default) - Feishu document (via MCP/mcporter) - Local Markdown file - GitHub repository - Other platforms

Tool Availability Check (After User Selection)

After user selects output method, automatically check tool availability:

# Run auto-detection (script is in ./scripts/ relative to this skill)
python3 scripts/output-handler.py --detect

Check results:

  • ✅ Tool available → Proceed with selected output method
  • ⚠️ Tool not available → Inform user and suggest alternatives

For Feishu output via MCP:

  • Check if mcporter is installed
  • Check if MCP feishu server is configured (typically in /root/config/mcporter.json or ~/.mcporter/mcporter.json)
  • Test connection to Feishu MCP server

If tool not available:

  1. Inform user: "Selected output method [X] is not available"
  2. Suggest alternatives: "Available options: [list]"
  3. Ask user to confirm alternative or configure tool

Writing Workflow

After confirming language, output preference, and tool availability:

  1. Identify User Needs - Use the Diataxis Compass to determine document type
  2. Select Template - Choose the corresponding template from templates/
  3. Apply Checklist - Use the corresponding checklist during writing
  4. Quality Assessment - Use the quality framework to evaluate the final draft
  5. Execute Output - Output using the user's chosen method and language

Four Documentation Types

Diataxis identifies four fundamentally different documentation types, corresponding to four user needs:

TypeUser NeedDocument PurposeKey Characteristics
TutorialAcquire skills (study)Provide learning experiencePractice-oriented, minimize explanation, concrete steps
How-to GuideApply skills (work)Help complete tasksGoal-oriented, assume competence, handle real scenarios
ReferenceApply skills (work)Describe technical factsNeutral description, accurate and complete, structured
ExplanationAcquire skills (study)Provide understanding contextDiscursive, allows opinions, provides context

Type Details

Using the Diataxis Compass

When unsure about document type, use the compass tool: references/compass.md

Ask two questions:

  1. Content Type: Is it action guidance (action) or cognitive knowledge (cognition)?
  2. User State: Is the user acquiring skills (acquisition/study) or applying skills (application/work)?

Common Use Cases

Use Case 1: Troubleshooting Records → How-to Guide or Explanation

Troubleshooting records typically belong to:

  • How-to Guide: If it's step-by-step guidance on "how to solve X problem"
  • Explanation: If it's principle analysis on "why X problem occurred"

Template: templates/template-troubleshooting.md

Use Case 2: Experience Summary → How-to Guide or Explanation

  • Best Practices: How-to Guide (guidance on how to do things correctly)
  • Lessons Learned: Explanation (explaining why certain approaches are wrong)

Template: templates/template-best-practices.md

Use Case 3: Learning Notes → Tutorial or Explanation

  • Learning Notes: Tutorial (if containing practical steps)
  • Theory Summary: Explanation (if conceptual understanding)

Template: templates/template-learning-notes.md

Use Case 4: Exploratory Sharing → Explanation

Technical exploration, experiment records, and comparative analysis typically belong to Explanation.

Template: templates/template-exploration.md

Checklists

Use checklists during and after writing:

Quality Assessment

Use the Functional Quality and Deep Quality framework: references/quality-framework.md

Functional Quality

  • Accuracy, completeness, consistency, usability, precision

Deep Quality

  • Flow, fitting human needs, beauty, anticipating user needs

Common Mistakes

Avoid the following error patterns: references/common-mistakes.md

  1. Type Conflation - Mixing Reference content into Tutorial
  2. Misplacement - Writing Explanation as Tutorial
  3. Boundary Blur - Mixing too much explanation into How-to
  4. Structural Misalignment - Reference not reflecting product architecture

Language Style

Four types use different language styles: references/writing-language.md

  • Tutorial: "We will...", "Notice...", "Now do X..."
  • How-to: "If you want X, do Y", "Refer to X documentation for complete options"
  • Reference: "X inherits Y", "Subcommands: a, b, c", "Must use X"
  • Explanation: "The reason for X is...", "W is better than Z because..."

Output Methods

After completing the document, output using the user's chosen method:

Available Output Methods

  1. Chat Message - Display directly in conversation (default)
  2. Feishu Document - Create/update Feishu document via MCP/mcporter (requires MCP feishu server)
  3. Local Markdown - Save as .md file (built-in support)
  4. GitHub Repo - Commit to code repository (requires MCP github or git)
  5. Other Platforms - User provides platform and MCP capabilities

Important: For Feishu output, always use MCP/mcporter method, NOT channel tools.

Detect Available Tools

Use scripts/output-handler.py to auto-detect (script is in ./scripts/ relative to this skill file):

python3 scripts/output-handler.py --detect

Tool Availability Check

After user selects output method, check if tool is available:

  1. Run output-handler.py --detect
  2. Check if selected tool is configured and available
  3. If not available:

- Inform user: "Selected output method [X] is not available" - Suggest alternatives from available tools list - Ask user to confirm alternative

Choose Output Method

Must ask user: "Document completed, how would you like to output?"

Based on user selection:

  • Chat → Reply directly
  • Feishu (MCP) → Use mcporter to call Feishu MCP server
  node /path/to/mcporter/dist/cli.js call feishu doc.create '{"title":"...", "content":"..."}'
  # Note: mcporter path varies by installation, common paths:
  # - ~/.npm/_npx/*/node_modules/mcporter/dist/cli.js
  # - Or use: npx mcporter call feishu doc.create ...
  • Local → Call write tool or output-handler.py --output local
  • GitHub → Call output-handler.py --output github
  • Other → Ask user to provide MCP server information

Language Considerations

Output in the user's chosen language:

  • If English → Output in English
  • If Chinese (中文) → Output in Chinese
  • If other → Confirm translation capabilities

Output Platform Details

Complete platform list and configuration methods: references/output-platforms.md

PlatformRequired ToolsConfiguration DifficultyUse Case
ChatNone-Quick reply
Feishu (MCP)MCP feishu serverMediumTeam collaboration
Local MDwriteLowPersonal knowledge
GitHubMCP github/gitMediumTech blog
NotionMCP notionMediumKnowledge base
Google DocsMCP googleHighGoogle ecosystem

Theoretical Framework

Complete Diataxis theory:

Using Scripts (Optional)

Use the diagnosis script to automatically identify document types (script is in ./scripts/ relative to this skill):

python3 scripts/diagnose.py <document content or file path>

Skill Version: 1.0 Theory Source: https://diataxis.fr Author: Zhua Zhua (Created for Master)

平台分布

OpenClaw

88.99%
按下载量换算4,975

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills