Xpersona
T

Tutorial Docs

CLAWHUB · Unverified

Tutorial patterns for documentation - learning-oriented guides that teach through guided doing. Use when writing a tutorial, learning guide, getting-started... Skill: Tutorial Docs Owner: anderskev Summary: Tutorial patterns for documentation - learning-oriented guides that teach through guided doing. Use when writing a tutorial, learning guide, getting-started... Tags: latest:1.1.4 Version history: v1.1.4 | 2026-06-25T05:41:51.590Z | auto **Adds first-person plural guidance and clarifies tutorial voice** - Added explicit instruction to use first-person plural ("we", "let's

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/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:tutorial-docs
  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-tutorial-docs/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

80,556 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: tutorial-docs
description: "Tutorial patterns for documentation - learning-oriented guides that teach through guided doing. Use when writing a tutorial, learning guide, getting-started or onboarding guide, beginner/introductory guide, or any learn-by-doing hands-on guide. Builds on the docs-style core writing principles."
user-invocable: false
---

# Tutorial Documentation Skill

This skill provides patterns for writing effective tutorials following the Diataxis framework. Tutorials are learning-oriented content where the reader learns by doing under the guidance of a teacher.

**Dependency:** Use this skill with `docs-style` for core writing principles. To confirm a tutorial is the right type — rather than a how-to, reference, or explanation — see [docs-style/references/diataxis-compass.md](../docs-style/references/diataxis-compass.md).

## Purpose & Audience

**Target readers:**
- Complete beginners with no prior experience
- Users who want to learn, not accomplish a specific task
- People who need a successful first experience with the product
- Learners who benefit from guided, hands-on practice

**Tutorials are NOT:**
- How-To guides (which help accomplish specific tasks)
- Explanations (which provide understanding)
- Reference docs (which describe the system)

## Core Principles (Diataxis Framework)

### 1. Learn by Doing, Not by Reading

Tutorials teach through action, not explanation. The reader should be doing something at every moment.

| Avoid | Prefer |
|-------|--------|
| "REST APIs use HTTP methods to..." | "Run this command to make your first API call:" |
| "Authentication is important because..." | "Add your API key to authenticate:" |
| "The dashboard contains several sections..." | "Click **Create Project** in the dashboard." |

### 2. Deliver Visible Results at Every Step

After each action, tell readers exactly what they should see. This confirms success and builds confidence.

```markdown
Run the development server:

```bash
npm run dev
```

You should see:

```
> Local: http://localhost:3000
> Ready in 500ms
```

Open http://localhost:3000 in your browser. You should see a welcome page with "Hello, World!" displayed.
```

### 3. One Clear Path, Minimize Choices

Tutorials should not offer alternatives. Pick one way and guide the reader through it completely.

| Avoid | Prefer |
|-------|--------|
| "You can use npm, yarn, or pnpm..." | "Install the dependencies:" |
| "There are several ways to configure..." | "Create a config file:" |
| "Optionally, you might want to..." | [Omit optional steps entirely] |

### 4. The Teacher Takes Responsibility

If the reader fails, the tutorial failed. Anticipate problems and prevent them. Never blame the reader.

```markdown
<Warning>
Make sure you're in the project directory before running this command.
If you see "command not found", return to Step 2 to verify the installation.
</Warning>
```

### 5. Permit Repetition to Build Confidence

Repeating similar actions in slightly

_meta.json

{
  "ownerId": "kn79190nfmdb20hk6xjhzt2zv583844x",
  "slug": "tutorial-docs",
  "version": "1.1.4",
  "publishedAt": 1782366111590
}

references/example-weather-api.md

# Example Tutorial: Weather API Integration

This is a complete example tutorial demonstrating all principles from the tutorial-docs skill.

```markdown
---
title: "Build your first API integration"
description: "Learn the basics of our API by building a working weather dashboard"
---

# Build Your First API Integration

In this tutorial, you'll build a weather dashboard that fetches real data from our API. By the end, you'll have a working page that displays current weather for any city.

<Note>
This tutorial takes approximately 20 minutes to complete.
</Note>

## What you'll build

<Frame caption="The completed weather dashboard">
  ![Weather dashboard showing temperature and conditions](/images/weather-dashboard.png)
</Frame>

A simple weather dashboard that:
- Accepts a city name as input
- Fetches real weather data from our API
- Displays temperature and conditions

## Prerequisites

Before starting, make sure you have:

- Node.js 18 or later installed ([download here](https://nodejs.org))
- A free account ([sign up](https://example.com/signup))

## Step 1: Create your project

Open your terminal and create a new project folder:

```bash
mkdir weather-dashboard
cd weather-dashboard
npm init -y
```

You should see:

```
Wrote to /weather-dashboard/package.json
```

This creates a new project with default settings.

## Step 2: Install the SDK

Install our JavaScript SDK:

```bash
npm install @example/weather-sdk
```

You should see output ending with:

```
added 1 package in 2s
```

## Step 3: Get your API key

<Steps>
  <Step title="Open the dashboard">
    Go to [dashboard.example.com](https://dashboard.example.com) and sign in.
  </Step>
  <Step title="Navigate to API keys">
    Click **Settings** in the sidebar, then **API Keys**.
  </Step>
  <Step title="Create a key">
    Click **Create Key**, name it "weather-tutorial", and click **Generate**.
  </Step>
  <Step title="Copy the key">
    Copy the key shown. You'll need it in the next step.
  </Step>
</Steps>

<Warning>
Keep this key secret. Don't share it or commit it to version control.
</Warning>

## Step 4: Write your first API call

Create a new file called `weather.js`:

```javascript
const Weather = require('@example/weather-sdk');

const client = new Weather({
  apiKey: 'your-api-key-here'  // Replace with your key from Step 3
});

async function getWeather(city) {
  const data = await client.current(city);
  console.log(`Weather in ${city}:`);
  console.log(`  Temperature: ${data.temp}°F`);
  console.log(`  Conditions: ${data.conditions}`);
}

getWeather('San Francisco');
```

Replace `'your-api-key-here'` with the API key you copied in Step 3.

Save the file.

## Step 5: Run your dashboard

Run your script:

```bash
node weather.js
```

You should see:

```
Weather in San Francisco:
  Temperature: 62°F
  Conditions: Partly cloudy
```

You've just made your first API call.

<Note>
The temperature will vary based on current conditions.
Any valid output means your integration is wo

skill-card.md

## Description:

Tutorial patterns for documentation - learning-oriented guides that teach through guided doing.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Documentation authors and developer educators use this skill to write beginner-focused tutorials that guide readers through one clear learning path with visible outcomes at each step.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The sample API tutorial could be copied with weak dependency and API-key handling patterns.

Mitigation: Before publishing derived tutorials, replace sample dependency and secret-handling steps with verified dependencies, pinned versions where appropriate, environment variables or a secret store, and key revocation guidance.

## Reference(s):

- [Example Tutorial: Weather API Integration](references/example-weather-api.md)
- [ClawHub release page](https://clawhub.ai/anderskev/skills/tutorial-docs)
- [Third-party publisher profile](https://clawhub.ai/user/anderskev)

## Skill Output:

**Output Type(s):** [text, markdown, guidance]

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

**Output Parameters:** [1D]

**Other Properties Related to Output:** [None]

## Skill Version(s):

1.1.4 (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 Tutorial Docs and adjacent AI workflows.