Agent skill

Beads Documentation Style Guide

by gastownhall in gastownhall/beads

Sets the house style for the beads user docs: the canonical concept model, required terminology, prose and diagram conventions, and checks before docs work is done.

MITAuto-check passedWriting & Content

Install Beads Documentation Style Guide

skills CLI
$ npx skills add gastownhall/beads --skill beads-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gastownhall/beads beads-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gastownhall/beads.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/beads-docs .claude/skills/beads-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
beads-docs
GitHub stars
28k
Token cost
~3.2k tokens
SKILL.md length
1,680 words
Files
4 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Sets the house style for the beads user docs: the canonical concept model, required terminology, prose and diagram conventions, and checks before docs work is done.

  • Works in 10 steps: The canonical model → Required terminology → Content stance → …
  • Writing or restructuring a page in the beads docs
  • SKILL.md covers 1. The canonical model, 2. Required terminology, 3. Content stance and 4. Information architecture, plus 6 more sections
  • Calls make and go

What it does

This skill applies whenever the agent touches anything under docs/, the Mintlify site that documents beads for its users, or writes prose about beads. The audience is a user installing bd, tracking work and syncing it, while contributor material in engdocs/ and AGENTS.md follows different rules. The goal is docs that motivate before they use jargon, say the same thing the same way everywhere, show concepts through pictures and snippets, and stay in step with the code.

It defines the canonical model to teach: a bead, its dependencies and ready work, the pipeline from formula to proto to molecule or wisp, gates, and Dolt sync and federation. The agent links to the core-concepts page instead of re-explaining it. Reference files cover terminology, simplification and verification, and the skill also sets rules for emphasis and diagrams, says generated docs are edited at their source, and lists the gates to run before docs work counts as done.

When your agent uses it

  • Writing or restructuring a page in the beads docs
  • Fixing wrong or confusing documentation under docs/
  • Renaming a term consistently across the docs
  • Reviewing documentation changes against the house style

Example prompts

  • “Write a docs page that explains gates for people new to beads.”
  • “Check the sync guide for terminology that drifts from the canonical concept model.”
  • “The recovery runbook is confusing. Rewrite it in the house style.”
  • “Add a diagram of the formula-to-molecule pipeline to the concepts page.”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. The canonical model
  2. Required terminology
  3. Content stance
  4. Information architecture
  5. Prose doctrine — cut words, sharpen points
  6. Emphasis and formatting
  7. Diagrams
  8. Generated content is edited at its source
  9. Verify before you call it done
  10. Review and commit discipline

What it can do on your machine

Read from SKILL.md and the folder at commit 5a5b7cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Beads Documentation Style Guide loads about 3.2k tokens when it runs, and up to ~5.8k if it reads all its reference files. Until then it costs about 198 tokens; SKILL.md has 1,680 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~198
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from gastownhall/beads at commit 5a5b7cf, republished under its MIT licence (© gastownhall). 1,680 words, ~3,246 tokens.

Download SKILL.mdSave it as .claude/skills/beads-docs/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
beads-docs
description
Project conventions for writing, editing, restructuring, or reviewing the beads user documentation — the Mintlify site under docs/. Use this whenever you touch anything in docs/ (pages, concept docs, reference, integration guides, recovery runbooks, diagrams, docs.json navigation) or write/edit prose about beads, even when the request is just "fix the docs", "write a docs page", "the docs are wrong/confusing", "rename X across the docs", or an edit to a file under docs/. It defines the canonical concept model (bead → dependencies → ready work; formula → proto → molecule/wisp; gates; Dolt sync and federation), required terminology, the prose/emphasis/diagram conventions, the rule that generated docs are edited at their source, and the gates to run before docs work is done.

Writing beads docs

This is the house style for docs/ — the beads user documentation, published as a Mintlify site. The goal is docs that motivate before they jargon, say the same thing the same way everywhere, show concepts as pictures and snippets instead of walls of prose, and never drift from the code. Apply it to any page you create, edit, or review.

The audience of docs/ is a user of beads — a human or agent installing bd, tracking work, and syncing it. Contributor-facing material lives in engdocs/ and AGENTS.md and follows different rules (it may describe the implementation literally). When this skill says "the docs," it means docs/.

1. The canonical model

Beads is a dependency-aware issue graph with a workflow layer on top. Teach it consistently and link to the canonical concept page — docs/core-concepts/index.md — rather than re-explaining it.

