Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计通过

tutorial-docs教程文档

Agent Skill

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

总安装

3,089

周安装

130

GitHub Stars

54

下载量

1,082
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/existential-birds/beagle --skill tutorial-docs

简介

用于文档、README 和内容稿件的整理与改写,支持结构提炼和术语统一。

  • 适用于 Markdown 文件优化、链接检查和零散材料整合。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 应保留项目已有事实和路径,避免将未确认信息写成确定结论;对外文案需注意语气克制。
  • 建议查阅原始 README 了解支持的文档类型和输出规范。

SKILL.md

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.

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.

AvoidPrefer
"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.

Run the development server:

npm run dev


You should see:
Local: http://localhost:3000 Ready in 500ms

Open [http://localhost:3000](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.

AvoidPrefer
"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.

<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 different contexts helps cement learning. Don't try to be efficient.

Tutorial Template

Use this structure for all tutorials:

---
title: "Build your first [thing]"
description: "Learn the basics of [product] by building a working [thing]"
---

# Build Your First [Thing]

In this tutorial, you'll build a [concrete deliverable]. By the end, you'll have a working [thing] that [does something visible].

<Note>
This tutorial takes approximately [X] minutes to complete.
</Note>

## What you'll build

[Screenshot or diagram of the end result]

A [brief description of the concrete deliverable] that:
- [Visible capability 1]
- [Visible capability 2]
- [Visible capability 3]

## Prerequisites

Before starting, make sure you have:

- [Minimal requirement 1 - link to install guide if needed]
- [Minimal requirement 2]

<Tip>
New to [prerequisite]? [Link to external resource] has a quick setup guide.
</Tip>

## Step 1: [Set up your project]

[First action - always start with something that produces visible output]

[command]


You should see:

[expected output]


[Brief confirmation of what this means]

## Step 2: [Create your first thing]

[Next action with clear instruction]

[code to add or modify]


Save the file. You should see [visible change].

## Step 3: [Continue building]

[Continue with more steps, each producing visible output]

## Step 4: [Add the final piece]

[Bring it together with a final step]

You should now see [final visible result].

[Screenshot of completed project]

## What you've learned

In this tutorial, you:

- [Concrete skill 1 - what they can now do]
- [Concrete skill 2]
- [Concrete skill 3]

## Next steps

Now that you have a working [thing], you can:

- **[Tutorial 2 title]** - Continue learning by [next learning goal]
- **[How-to guide]** - Learn how to [specific task] with your [thing]
- **[Concepts page]** - Understand [concept] in more depth

Writing Principles

Title Conventions

  • Start with action outcomes: "Build your first...", "Create a...", "Deploy your..."
  • Focus on what they'll make, not what they'll learn
  • Be concrete: "Build a chat application" not "Learn about real-time messaging"

Step Structure

  1. Lead with the action - don't explain before doing
  2. Show exactly what to type or click - no ambiguity
  3. Confirm success after every step - "You should see..."
  4. Keep steps small - one visible change per step

Managing Prerequisites

Tutorials are for beginners, so minimize prerequisites:

## Prerequisites

- A computer with macOS, Windows, or Linux
- A text editor (we recommend VS Code)
- 15 minutes of time

<Tip>
You don't need any programming experience. This tutorial explains everything as we go.
</Tip>

The "You should see" Pattern

This is the most important pattern in tutorial writing. Use it constantly:

Click **Save**. You should see a green checkmark appear next to the filename.

Run the test:

npm test


You should see:

PASS src/app.test.js ✓ renders welcome message (23ms)

Tests: 1 passed, 1 total

Handling Errors Gracefully

Anticipate failures and guide readers back on track:

<Warning>
If you see "Module not found", make sure you saved the file from Step 2.
Return to Step 2 and verify the import statement matches exactly.
</Warning>

Components for Tutorials

Frame Component for Screenshots

Show what success looks like:

<Frame caption="Your completed dashboard should look like this">
  ![Dashboard screenshot](/images/tutorial-dashboard.png)
</Frame>

Steps Component for Procedures

For numbered sequences within a step:

<Steps>
  <Step title="Open the settings panel">
    Click the gear icon in the top right corner.
  </Step>
  <Step title="Find the API section">
    Scroll down to **Developer Settings**.
  </Step>
  <Step title="Generate a key">
    Click **Create New Key** and copy the value shown.
  </Step>
</Steps>

Callouts for Guidance

<Note>
Don't worry if the colors look different on your screen.
We'll customize the theme in the next step.
</Note>

<Warning>
Make sure to save the file before continuing.
The next step won't work without this change.
</Warning>

<Tip>
You can press Cmd+S (Mac) or Ctrl+S (Windows) to save quickly.
</Tip>

Code with Highlighted Lines

Draw attention to what matters:

function App() { return ( <h1>Hello, World!</h1> <p>Welcome to your first app.</p> ); }

Example Tutorial

See references/example-weather-api.md for a complete example tutorial demonstrating all principles above. The example builds a weather dashboard that fetches real API data.

Checklist for Tutorials

Before publishing, verify:

  • [ ] Title describes what they'll build, not what they'll learn
  • [ ] Introduction shows the concrete end result
  • [ ] Prerequisites are minimal (beginners don't have much)
  • [ ] Every step produces visible output
  • [ ] "You should see" appears after each significant action
  • [ ] No choices offered - one clear path only
  • [ ] No explanations of why things work (save for docs)
  • [ ] Potential failures are anticipated with recovery guidance
  • [ ] "What you've learned" summarizes concrete skills gained
  • [ ] Next steps guide to continued learning
  • [ ] Tutorial tested end-to-end by someone unfamiliar with it

When to Use Tutorial vs Other Doc Types

User's mindsetDoc typeExample
"I want to learn"Tutorial"Build your first chatbot"
"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"

Tutorial vs How-To: Key Differences

AspectTutorialHow-To
PurposeLearning through doingAccomplishing a specific task
AudienceComplete beginnersUsers with some experience
StructureLinear journey with one pathSteps to achieve a goal
ChoicesNone - one prescribed wayMay show alternatives
ExplanationsMinimal - action over theoryMinimal - focus on steps
SuccessReader learns and gains confidenceReader completes their task
LengthLonger, more hand-holdingShorter, more direct

Related Skills

  • docs-style: Core writing conventions and components
  • howto-docs: How-To guide patterns for task-oriented content
  • reference-docs: Reference documentation patterns
  • explanation-docs: Conceptual documentation patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

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

平台分布

Claude Code

27.09%
按下载量换算293

OpenCode

24.76%
按下载量换算268

Gemini CLI

17.81%
按下载量换算193

Cursor

13.18%
按下载量换算143

Antigravity

7.03%
按下载量换算76

Codex

3.13%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills