Xpersona
D

Docs Style

CLAWHUB · Unverified

Core technical documentation writing principles for voice, tone, structure, and LLM-friendly patterns. Use when writing or reviewing any documentation. Skill: Docs Style Owner: anderskev Summary: Core technical documentation writing principles for voice, tone, structure, and LLM-friendly patterns. Use when writing or reviewing any documentation. Tags: latest:1.0.2 Version history: v1.0.2 | 2026-06-25T05:41:21.187Z | auto - Establishes Diataxis as the foundational step: choose Tutorial, How-To, Reference, or Explanation before applying style guidance. - Adds a new se

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17b1fzefm8nj8j1sdkzrze7gn83pfrg:docs-style
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-anderskev-docs-style/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

39,084 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: docs-style
description: Core technical documentation writing principles for voice, tone, structure, and LLM-friendly patterns. Use when writing or reviewing any documentation.
user-invocable: false
---

# Documentation Style Guide

Apply these principles when writing or reviewing documentation to ensure clarity, consistency, and accessibility for both human readers and LLMs.

## Choose the Right Documentation Type First

Style serves a purpose, and the purpose depends on which of the four Diataxis types you are writing. Before applying the conventions below, decide whether the document is a **Tutorial** (learning), **How-To guide** (a task), **Reference** (looking up), or **Explanation** (understanding) — these are not interchangeable, and mixing them in one document weakens all of them.

To choose, ask the two compass questions: *action or cognition? acquisition or application?*

| The reader's stance | Type |
|---|---|
| "I'm learning — guide my hands" | **Tutorial** |
| "I have a goal — help me reach it" | **How-To** |
| "I'm working — let me look something up" | **Reference** |
| "I'm reflecting — help me understand why" | **Explanation** |

For the full decision procedure, the 2×2 map, the two distinctions that resolve most ambiguity (Tutorial vs. How-To, Reference vs. Explanation), and the quality model, see [references/diataxis-compass.md](references/diataxis-compass.md). The type-specific skills (`tutorial-docs`, `howto-docs`, `reference-docs`, `explanation-docs`) build on the principles in this guide once the type is chosen.

## Voice and Tone

### Use Second Person

Address the reader directly as "you" rather than "the user" or "developers."

```markdown
<!-- Good -->
You can configure the API by setting environment variables.

<!-- Avoid -->
The user can configure the API by setting environment variables.
Developers should configure the API by setting environment variables.
```

### Prefer Active Voice

Write sentences where the subject performs the action. Active voice is clearer and more direct.

```markdown
<!-- Good -->
Create a configuration file in the root directory.
The function returns an array of user objects.

<!-- Avoid -->
A configuration file should be created in the root directory.
An array of user objects is returned by the function.
```

### Be Concise

Cut unnecessary words. Every word should earn its place.

```markdown
<!-- Good -->
Run the install command.

<!-- Avoid -->
In order to proceed, you will need to run the install command.
```

```markdown
<!-- Good -->
This endpoint returns user data.

<!-- Avoid -->
This endpoint is used for the purpose of returning user data.
```

Common phrases to simplify:

| Instead of | Use |
|------------|-----|
| in order to | to |
| for the purpose of | to, for |
| in the event that | if |
| at this point in time | now |
| due to the fact that | because |
| it is necessary to | you must |
| is able to | can |
| make use of | use |

## Document Structure

### Write Cle

_meta.json

{
  "ownerId": "kn79190nfmdb20hk6xjhzt2zv583844x",
  "slug": "docs-style",
  "version": "1.0.2",
  "publishedAt": 1782366081187
}

references/diataxis-compass.md

# The Diataxis Compass, Map, and Quality Model

The canonical reference for choosing a documentation type and judging its quality, drawn from the [Diataxis framework](https://diataxis.fr/). This file is **self-contained**: every Beagle documentation skill links here, but it carries no dependency on the others, so it remains usable even when a single skill is installed on its own.

Use it to answer three questions:

1. **Which type should I write?** → The Compass.
2. **How do the four types relate?** → The Map.
3. **Is what I wrote any good?** → The Quality model.

## The two axes

Diataxis observes that all documentation serves a craft, and a craft is learned and practised along two axes:

- **Action ↔ Cognition** — practical knowledge (*knowing how*, doing) versus theoretical knowledge (*knowing that*, thinking).
- **Acquisition ↔ Application** — *studying* to acquire skill versus *working* to apply it.

> "These two axes don't just cover the entire territory, they define it. This is why there are necessarily four quarters to it, and there could not be three, or five."

## The Map (2×2)

| | **Action** (informs *doing*) | **Cognition** (informs *thinking*) |
|---|---|---|
| **Acquisition** (study / learning) | **Tutorial** | **Explanation** |
| **Application** (work / a goal) | **How-To guide** | **Reference** |

One-line identity of each type:

- **Tutorial** — *learning-oriented.* A lesson under the guidance of a teacher. Builds competence and confidence through a guaranteed-to-succeed, hands-on experience.
- **How-To guide** — *task-oriented.* Directs an already-competent user through the steps to reach a real-world goal.
- **Reference** — *information-oriented.* Austere, authoritative description of the machinery, consulted while working.
- **Explanation** — *understanding-oriented.* Discursive discussion of *why* — context, alternatives, trade-offs — read away from the keyboard.

## The Compass: choosing a type

> "To use the compass, just two questions need to be asked: *action or cognition? acquisition or application?*"

| If the content… | …and serves the user's… | …it is a… |
|---|---|---|
| informs **action** | **acquisition** (study) | **Tutorial** |
| informs **action** | **application** (work) | **How-To guide** |
| informs **cognition** | **application** (work) | **Reference** |
| informs **cognition** | **acquisition** (study) | **Explanation** |

A faster phrasing for a single document or request:

| The reader's stance | Type |
|---|---|
| "I'm learning — guide my hands" | **Tutorial** |
| "I have a goal — help me reach it" | **How-To** |
| "I'm working — let me look something up" | **Reference** |
| "I'm reflecting — help me understand why" | **Explanation** |

## The two distinctions that resolve most ambiguity

**Tutorial vs. How-To** — both are action-oriented sequences, so they are easily confused. The split is **study vs. work**, not difficulty:

- A *tutorial* is a lesson; the teacher owns the agenda, eliminates the unexp

skill-card.md

## Description:

Core technical documentation writing principles for voice, tone, structure, and LLM-friendly patterns.

This skill is ready for commercial/non-commercial use.

## Publisher:

[anderskev](https://clawhub.ai/user/anderskev)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, documentation authors, and reviewers use this skill to choose the right Diataxis documentation type and apply clear voice, structure, consistency, and LLM-friendly writing patterns.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The broad trigger can influence many documentation-writing or review tasks.

Mitigation: Use a more specific documentation skill when the task clearly needs tutorial, how-to, reference, or explanation guidance.

Risk: Style guidance can improve clarity while still leaving technical inaccuracies or missing context in the documentation.

Mitigation: Review generated or revised documentation for accuracy, completeness, and the intended Diataxis type before publishing.

## Reference(s):

- [The Diataxis Compass, Map, and Quality Model](references/diataxis-compass.md)
- [Diataxis Framework](https://diataxis.fr/)
- [ClawHub Skill Page](https://clawhub.ai/anderskev/skills/docs-style)

## Skill Output:

**Output Type(s):** [Guidance, Markdown, Code]

**Output Format:** [Markdown guidance with examples and checklists]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [No executable output; guidance may shape documentation drafts and reviews.]

## Skill Version(s):

1.0.2 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Docs Style and adjacent AI workflows.