ConceptRoleKey idea
bead (issue)the unit of workone tracked item with a hash ID (bd-a1b2), type, status, priority; "bead" and "issue" name the same thing
dependencyorderingblocks edges hide a bead from agents until its blockers close; parent-child, related, discovered-from organize without blocking
ready workwhat bd ready computesopen beads with no open blockers, excluding in_progress, blocked, deferred, and hooked — the claimable frontier
formulaworkflow sourcea TOML/JSON file defining a DAG of steps; bd cook compiles it into a proto
protoworkflow templatea template epic (label template) with {{variables}}; not live work
moleculeinstantiated workflowreal beads poured from a proto (bd mol pour); persistent
wispephemeral moleculesame instantiation, transient lifecycle (bd mol wisp); purged by bd purge
gateasync waitblocks a workflow step until closed — by a human, a timer, a GitHub run/PR, or a cross-rig bead
synccross-machine movementDolt push/pull over refs/dolt/data on the git remote; .beads/issues.jsonl is a passive export, never the database
federationcross-repo syncpeer-to-peer sharing of beads across repos/organizations

The pipeline worth internalizing: formula → (cook) → proto → (pour) → molecule or → (wisp) → wisp. Gates pause molecule steps; bd ready surfaces the claimable steps; sync moves the whole graph between machines.

Storage facts that pages keep getting wrong: embedded mode (the default bd init) stores data at .beads/embeddeddolt/; server mode (bd init --server) uses .beads/dolt/. Never present .beads/dolt/ as the general data path.

Cross-project vocabulary (beads ↔ Gas City). Gas City (the sibling project) shares the words molecule, formula, wisp, and gate, but the two doc corpora use them differently: Gas City's docs treat molecule/wisp as v1 implementation detail (never a user concept), and a Gas City formula is an orchestration method the orchestrator runs across agents. In beads, molecule/wisp/proto ARE user concepts, and a formula is the TOML source you cook into a proto. Never import Gas City's definitions into beads pages (or vice versa); when a page must bridge the two projects, say explicitly which project's sense is meant.

2. Required terminology

Use the left column; never the right (except as noted). The full prose-vs-literal rename discipline is in references/terminology.md.

Use thisNot thisNotes
bead / issue"task", "ticket", "TODO item" as the unit's nameBoth terms are correct and interchangeable; lead with bead when teaching identity, use issue when mirroring CLI output or flags (bd create, "issue types"). "task" is one issue type, never the generic unit.
ready work"unblocked queue", "available tasks", "the ready set" as a formal termSay what bd ready returns: open beads with no open blockers.
proto"template" as a noun for the concepttemplate stays only as the literal label name protos carry.
molecule"mol" in prosemol is the command literal (bd mol pour); the concept is a molecule.
formulaconflating formula with molecule/protoThe formula is the file; cooking makes a proto; pouring makes live work.
gate"barrier", "checkpoint", "lock"Gates are async wait conditions with types (human, timer, gh:run, gh:pr, bead).
sync = Dolt push/pullexport/import as a sync workflowbd dolt push / bd dolt pull over refs/dolt/data. .beads/issues.jsonl is a passive export for viewers and interchange.
embedded mode / server mode"local mode", "daemon mode" for storageEmbedded is the default; data at .beads/embeddeddolt/. Server mode connects to dolt sql-server; data at .beads/dolt/.
federation"multi-repo sync" as a distinct feature nameFederation is the peer-to-peer cross-repo sharing feature.
hash ID"random ID", "UUID"IDs like bd-a1b2 are content-derived hashes sized adaptively to prevent collisions.

3. Content stance

  • Motivate before you mechanize. Lead a page with the problem it solves, then the solution, then the mechanics. Never open on vocabulary.
  • Docs are not the project's history. No internal/* package paths, no "this was removed in vX", no "(v0.20.1+)" gating on user pages — beads is a 1.x product and pre-1.0 archaeology belongs in engdocs/ or the CHANGELOG.
  • Lead with the value. Beads' value is persistent, dependency-aware memory for coding agents — agents that survive context loss because the work graph outlives the session. The comparison framing (vs GitHub Issues, Jira, markdown TODO lists) is the best newcomer conversion tool; keep it early where it exists.
  • One concrete example beats three abstract sentences. Where you assert a capability, show a bd invocation and what it prints.

4. Information architecture

Navigation lives in docs/docs.json: Getting Started, Core Concepts, Architecture, Workflows, Recovery, Multi-Agent, Integrations, Community, and Reference — with the generated CLI Reference nested inside Reference as a collapsed sub-group.

  • Every section has an index/Overview page that introduces the section in a sentence or two, then lists every child page with a one-line accurate summary and link.
  • One page, one purpose. A page that tries to teach and specify does neither — split it and cross-link.
  • Concept material is unified on core-concepts/index; don't re-derive the model on other pages — link to it.
  • The repository map belongs in the README, not in docs/.
Show full SKILL.md (733 more words)Show less

