Skip to content
Data
Skill

/walkeros-writing-documentation

- Creating a new package README - Writing website documentation (MDX) - Creating or updating skills - Reviewing documentation for quality - Documenting Phase 7 of create-destination or create-source

From plugin
walkeros
35122 skills

Claude Code

$ npx -y skills add elbwalker/walkerOS --skill walkeros-writing-documentation --agent claude-code

SKILL.md

walkeros-writing-documentation.SKILL.md
name: walkeros-writing-documentation
description:
  Use when writing or updating walkerOS documentation - README, website docs, or
  skills. Covers quality standards, example validation, and DRY patterns.

Writing Documentation

When to Use This Skill

  • Creating a new package README
  • Writing website documentation (MDX)
  • Creating or updating skills
  • Reviewing documentation for quality
  • Documenting Phase 7 of create-destination or create-source

Prerequisites

  • [understanding-flow](../walkeros-understanding-flow/SKILL.md) - Architecture

context

  • [understanding-events](../walkeros-understanding-events/SKILL.md) - Event

naming rules

---

Documentation Types

Where Content Belongs

| Type | Purpose | Audience | | ------------------ | --------------------------------------------- | --------------------------- | | **Package README** | Installation, basic usage, API reference | Package users | | **Website docs** | Guides, integration examples, detailed config | Integrators | | **Skills** | Process knowledge, workflows | AI assistants, contributors |

Divio Documentation Types

Keep these separate - don't mix tutorials with reference:

| Type | Purpose | User State | | ---------------- | ------------------ | ----------------------------- | | **Tutorial** | Learning | Studying, beginner | | **How-To Guide** | Problem-solving | Working, knows what they need | | **Reference** | Information lookup | Working, needs facts | | **Explanation** | Understanding | Studying, needs context |

---

Example Validation (CRITICAL)

The Problem

AI-generated examples can be:

  • Syntactically correct but use non-existent APIs
  • Plausible-looking but don't match actual exports
  • Outdated, referencing deprecated patterns

Source of Truth Hierarchy

TIER 1: apps/quickstart/
  ✓ Tested  ✓ Compiled  ✓ CI-validated
  → USE FOR: All code examples

TIER 2: packages/core/src/eventGenerator.ts
  ✓ Canonical events  ✓ Real data structures
  → USE FOR: Event examples

TIER 3: packages/*/src/index.ts exports
  ✓ Actual public API
  → USE FOR: Verifying API names exist

TIER 4: Package READMEs & Website docs
  ⚠ May contain errors
  → VERIFY against Tier 1-3 before trusting

Pinned onboarding examples

Getting-started and onboarding code examples are sourced from Tier-1 `apps/quickstart/src/*.ts` (CI-validated) first, then the docs source them. The current canonical examples:

  • `first-event.ts`, the zero-to-first-event console example used by the

quickstart and integrated-mode pages and the README.

  • `ga4-ecommerce.ts`, the `product add` to GA4 `add_to_cart` mapping used by the

GA4 reference page and the GA4 ecommerce tutorial.

These are pinned against drift by the doc-lint at `apps/scripts/validate-docs.ts` (run `npx tsx apps/scripts/validate-docs.ts`). It extracts canonical tokens from the Tier-1 source and asserts the docs snippets contain them, tolerating intentional doc simplifications (dropping the `seen` capture, arrow `push` instead of a method). `first-event.ts` is pinned on the quickstart, integrated-mode, and README pages, plus the GA4 ecommerce page; `react.mdx` is pinned shape-only (it pushes no `page view`).

The doc-lint also runs these structural and coherence checks:

  • **elb event form** (docs, skills, READMEs): every event is pushed as a partial

event, `elb({ name: 'entity action', data })`. A quoted `"entity action"` string as the first `elb` argument is an error; `walker` commands keep their string name (`elb('walker consent', ...)`).

  • **Bundled-snippet platform guard**: every JSON flow with `bundle` carries

`config.platform` (getting-started, README, flow reference).

  • **Docker env guard**: quickstart Docker snippets use `BUNDLE`, not `FLOW`.
  • **Forbidden CLI verbs**: no `walkeros serve` or standalone `walkeros simulate`

in getting-started, guides, or the gtag page.

  • **Same-page simulate-key resolution** (getting-started): every

`push --simulate <type>.<key>` must resolve to a step key declared in a flow.json on the SAME page; a simulate command on a page with no flow.json fails. This is what catches an integrated page showing a bundled push loop.

  • **Flow.json schema validation** (all docs): every flow snippet, fragments

included, is checked with core's validators (`validateFlowConfig`, then `validateFlowStructure`, from `@walkeros/core/dev`). A fragment that starts at a key gets braces; a flow part (`sources`, `destinations`, ...) is checked inside a v4 flow, with the platform from the fragment or the page path; a root part (`contract`, `variables`) is checked as a v4 file; on a page whose frontmatter `package:` is a step package, a step or step config part is checked as that step. Package settings are not checked against the package's schema, and nothing is fetched. `version: 3` migration "before" snippets and JSON that is no flow part are skipped and counted in the summary line.

  • **Boundary register** (getting-started + MCP page): no prices, tier names, or

upgrade language. **No `:::cloud`** (all docs): there is no walkerOS Cloud, and the callout type no longer exists.

The rule: when you edit a pinned example, edit the Tier-1 `.ts` source and re-run the doc-lint. If the docs snippet must change too, update both so the lint passes.

Examples must run

A package page shows only setup and examples that a test ran, rendered from the package's `walkerOS.json`; never a hand-written copy of them:

  • **Install and setup are generated** (destination pages). `## Installation`

renders `<Quickstart data={data} />` (with `export="<name>"` for a package with several exports): the install line, the integrated code and the `flow.json`, composed from the package's `examples

Read more
@elbwalker
Ships withwalkeros

From browser to BigQuery and ad platforms - warehouse-native, and ready for AI agents via MCP.

Stars on GitHub

Momentum

stars in total
351
Star history of elbwalker/walkerOS on GitHub, a chart by star-history.com

Other skills on walkeros.

walkeros-create-source

walkeros-create-source

Use when creating a new walkerOS source to capture events (browser source, dataLayer interception, server/HTTP source, webhook…

@elbwalker@elbwalkerInstall Skill

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem02w69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog3w41k
@posthog@posthogInstall Skill

Questions about walkeros-writing-documentation.

Which coding agents can use walkeros-writing-documentation?
walkeros-writing-documentation installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.