Dev Guide Generator 标志

Dev Guide Generator

社区热门
zebbern
dev-guide-generator

Generates complete technical tutorials from prerequisites and environment setup to core steps, troubleshooting, and a final cheatsheet. Trigger on requests to write a tutorial, create a setup guide, organize steps for beginners, or keywords like step-by-step, quickstart, or how-to guide.

概览

发布者zebbern
代码仓库claude-code-guide
技能名称dev-guide-generator
星标数
4.6K
复刻数
464
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 zebbern 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dev Guide Generator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/zebbern/claude-code-guide/tree/main/skills/dev-guide-generator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zebbern/claude-code-guide.git /tmp/claude-code-guide
mkdir -p .claude/skills
cp -r /tmp/claude-code-guide/skills/dev-guide-generator .claude/skills/dev-guide-generator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dev Guide Generator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dev Guide Generator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dev Guide Generator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Dev Guide Generator

One topic → complete technical tutorial: Through a structured SOP workflow, transform a technical topic into a comprehensive tutorial covering prerequisites, environment setup, core steps, common error troubleshooting, and advanced topics — all accompanied by a cheatsheet.

Quick Start

The user simply provides a technical topic or operational goal, and the Agent automatically generates a complete tutorial following this workflow:

User: Help me write a Docker beginner's tutorial
Agent: [Outputs complete technical tutorial + Cheatsheet following the SOP workflow]

SOP Workflow

Phase 1: Topic Scoping & Audience Analysis

Goal: Define the tutorial's technical subject, target audience, and scope boundaries.

Steps:

  1. Parse the topic: Identify the core technology, operational goals, and expected deliverables from the user's input
  2. Ask clarifying questions (up to 4 key questions):
    • What is the target audience's technical level? (Complete beginner / Some experience / Experienced developer)
    • What operating system will the reader be using? (macOS / Windows / Linux / Any)
    • What should the reader be able to do after completing the tutorial? (Specific deliverable)
    • Are there any version or tech stack constraints?
  3. If the user asks to skip clarification, proceed with these default assumptions:
    • Audience: Has basic programming experience but is unfamiliar with the topic technology
    • Environment: Cover both macOS and Linux (note Windows differences where necessary)
    • Goal: Be able to independently complete a minimal working example

Output: Tutorial metadata summary (topic, audience, objective, scope — no more than 150 words)


Phase 2: Prerequisites

Goal: List all knowledge and tools the reader needs before starting this tutorial, ensuring there are no knowledge gaps.

Steps:

  1. Dependency analysis:

    • List all technical concepts involved in this tutorial
    • For each concept, determine whether it should be "explained within the tutorial" or "assumed as prior knowledge"
    • Decision rule: If explaining it would digress more than 200 words from the main topic, classify it as a prerequisite
  2. Prerequisites checklist:

    • Categorize into "Must know" and "Nice to know" tiers

    • Attach a one-line explanation for each: "why you need it"

    • Format:

      **Must know**:
      - [Concept]: [Why you need it] (Recommended resource)
      
      **Nice to know**:
      - [Concept]: [What aspects of the tutorial it relates to]
  3. Self-check rules:

    • If prerequisites exceed 5 items, consider narrowing the tutorial scope or splitting into a series
    • Every prerequisite must have a publicly available learning resource

Output: Tiered prerequisites checklist


Phase 3: Environment Setup

Goal: Provide a reproducible environment configuration path so the reader is fully set up before starting the core steps.

Steps:

  1. Environment inventory: List all tools to install/configure with recommended versions

    • Format: Tool name Version requirement (e.g., >= x.y) | Purpose
    • Clearly distinguish "required" from "optional" installations
  2. Installation steps: Provide commands for each operating system

    • Precede each command with a one-line explanation of what it does

    • Use only officially recommended methods or mainstream package managers

    • Format:

      **macOS**:
      # Install xxx (via Homebrew)
      brew install xxx
      
      **Linux (Ubuntu/Debian)**:
      # Install xxx (via apt)
      sudo apt update && sudo apt install -y xxx
  3. Environment verification: Provide a verification command and expected output after each tool installation

    • Format:

      # Verify installation
      xxx --version
      # Expected output: xxx x.y.z
  4. Self-check rules:

    • All installation commands must come from official documentation or mainstream package managers — no third-party scripts
    • Never include real API keys, passwords, tokens, or other sensitive values
    • When configuration files are involved, use placeholders (e.g., YOUR_API_KEY) and explain how to obtain the real value