5. Prose doctrine — cut words, sharpen points

Most bloat is information stored in the wrong medium. Move it to a cheaper carrier, then delete what isn't pulling weight. Every page must stand alone — a reader landing cold needs a one-line setup, not a previous page.

Convert (move load off prose):

  • A relationship or sequence → a diagram (mermaid renders natively; richer diagrams follow the Excalidraw pipeline — see §7).
  • Parallel options/fields/comparisons → a table.
  • "you run X, which does Y" narration → an annotated CLI snippet (show the command and its output, comment the interesting lines).
  • Edge cases and deep mechanics → an <Accordion>, or a reference page. Keep the 80% case on the page.

Delete (the load was fake): throat-clearing openers ("In this section we'll…"), hedge chains ("generally / typically / in most cases"), restatement, narrating an artifact a snippet already shows, and adjectives standing in for evidence.

When you run a deliberate simplification pass, follow references/simplification.md — the per-page loop and the two guardrails that keep a trim honest: a loss-check (never drop a fact that lives nowhere else) and a fact-check (trimmed prose must not drift from the code).

6. Emphasis and formatting

  • Bold names a term, on first mention only. Italic marks a property or contrast. ~1–2 marks per paragraph; never re-emphasize a term already introduced; never give one phrase both treatments.
  • No body # H1 — the frontmatter title is the H1. Use ##/###.
  • Links are root-relative and extensionless (/getting-started/quickstart). Links out of the site (engdocs/, repo files) use full GitHub URLs.
  • Mintlify parses .md as MDX: no HTML comments ({/* … */} instead), and angle-bracket placeholders like <id> must stay inside backticks or code fences.
  • Mintlify components (<Note>, <Tip>, <Warning>, <Accordion>) sparingly — they lose force with repetition.

7. Diagrams

Mermaid fences render natively — prefer them for graphs and flows. For richer diagrams use the Excalidraw pipeline: author the .excalidraw source under docs/diagrams/excalidraw/, render with make diagrams-excalidraw (source and rendered .svg are both committed), embed as /diagrams/excalidraw-rendered/<name>.svg with descriptive alt text, and keep labels short (a two-line "Name / role" beats a sentence crammed in a box). Two non-negotiables:

  • Rasterize and look at every rendered diagram — text overflow and layout problems are invisible in a text diff.
  • Diagrams and images cannot be reviewed in a diff. Render them and get the maintainer's approval before committing.

8. Generated content is edited at its source

