Command Palette

Search for a command to run...

Назад к скиллам
скилл № 99609

diataxis

Apply the Diataxis documentation framework to Inngest docs. Use this when authoring new content, reviewing draft PRs, or deciding whether a proposed page fits…

БесплатноБез исполняемых скриптов
inngestот inngest★ 51 звезда на GitHub

Установить diataxis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Diataxis for Inngest

Diataxis is a documentation framework that splits user-facing writing into four modes. Every piece of documentation serves exactly one of these four needs. The first job of an author or reviewer is to identify which mode a given page belongs to, then write to that mode's standards.

This skill encodes the framework and adapts it to Inngest's style. It is intentionally opinionated about which mode a given piece of content belongs to so that PR reviews are fast and consistent.

The four modes

Mode Question it answers User state
Tutorial "Show me how to learn this from zero." Brand new, needs to be guided.
How-to guide "I have a specific job to do. How?" Knows the goal, needs a recipe.
Reference "What does this function/field/event do?" Knows the system, needs facts.
Explanation "Why is this the way it is?" Capable, wants to understand.

The mistake every set of docs makes: mixing two modes on one page. A reference page that drifts into "and here's a real-world story." A tutorial that explains the underlying philosophy in the middle of step 3. A pattern page that turns into a how-to. Each mix-up degrades both modes.

Pick the mode before you write

Use this decision tree on every page or draft PR:

Is the reader doing something for the first time, end to end?
├── Yes → TUTORIAL
└── No → Does the reader know the specific task they're trying to accomplish?
        ├── Yes → HOW-TO GUIDE
        └── No → Is the reader looking up the exact signature/parameters/events?
                ├── Yes → REFERENCE
                └── No → EXPLANATION

A faster heuristic in plain words:

  • Tutorial: teaches by doing. The reader follows steps and ends up with a working thing. Quickstarts go here.
  • How-to: gives a recipe for one specific problem. Assumes you already know the basics. "How to schedule a function on Eastern time."
  • Reference: lists what exists. API surface, event payloads, configuration options. Skimmable, encyclopedic, complete.
  • Explanation: discusses concepts, design rationale, and patterns. The reader leaves understanding why the system is shaped the way it is.

When in doubt, ask: "Could this page work as a search result for a Google query starting with 'how to'?" If yes → how-to. If the query would be "why does Inngest..." or "when should I use..." → explanation.

Mode-by-mode standards

Tutorial

Goal: A reader new to Inngest follows the page and ends with something working.

Required elements:

  • Prerequisites stated up front (Node version, Inngest account, etc.)
  • A single working example developed step by step
  • Every code block is runnable on its own or in cumulative order
  • A clear end state ("Now your function fires every hour and posts to Slack")
  • Links to the relevant reference pages and how-to guides at the end

Forbidden:

  • Skipping setup steps because they're "obvious"
  • Branches like "if you want X, do Y, otherwise..." (these belong in how-tos)
  • Long philosophical asides about why the system works this way

Inngest examples: the Quickstart, the Next.js guide, the platform-specific getting-started pages.

How-to guide

Goal: A capable reader accomplishes one specific task quickly.

Required elements:

  • A specific, action-oriented title ("How to send events from a serverless function")
  • Stated assumptions ("You have an Inngest function already deployed")
  • Steps in order, numbered or clearly delineated
  • The code that does the thing, in a copy-pasteable form
  • A "verify it worked" section

Forbidden:

  • Teaching the reader Inngest from scratch in the introduction
  • Multiple alternative paths with no recommendation
  • "Here are all the parameters" lists (those are reference)

Inngest examples: "How to retry a step with custom backoff," "How to wait for an event in a workflow," "How to configure failure handlers."

Reference

Goal: Authoritative, complete, accurate description of an API surface.

Required elements:

  • Function/event/config name as the title
  • Type signatures or schemas
  • Every parameter or field documented (name, type, required/optional, description)
  • Minimal, self-contained code example showing standard use
  • Cross-links to related references and the relevant how-to / explanation pages

Forbidden:

  • Marketing language
  • Long narrative paragraphs
  • Editorial opinions about when to use it (those belong in explanation)

Inngest examples: the step.run reference, the inngest.createFunction reference, the event payload reference.

Explanation

Goal: The reader understands a concept, pattern, or design decision well enough to apply it elsewhere.

Required elements:

  • A clear concept-shaped title ("Flash sales and bursty workflows," "Why steps?")
  • The problem space described first, before the solution
  • A discussion of tradeoffs, not just a recommendation
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл diataxis?

Apply the Diataxis documentation framework to Inngest docs. Use this when authoring new content, reviewing draft PRs, or deciding whether a proposed page fits the Explanation quadrant (especially for pattern pages like "Flash sales and bursty workflows").

Как установить скилл diataxis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл diataxis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить diataxis с