Output: OS-specific installation and configuration guide + verification commands


Phase 4: Core Steps

Goal: Walk the reader through the core operations in a progressive structure, where each step can be independently verified.

Steps:

  1. Step planning:

    • Break the entire operation into 5–10 steps (each focused on one sub-goal)
    • Order steps strictly by dependency
    • Each step includes: step number, title, and objective statement
  2. Step writing format:

    #### Step N: [Step Title]
    
    **Objective**: [What state is achieved after this step]
    
    **Actions**:
    [Code block or operational instructions]
    
    **Explanation**:
    - [Line-by-line or section-by-section explanation of key parts]
    
    **Verification**:
    [What command to run / what result to check to confirm success]
    Expected output: [Specific expected result]
  3. Writing guidelines:

    • Code blocks must specify the language (e.g., bash, python)
    • Placeholders use ALL_CAPS_WITH_UNDERSCORES format (e.g., YOUR_PROJECT_NAME) and are explained on first occurrence
    • Each code block should not exceed 30 lines; split and explain in sections if longer
    • Use relative file paths; state the project root directory at the beginning
    • Every step must end with a verification section
  4. Progressive complexity:

    • Steps 1–3: Minimal runnable example (Hello World level)
    • Middle steps: Gradually introduce real-world features
    • Final 1–2 steps: Combine everything into a complete example

Output: Numbered step list, each containing actions + explanation + verification


Phase 5: Troubleshooting

Goal: Anticipate problems the reader may encounter and provide a direct path from error message to solution.

Steps:

  1. Error collection: Based on the technical topic, list the 5–8 most common error scenarios

    • Sources: Environment misconfiguration, version incompatibilities, permission issues, typos, network problems, etc.
  2. Error entry format:

    **Error N: [Error message summary]**
    
    Full error message:
    [Actual error output]
    
    Cause: [One-sentence explanation of why this error occurs]
    
    Solution:
    [Specific fix commands or steps]
    
    Verify the fix:
    [What to run to confirm the issue is resolved]
  3. Writing guidelines:

    • Error messages must be real (do not fabricate error messages)
    • Solutions must be actionable — avoid vague advice like "check your configuration"
    • If an error has multiple possible causes, list them from most to least likely
    • For permission-related issues, explain why the permission is needed rather than jumping to sudo or chmod 777
  4. Self-check rules:

    • Solutions must not include operations that could create security risks (e.g., chmod 777, disabling firewalls)
    • Never advise the reader to disable security features to "fix" a problem

Output: Structured troubleshooting table


Phase 6: Advanced Topics

Goal: Point readers who have completed the basics toward next steps, providing a learning path from beginner to advanced.

Steps:

  1. Advanced topic recommendations (3–5 directions):

    • For each direction, write a short paragraph: what it is, why it's worth learning, and what scenarios it applies to

    • Tag the difficulty level: Intermediate / Advanced

    • Format:

      **Direction N: [Topic Name]** | Difficulty: [Intermediate/Advanced]
      
      [Short paragraph]
      
      Recommended resources:
      - [Resource name] ([Type: documentation/book/course])
  2. Hands-on project suggestions:

    • Provide 2–3 small projects the reader can independently complete using what they learned
    • Each project includes: project name, one-sentence description, and relevant concepts
  3. Best practice tips (3–5 items):

    • Key differences between production and tutorial environments
    • Security considerations
    • Performance optimization directions

Output: Advanced learning roadmap + hands-on project suggestions + best practices


Phase 7: Cheatsheet

Goal: Distill the tutorial's essentials into a one-page quick reference for everyday use.

Steps:

  1. Cheatsheet structure:

    # [Technology Name] Cheatsheet
    
    ## Environment Info
    | Item | Command/Path |
    |------|--------------|
    | Install | `command` |
    | Version check | `command` |
    | Config file location | `path` |
    
    ## Common Commands
    | Action | Command | Description |
    |--------|---------|-------------|
    | xxx    | `xxx`   | xxx         |
    
    ## Common Code Snippets
    [Up to 5 frequently used code snippets, each no more than 10 lines]
    
    ## Quick Troubleshooting
    | Symptom | Possible Cause | Quick Fix |
    |---------|---------------|-----------|
    | xxx     | xxx           | `xxx`     |
  2. Writing guidelines:

    • Total cheatsheet length should fit on 2 printed A4 pages
    • Commands must be complete and ready to copy-paste
    • No explanatory prose — only "what to do → how to do it" mappings
    • Order items by frequency of use, from most to least common

