howto-docs

How-To Documentation Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "howto-docs" with this command: npx skills add existential-birds/beagle/existential-birds-beagle-howto-docs

How-To Documentation Skill

This skill provides patterns for writing effective How-To guides in documentation. How-To guides are task-oriented content for users who have a specific goal in mind.

Purpose & Audience

Target readers:

  • Users with a specific goal they want to accomplish

  • Assumes some familiarity with the product (not complete beginners)

  • Looking for practical, actionable steps

  • Want to get things done, not learn concepts

How-To guides are NOT:

  • Tutorials (which teach through exploration)

  • Explanations (which provide understanding)

  • Reference docs (which describe the system)

How-To Guide Template

Use this structure for all how-to guides:


title: "How to [achieve specific goal]" description: "Learn how to [goal] using [product/feature]"

How to [Goal]

Brief intro (1-2 sentences): what you'll accomplish and why it's useful.

Prerequisites

  • [What user needs before starting]
  • [Required access, tools, or setup]
  • [Any prior knowledge assumed]

Steps

1. [Action verb] the [thing]

[Clear instruction with expected outcome]

<Note> [Optional tip or important context] </Note>

2. [Next action]

[Continue with clear, single-action steps]

# Example command or code if needed

3. [Continue numbering]

[Each step should be one discrete action]

Verify it worked

[How to confirm success - what should user see/experience?]

Troubleshooting

Next steps

- [Related how-to guide 1]

- [Related how-to guide 2]

- [Deeper dive reference doc]

## Writing Principles

### Title Conventions

- **Always start with "How to"** - makes the goal immediately clear
- Use active verbs: "How to configure...", "How to deploy...", "How to migrate..."
- Be specific: "How to add SSO authentication" not "How to set up auth"

### Step Structure

1. **One action per step** - if you write "and", consider splitting
2. **Start with action verbs**: Click, Navigate, Enter, Select, Run, Create
3. **Show expected outcomes** after key steps:
   ```markdown
   ### 3. Save the configuration

   Click **Save**. You should see a success message: "Configuration updated."

Minimize Context

- Don't explain why things work - just show how to do them

- Link to explanations for users who want deeper understanding

- Keep each step focused on the immediate action

User Perspective

Write from the user's perspective, not the product's:

Avoid (product-centric)
Prefer (user-centric)

"The API accepts..."
"Send a request to..."

"The system will..."
"You'll see..."

"This feature allows..."
"You can now..."

Prerequisites Section

Be explicit about what's needed:

## Prerequisites

- An active account with admin permissions
- API key generated from Settings > API
- Node.js v18 or later installed
- Completed the [initial setup guide](/getting-started)

Components for How-To Guides

Steps Component

For numbered procedures, use a Steps component:

&#x3C;Steps>
  &#x3C;Step title="Create a new project">
    Navigate to the dashboard and click **New Project**.
  &#x3C;/Step>
  &#x3C;Step title="Configure settings">
    Enter your project name and select a region.
  &#x3C;/Step>
  &#x3C;Step title="Deploy">
    Click **Deploy** to launch your project.
  &#x3C;/Step>
&#x3C;/Steps>

Code Groups for Multiple Options

When showing different approaches:

&#x3C;CodeGroup>
```bash npm
npm install @company/sdk

yarn add @company/sdk

pnpm add @company/sdk

Callouts for Important Information

&#x3C;Warning>
This action cannot be undone. Make sure to backup your data first.
&#x3C;/Warning>

&#x3C;Note>
This step may take 2-3 minutes to complete.
&#x3C;/Note>

&#x3C;Tip>
You can also use keyboard shortcut Cmd+K for faster navigation.
&#x3C;/Tip>

Expandable Sections

For optional details that shouldn't interrupt flow:

&#x3C;Expandable title="Advanced options">
  If you need custom configuration, you can also set:
  - `timeout`: Request timeout in milliseconds
  - `retries`: Number of retry attempts
&#x3C;/Expandable>

Example How-To Guide

---
title: "How to set up webhook notifications"
description: "Learn how to configure webhooks to receive real-time event notifications"
---

# How to Set Up Webhook Notifications

Configure webhooks to receive instant notifications when events occur in your account. This enables real-time integrations with your existing tools.

## Prerequisites

- Admin access to your account
- A publicly accessible HTTPS endpoint to receive webhooks
- Completed the [authentication setup](/getting-started/auth)

## Steps

&#x3C;Steps>
  &#x3C;Step title="Navigate to webhook settings">
    Go to **Settings** > **Integrations** > **Webhooks**.
  &#x3C;/Step>

  &#x3C;Step title="Add a new webhook endpoint">
    Click **Add Endpoint** and enter your webhook URL:

    ```
    https://your-domain.com/webhooks/receiver
    ```

    &#x3C;Note>
    Your endpoint must use HTTPS and be publicly accessible.
    &#x3C;/Note>
  &#x3C;/Step>

  &#x3C;Step title="Select events to subscribe">
    Choose which events should trigger notifications:

    - `user.created` - New user sign up
    - `payment.completed` - Successful payment
    - `subscription.cancelled` - Subscription ended

    Select at least one event to continue.
  &#x3C;/Step>

  &#x3C;Step title="Save and get your signing secret">
    Click **Create Webhook**. Copy the signing secret shown - you'll need this to verify webhook authenticity.

    &#x3C;Warning>
    Store the signing secret securely. It won't be shown again.
    &#x3C;/Warning>
  &#x3C;/Step>
&#x3C;/Steps>

## Verify it worked

Send a test event by clicking **Send Test** next to your webhook. You should receive a POST request at your endpoint with this structure:

```json
{
  "event": "test.webhook",
  "timestamp": "2024-01-15T10:30:00Z",
  "data": {}
}

Check your endpoint logs to confirm receipt.

Troubleshooting

Next steps

- How to verify webhook signatures

- Webhook event reference

- How to handle webhook retries

## Checklist for How-To Guides

Before publishing, verify:

- [ ] Title starts with "How to" and describes a specific goal
- [ ] Prerequisites section lists all requirements
- [ ] Each step is a single, clear action
- [ ] Action verbs start each step (Click, Enter, Select, Run)
- [ ] Expected outcomes shown after key steps
- [ ] Verification section explains how to confirm success
- [ ] Troubleshooting covers common issues
- [ ] Next steps link to related content
- [ ] No unnecessary explanations - links to concepts instead
- [ ] Written from user perspective, not product perspective

## When to Use How-To vs Other Doc Types

| User's mindset | Doc type | Example |
|---------------|----------|---------|
| "I want to learn" | Tutorial | "Getting started with our API" |
| "I want to do X" | How-To | "How to configure SSO" |
| "I want to understand" | Explanation | "How our caching works" |
| "I need to look up Y" | Reference | "API endpoint reference" |

## Related Skills

- **docs-style**: Core writing conventions and components
- **tutorial-docs**: Tutorial patterns for learning-oriented content
- **reference-docs**: Reference documentation patterns
- **explanation-docs**: Conceptual documentation patterns

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

tailwind-v4

No summary provided by upstream source.

Repository SourceNeeds Review
General

react-flow

No summary provided by upstream source.

Repository SourceNeeds Review
General

react-router-v7

No summary provided by upstream source.

Repository SourceNeeds Review
General

vitest-testing

No summary provided by upstream source.

Repository SourceNeeds Review