Never hand-edit a generated file. The generated surfaces are:

  • docs/cli-reference/*.md and the CLI Reference pages array inside docs/docs.json — bd emits vendor-neutral pages (bd help --docs-root, from the Cobra command strings in cmd/bd/*.go) into an uncommitted staging tree, and tools/docsmint post-processes them into the committed Mintlify form. bd itself never emits Mintlify (or any site-generator) specifics; that lives in docsmint.
  • docs/CLI_REFERENCE.md — the single-file reference, emitted directly by bd help --docs-root.

To change wording in any of them, edit the Go source (Short:, Long:, Example: strings) and run ./scripts/generate-cli-docs.sh (which runs both stages). To change the Mintlify page form itself (comment markers, link style, nav), edit tools/docsmint and its tests. The drift gates (generate-cli-docs.sh --check, scripts/check-cli-docs-drift.sh in PR CI, and the docs-autofix bot) fail or auto-fix any hand edit.

The docs describe the pinned release, not main. docs/cli-docs.pin names the release tag the whole docs corpus targets; the pipeline builds bd from that tag and validates against it, so a Go-source edit on main shows up in the committed docs only after the pin is bumped (at release time, followed by a regeneration). Hand-written pages follow the same policy: document what the pinned release does, never main-only features. See engdocs/decisions/2026-07-17-docs-release-pin.md.

9. Verify before you call it done

Run the gates in references/verification.md. The short list: go test ./test/docsync (nav↔file sync + link conventions), ./scripts/generate-cli-docs.sh --check (generated docs fresh), ./scripts/check-doc-freshness.sh (Last reviewed markers), and a live preview with make docs-dev (or ./mint.sh dev) at localhost:3000.

When you move or remove a page: add a redirect to the redirects array in docs/docs.json, rewrite inbound links repo-wide (README, engdocs/, examples/, npm-package/, plugin resources — grep, don't guess), and check whether bd prints the old path (if so, fix the Go source and regenerate — never a pointer stub; decision 6 covers old routes with redirects).

10. Review and commit discipline

  • Author → the maintainer reviews → commit on explicit approval. This matters most for diagrams and images, which can't be reviewed in a text diff.
  • Group commits by audience: user docs (docs/) separate from contributor docs (engdocs/, AGENTS.md) separate from generator/Go changes.
  • Track docs work as bd issues per AGENTS.md.

© gastownhall, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in .claude/skills/beads-docs of gastownhall/beads.

  • SKILL.md
  • references/simplification.md
  • references/terminology.md
  • references/verification.md

Open the folder on GitHubat commit 5a5b7cf

Compare with similar skills

Beads Documentation Style Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Beads Documentation Style Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Beads Documentation Style Guide this skillgastownhall/beads28k—~3.2kAutomated safety check: PassMIT
Technical Writing Standardcursor/plugins10k10 repos~2.4kAutomated safety check: PassNone
Heym Documentation Articlesheymrun/heym1.4k—~780Automated safety check: PassCustom licence
Developer Docs Technical Writervercel-labs/github-tools131—~3.9kAutomated safety check: PassMIT
Aholo Viewer Docsmanycoretech/aholo-viewer1.1k—~341Automated safety check: PassMIT
DiataxisWebMCP-org/npm-packages104—~1.7kAutomated safety check: PassMIT

Similar skills

  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    10k GitHub starsUsed in 10 repos~2.4k tokens
    Writing & ContentAuto-check passed
  • Creates and updates documentation articles for the Heym platform: category choice, manifest entry, markdown file and cross-links from existing pages.

    1.4k GitHub stars~780 tokensUpdated today
    Writing & ContentAuto-check passed
  • Developer Docs Technical Writer

    vercel-labs/github-tools

    Official

    Writes, reviews and edits developer documentation for SDKs, libraries and frameworks, from getting-started guides and API references to migration guides.

    131 GitHub stars~3.9k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Aholo Viewer Docs

    manycoretech/aholo-viewer

    Guides writing and maintaining Aholo Viewer documentation: README, AGENTS.md, architecture notes, bilingual manual pages and AI collaboration guides.

    1.1k GitHub stars~341 tokensUpdated today
    Writing & ContentAuto-check passed
  • Diataxis

    WebMCP-org/npm-packages

    Write technical documentation following the Diataxis framework by Daniele Procida.

    104 GitHub stars~1.7k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Lildocs

    alloc/drizzle-plus

    A skill your agent uses when authoring, reviewing, or restructuring Markdown documentation, especially docs architecture, page purpose, examples, technical-writing quality, and docs-change review.

    174 GitHub stars~3.1k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed

More from gastownhall/beads

  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Beads Documentation Style Guide

What does Beads Documentation Style Guide do?

Sets the house style for the beads user docs: the canonical concept model, required terminology, prose and diagram conventions, and checks before docs work is done. This skill applies whenever the agent touches anything under docs/, the Mintlify site that documents beads for its users, or writes prose about beads.md follows different rules.

When should I use Beads Documentation Style Guide?

Beads Documentation Style Guide fits situations like: writing or restructuring a page in the beads docs; fixing wrong or confusing documentation under docs/; renaming a term consistently across the docs; reviewing documentation changes against the house style.

How do I install Beads Documentation Style Guide in Claude Code?

Run `npx skills add gastownhall/beads --skill beads-docs -a claude-code`. Or copy the skill folder (.claude/skills/beads-docs in gastownhall/beads) into .claude/skills/beads-docs in your project. Claude Code loads it when a task matches its description.

How do I install Beads Documentation Style Guide in Codex?

Run `npx skills add gastownhall/beads --skill beads-docs -a codex`. Or copy the skill folder (.claude/skills/beads-docs in gastownhall/beads) into .agents/skills/beads-docs in your project. Codex loads it when a task matches its description.

Can I use Beads Documentation Style Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gastownhall/beads --skill beads-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/beads-docs, .gemini/skills/beads-docs, .github/skills/beads-docs and .opencode/skills/beads-docs in your project.

What does Beads Documentation Style Guide need to run?

Going by SKILL.md and its folder, Beads Documentation Style Guide needs the command-line tools its instructions call (make and go).

Does Beads Documentation Style Guide access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Beads Documentation Style Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Beads Documentation Style Guide use?

Beads Documentation Style Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Beads Documentation Style Guide use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Beads Documentation Style Guide?

Skills that share tags, products or a category with Beads Documentation Style Guide: Technical Writing Standard (cursor/plugins, 10k stars), Heym Documentation Articles (heymrun/heym, 1.4k stars), Developer Docs Technical Writer (vercel-labs/github-tools, 131 stars) and Aholo Viewer Docs (manycoretech/aholo-viewer, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Beads Documentation Style Guide?

gastownhall (a GitHub organization) maintains it in gastownhall/beads, which has 27,751 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 9, 2026.

Source: gastownhall/beads on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.