Output: One-page cheatsheet


Phase 8: Document Assembly & Output

Goal: Assemble the outputs from the previous seven phases into a complete tutorial document.

Tutorial document template:

markdown
# [Technical Topic] Complete Tutorial

> Last updated: [Current date] | Applicable version: [Version number]
> Difficulty: [Beginner/Intermediate/Advanced] | Estimated time: [N hours/minutes]

## Tutorial Overview

[Phase 1 metadata summary — what the reader will be able to do after completion]

## 1. Prerequisites

[Phase 2 prerequisites checklist]

## 2. Environment Setup

[Phase 3 installation and configuration guide]

## 3. Core Steps

[Phase 4 numbered step list]

## 4. Troubleshooting

[Phase 5 troubleshooting table]

## 5. Advanced Topics

[Phase 6 advanced roadmap and hands-on projects]

## 6. Cheatsheet

[Phase 7 cheatsheet]

## Appendix

- Glossary (if domain-specific terminology is used, list in a table: Term | Definition)
- Reference links (official documentation, community resources, etc.)

Document output requirements:

  • All code blocks must specify the language
  • All commands must be directly copy-pasteable (no line numbers, prompts, or other noise)
  • All placeholders use the YOUR_XXX format and are explained on first occurrence
  • Configuration files must not contain real keys or tokens
  • Dates must use the actual current date

Flow Control Rules

Interaction Mode Selection

Choose the mode based on the level of detail in the user's input:

User InputModeBehavior
Just a technology name (e.g., "Docker tutorial")Guided modeExecute Phase 1 questions, wait for answers before continuing
Specific goal (e.g., "Deploy a Node.js app with Docker")Semi-auto modeAsk 1–2 key questions while simultaneously planning the steps
Detailed description (includes audience, environment, goal)Full-auto modeStart output directly from Phase 2
User says "just write it / don't ask"Quick modeOutput the complete tutorial based on default assumptions

Quality Checklist

Before outputting the final tutorial, check each item:

  • Prerequisites checklist is complete with no knowledge gaps
  • Every environment setup command has a verification step
  • Every core step includes "actions + explanation + verification"
  • Step dependencies are correct (no step uses a tool that hasn't been installed yet)
  • At least 5 common errors with specific, actionable solutions
  • At least 3 advanced directions with resource recommendations
  • Cheatsheet is self-contained with common commands and troubleshooting info
  • All code blocks specify the language
  • No hardcoded keys, tokens, or personal paths
  • No suggestions that could create security vulnerabilities (e.g., chmod 777)
  • No dependency on paid APIs or subscription-only tools (unless the tool itself is the tutorial subject)

Iterative Refinement

If the user provides feedback on the tutorial:

  1. Identify which Phase the feedback relates to
  2. Re-execute from that Phase
  3. Cascade updates to all downstream content (e.g., an environment change must propagate to subsequent steps and the Cheatsheet)
  4. Maintain step numbering continuity

Use Cases

This tutorial generator is suitable for the following types of technical tutorials:

  • Tool usage: Tutorials for tools like Git, Docker, Kubernetes, Vim, etc.
  • Environment setup: Development environments, CI/CD pipelines, server configuration, etc.
  • Programming introductions: Language primers, framework quickstarts, library usage, etc.
  • Operations manuals: Deployment, monitoring, logging, backup and recovery, etc.
  • Data processing: Database operations, ETL workflows, data analysis tool usage, etc.

常见问题

Dev Guide Generator AI 技能有什么作用?

Generates complete technical tutorials from prerequisites and environment setup to core steps, troubleshooting, and a final cheatsheet. Trigger on requests to write a tutorial, create a setup guide, organize steps for beginners, or keywords like step-by-step, quickstart, or how-to guide.

为什么在 TypingMind 中使用 Dev Guide Generator?

因为您只需安装一次,就能搭配任何模型使用。Dev Guide Generator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dev Guide Generator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/zebbern/claude-code-guide/tree/main/skills/dev-guide-generator。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dev Guide Generator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dev Guide Generator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dev Guide Generator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dev Guide Generator AI 技能免费吗?

是的。zebbern 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