Token导航 LogoToken导航

Agent Skill · 开发

diataxis-documentation(共轴文档)

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

diataxis-documentation 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 13,819。

总安装 821周安装 17GitHub Stars 4下载 140核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/abatilo/vimrc --skill diataxis-documentation

这个 Skill 是做什么的

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

diataxis-documentation 用于辅助文档、README、Markdown 和内容稿件的结构化整理与改写。适用于教程编写、指南撰写与技术说明文优化等四类 Diátaxis 文档类型支持。通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限与网络访问能力。

使用时需注意保留原始事实,避免对未验证信息做出确定性结论。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/diataxis-documentation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/abatilo/vimrc --skill diataxis-documentation;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

diataxis-documentation 怎么安装?

在终端执行 npx skills add https://github.com/abatilo/vimrc --skill diataxis-documentation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

diataxis-documentation 支持哪些 AI 工具?

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

diataxis-documentation 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/abatilo/vimrc --skill diataxis-documentation 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

diataxis-documentation 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

diataxis-documentation 用的人多吗?

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

diataxis-documentation 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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-documentation

共轴文档 · 本页

8214执行命令未明确通过

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

SKILL.md 原文

Diataxis Documentation Skill

This skill helps you create high-quality, user-focused documentation following the Diataxis framework, which organizes documentation into four distinct types based on user needs.

When to Use This Skill

Use this skill when:

  • Creating new documentation of any kind
  • Improving existing documentation
  • Organizing documentation for a project or codebase
  • Writing tutorials, how-to guides, reference material, or explanations
  • Unsure which type of documentation is needed
  • Documentation feels unclear or serves multiple purposes poorly

The Diataxis Framework Overview

Diataxis organizes documentation along two dimensions:

User Context:

  • Study (Skill Acquisition): User is learning
  • Work (Skill Application): User is doing

Content Nature:

  • Action (Practical Steps): How to do things
  • Cognition (Theoretical Knowledge): Understanding concepts

This creates four distinct documentation types:

                Study          |          Work
           (Learning)          |         (Doing)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                |
    TUTORIALS                   |    HOW-TO GUIDES
    Learning-oriented           |    Goal-oriented
    Guided lessons              |    Practical directions
    "Learn by doing"            |    "Achieve a goal"
                                |
Action ━━━━━━━━━━━━━━━━━━━━━━━━┼━━━━━━━━━━━━━━━━━━━━━━━━━━ Action
                                |
    EXPLANATION                 |    REFERENCE
    Understanding-oriented      |    Information-oriented
    Background & context        |    Technical description
    "Why & how it works"        |    "Facts about machinery"
                                |
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cognition                       |                    Cognition

How to Use This Skill

1. Identify the Documentation Type Needed

Ask these two questions:

  1. Action or Cognition? Does the user need to DO something or UNDERSTAND something?
  2. Study or Work? Is the user learning something new or applying existing knowledge?

Decision Tree:

  • Action + Study = Tutorial (learning by doing)
  • Action + Work = How-to Guide (solving a problem)
  • Cognition + Work = Reference (looking up facts)
  • Cognition + Study = Explanation (understanding concepts)

2. Load the Appropriate Reference File

Based on the documentation type identified, load the relevant reference for detailed guidance:

For Tutorials: Load Tutorials Reference when you need to:

  • Guide a learner through a complete, practical lesson
  • Teach basic skills and concepts through hands-on experience
  • Create a learning-oriented "first steps" experience
  • Help someone gain confidence with a new tool or technology

For How-to Guides: Load How-to Guides Reference when you need to:

  • Provide step-by-step instructions to achieve a specific goal
  • Help solve a particular real-world problem
  • Write task-oriented documentation for competent users
  • Address a "How do I..." question

For Reference Documentation: Load Reference Documentation Reference when you need to:

  • Document APIs, functions, classes, or configuration options
  • Provide accurate technical descriptions
  • Create lookup material for factual information
  • Write information-oriented content structured like the product

For Explanations: Load Explanations Reference when you need to:

  • Explain concepts, design decisions, or architectural choices
  • Provide background and context
  • Discuss alternatives and trade-offs
  • Answer "why" questions about how things work

For Framework Overview: Load Framework Overview Reference when you need:

  • Detailed understanding of Diataxis principles
  • Guidance on maintaining distinctness between types
  • Common mistakes to avoid
  • The iterative improvement workflow

3. Follow the Iterative Improvement Process

Diataxis emphasizes continuous, incremental improvement:

  1. Choose: Select a small piece of documentation (page, paragraph, or sentence)
  2. Assess: Evaluate it against Diataxis standards:

- What user need does it serve? - How well does it serve that need? - Does it belong in the right documentation type? - Is it using the right style and approach?

  1. Decide: Determine one specific improvement that aligns with Diataxis
  2. Do: Complete that single improvement and publish immediately

Important: Focus on small, immediate improvements rather than large restructuring efforts.

Key Principles

Maintain Distinctness

  • Each documentation type has a specific purpose - don't blur them
  • Tutorials teach through doing, not explaining
  • How-to guides solve problems, not teach concepts
  • Reference describes facts, not guide users through tasks
  • Explanations provide context, not instructions

User-Centered Approach

  • Always consider: What does the user need right now?
  • Match the documentation type to the user's context (study vs. work)
  • Match the content to the user's need (action vs. cognition)

Organic Structure

  • Don't create empty documentation structures upfront
  • Let structure emerge from content improvements
  • Create documentation types only when content demands it

Link Between Types

  • Tutorials can link to explanations for deeper understanding
  • How-to guides can reference relevant reference material
  • Keep each type focused; use links for cross-cutting needs

Quick Documentation Type Selector

User says "How do I..."

  • If they're learning → Tutorial
  • If they're working → How-to Guide

User needs facts about something → Reference

User asks "Why..." or "What is..." → Explanation

User is frustrated or stuck

  • Check recent tasks → How-to Guide
  • Check understanding → Explanation
  • Check syntax/parameters → Reference

Creating first-time user content → Tutorial

Common Patterns

Tutorial Example Scenarios

  • "Build your first web app"
  • "Getting started with X"
  • "Introduction to Y"
  • "Your first Z project"

How-to Guide Example Scenarios

  • "How to deploy to production"
  • "Implementing authentication"
  • "Optimizing database queries"
  • "Troubleshooting connection errors"

Reference Example Scenarios

  • API documentation
  • Configuration file reference
  • Command-line options
  • Class/function documentation

Explanation Example Scenarios

  • "Understanding the architecture"
  • "Why we chose X over Y"
  • "How the authentication system works"
  • "Database design decisions"

Important Notes

  • Load specific reference files only when needed to keep context manageable
  • Each documentation type requires different writing styles and structures
  • Avoid mixing purposes - if documentation tries to do multiple things, split it
  • The framework is descriptive, not prescriptive - adapt to your project's needs
  • Iterate continuously rather than attempting complete restructuring
  • Quality comes from alignment with user needs, not from following rigid templates

Remember: The goal is to serve user needs effectively. Use the Diataxis compass to identify what users need, then load the appropriate reference file for detailed guidance on creating that documentation type.

平台分布

Codex

35.99%
按下载量换算50

Claude

28.54%
按下载量换算40

Cursor

17.43%
按下载量换算24

Gemini CLI

9.43%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/abatilo/vimrc --skill diataxis-documentation 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills