Token导航 LogoToken导航TokenDH.com
开发external-serviceunknown未标认证来源可访问许可证需确认审计未展示

diataxis-writing连贯写作

Agent Skill

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

总安装

225

周安装

9

下载量

73
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

diataxis-writing 用于辅助文档、README、Markdown 和说明文稿件整理与改写。

  • 它适合让 Agent 提炼结构、补齐章节、统一术语或检查链接有效性。
  • 使用时应保留项目已有事实、命令和路径,避免虚构未确认信息。
  • 涉及对外文案时,需控制语气,避免过度营销或夸大能力。
  • 该技能适用于文档编写辅助,但需人工审核内容准确性与表达风格。

SKILL.md

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)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

90.92%
按下载量换算66

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills