Agent skill

Update Docs

by txpipe in txpipe/dolos

Reconcile the user-facing documentation under docs/content/ with the current source-of-truth in the codebase.

Apache-2.0Auto-check passedDevelopment

Install Update Docs

skills CLI
$ npx skills add txpipe/dolos --skill update-docs -a claude-code

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

GitHub CLI
$ gh skill install txpipe/dolos update-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/txpipe/dolos.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/update-docs .claude/skills/update-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
update-docs
GitHub stars
138
Token cost
~2.1k tokens
SKILL.md length
1,000 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reconcile the user-facing documentation under docs/content/ with the current source-of-truth in the codebase.

  • Works in 3 steps: Read the source of truth fully. Do not… → Read the current doc fully and build the… → Diff the two lists. For each delta
  • Code changes touched config fields
  • SKILL.md covers Scope, Workflow, Section: Configuration schema and Section: CLI subcommands &…, plus 4 more sections
  • Calls rg and git

What it does

Update Docs is an agent skill from txpipe/dolos. Reconcile the user-facing documentation under docs/content/ with the current source-of-truth in the codebase. Use whenever code changes touched config fields, CLI subcommands/args, MiniBF routes, MiniKupo routes, or any other user-visible behavior whose docs may now be stale.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The licence is Apache-2.0.

When your agent uses it

  • Code changes touched config fields
  • CLI subcommands/args
  • MiniKupo routes
  • Any other user-visible behavior whose docs may now be stale

Example prompts

  • “/update-docs”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the source of truth fully. Do not eyeball it — list out the actual fields/routes/args.
  2. Read the current doc fully and build the same list from it.
  3. Diff the two lists. For each delta

What it can do on your machine

Read from SKILL.md and the folder at commit 7e973ea. 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:

    • rg
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Update Docs loads about 2.1k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 1,000 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

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 txpipe/dolos at commit 7e973ea, republished under its Apache-2.0 licence (© txpipe). 1,000 words, ~2,091 tokens.

Download SKILL.mdSave it as .claude/skills/update-docs/SKILL.md (or your agent's skills folder).
name
update-docs
description
Reconcile the user-facing documentation under docs/content/ with the current source-of-truth in the codebase. Use whenever code changes touched config fields, CLI subcommands/args, MiniBF routes, MiniKupo routes, or any other user-visible behavior whose docs may now be stale.

Update User-Facing Docs

The docs/content/ tree is hand-written and easy to drift from the code. This skill reconciles it section by section against the actual source of truth. Always finish by re-reading both sides and confirming they agree — do not assume the docs already match.

Scope

The user-facing docs live in docs/content/. Each section has exactly one source of truth in the codebase:

Doc areaDoc file(s)Source of truth
Configuration schemadocs/content/configuration/schema.mdxcrates/core/src/config.rs (RootConfig and the per-section structs)
CLI subcommands & operation modesdocs/content/operations/modes.mdxsrc/bin/dolos/main.rs (Command enum) + src/bin/dolos/<cmd>.rs Args
MiniBF endpoint coveragedocs/content/apis/minibf.mdxcrates/minibf/src/lib.rs (build_router_with_facade)
MiniKupo endpoint coveragedocs/content/apis/minikupo.mdxcrates/minikupo/src/lib.rs (api_router)
Bootstrap, installation, etc.docs/content/bootstrap/*, installation/*Behavior in src/bin/dolos/bootstrap/, init.rs, README, etc.

The four bullets in the typical request — config schema, CLI, MiniBF list, MiniKupo list — map to the first four rows. Always include them. Add other rows when the change touches them.

Workflow

For each area you intend to update, do these three things in order:

  1. Read the source of truth fully. Do not eyeball it — list out the actual fields/routes/args.
  2. Read the current doc fully and build the same list from it.
  3. Diff the two lists. For each delta:
    • Item present in code, missing from docs → add it.
    • Item present in docs, missing from code → remove it (it was renamed or deleted).
    • Item present in both with different name/type/default/description → update the doc.

Edit the docs surgically with Edit. Do not rewrite a section just to "tidy" it — keep diffs reviewable.

Section: Configuration schema

Source: crates/core/src/config.rs.

The schema doc must reflect:

  • Every field of RootConfig (top-level TOML sections).
  • For each top-level section struct (e.g. MinibfConfig, StorageConfig, SyncConfig, LoggingConfig, TelemetryConfig, etc.), every public field plus its type and any default returned by an accessor like fn permissive_cors(&self) -> bool { self.permissive_cors.unwrap_or(true) }.
  • Option<T> fields are documented as optional. Fields with #[serde(default)] use the Default impl.
  • Nested structs under storage.* (storage.wal, storage.state, storage.archive, storage.mempool) each have their own subsection.
  • The example TOML at the top of schema.mdx should remain a valid, representative sample — if you add a section, add it here too in alphabetical-ish order matching the rest of the doc.

Common drift patterns to look for:

  • A new field added to a config struct but never appearing in the table or bullet list.
  • A field renamed in code (e.g. cache_mb → cache) while the doc still uses the old name.
  • A default changed in the accessor (unwrap_or(...)) while the doc still cites the old default.
  • A #[serde(rename = "...")] that means the TOML key differs from the Rust field name.

Section: CLI subcommands & operation modes

Source: src/bin/dolos/main.rs enum Command plus the corresponding mod (daemon.rs, sync.rs, serve.rs, data/, eval.rs, doctor/, bootstrap/, init.rs, minibf.rs, minikupo.rs).

Steps:

  1. List every variant of Command. Note any #[cfg(feature = "...")] gates — Init, Data, Bootstrap, Minibf, Minikupo are all feature-gated, so the docs should describe them as available "when built with the corresponding feature" if the gate is non-default. (As of this writing, all five features are on by default in Cargo.toml.)
  2. For each subcommand, open its module's Args struct (or sub-Subcommand enum, e.g. data::Args, doctor::Args) and confirm the doc reflects the actual flags/args.
  3. Update docs/content/operations/modes.mdx to keep the "Summary of Modes" table aligned with what Command actually exposes.

Note that modes.mdx today only documents daemon, sync, and serve. If a new top-level subcommand appears that an end user needs to know about (not internal helpers), add it. Internal/utility subcommands like data and doctor are typically documented elsewhere or via --help; do not add them to modes.mdx unless that's the intent of the change.

Show full SKILL.md (431 more words)Show less

Section: MiniBF endpoints

Source: crates/minibf/src/lib.rs, function build_router_with_facade. Each .route("...", get(...)) or .route("...", post(...)) line is one endpoint.

Steps:

  1. Extract the full list of route paths from build_router_with_facade. A reliable shell snippet:
    bash
    rg -N '\.route\(' crates/minibf/src/lib.rs | sed -E 's/.*route\("([^"]+)".*/\1/'
  2. Compare against the table in docs/content/apis/minibf.mdx under "Coverage".
  3. Add any missing routes, remove any deleted routes, and keep the table sorted in the same order it currently uses (roughly: root/health/metrics first, then alphabetical-ish by resource: accounts, addresses, assets, blocks, epochs, genesis, governance, metadata, network, pools, scripts, tx, txs).
  4. Each row's description should be a short, user-meaningful summary — match the style of existing rows; do not paste internal handler names.
  5. If the change added a route that requires a new config field on MinibfConfig, also update the configuration sections in both schema.mdx and the "Configuration" block inside minibf.mdx.

Section: MiniKupo endpoints

Source: crates/minikupo/src/lib.rs, function api_router. Routes live there; the top-level build_router_with_facade merges and nest("/v1", ...) so the /v1/... mount point is implicit — document the un-versioned path (matching existing style).

Steps:

  1. Extract the route list:
    bash
    rg -N '\.route\(' crates/minikupo/src/lib.rs | sed -E 's/.*route\("([^"]+)".*/\1/'
  2. Reconcile with the "Coverage" table in docs/content/apis/minikupo.mdx.
  3. Update the "Not supported" list too if a previously unsupported endpoint was added (move it from the bottom list to the top table) or vice versa.
  4. As with MiniBF, propagate any new MinikupoConfig fields into schema.mdx and the doc's own "Configuration" block.

Verification

After editing, do all of the following:

  1. git diff docs/content/ — read every change as if you were the reviewer. Confirm there is no fabricated content (route, field, or default that doesn't exist in code).
  2. Re-extract the route list from each crate (commands above) and grep for each entry inside the corresponding .mdx. Every route in code must have a row.
  3. For config: open the relevant struct and confirm every public field is mentioned in schema.mdx. Pay special attention to fields with #[serde(default)], Option<T>, and any custom #[serde(rename)] or #[serde(skip_serializing_if)].
  4. If the docs build script exists in the repo (check docs/package.json or similar), do not run it unless the user asks — schema/route consistency is the goal here, not rendering.

What NOT to do

  • Don't restructure or rename doc sections that weren't part of the request — drift fixes only.
  • Don't invent descriptions. If the source of truth doesn't make the purpose obvious, ask the user or read the handler/struct comments instead of guessing.
  • Don't document private fields, internal helpers, or test-only routes.
  • Don't add a new top-level doc page for a feature unless explicitly asked; prefer extending the existing schema/api/operations files.

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

Files

Just SKILL.md in skills/update-docs of txpipe/dolos.

Open the folder on GitHubat commit 7e973ea

Compare with similar skills

Update Docs 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.

Update Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update Docs this skilltxpipe/dolos138—~2.1kAutomated safety check: PassApache-2.0
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from txpipe/dolos

  • Systematic workflow for debugging Cardano ledger epoch pots mismatches in Dolos.

    138 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Add Epoch Test

    txpipe/dolos

    Set up a new epochpots integration test with ground truth fixtures from DBSync

    138 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Add a missing pointer address mapping to hacks.rs by looking up the stake credential in DBSync

    138 GitHub stars~840 tokensUpdated today
    Auto-check passed
  • Dolos Pipeline

    txpipe/dolos

    Architecture of the Dolos processing pipeline — WorkUnit lifecycle, executor modes, CardanoWorkUnit variants, WorkBuffer state machine, and sequencing.

    138 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Ledger Gotchas

    txpipe/dolos

    Reference of non-obvious Cardano ledger behaviors that have caused bugs in Dolos.

    138 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Update Proposals

    txpipe/dolos

    Update hardcoded Conway governance proposal mappings in hacks.rs by querying DBSync

    138 GitHub stars~1.6k tokensUpdated today
    Auto-check passed

Categories

Questions about Update Docs

What does Update Docs do?

Reconcile the user-facing documentation under docs/content/ with the current source-of-truth in the codebase. Update Docs is an agent skill from txpipe/dolos. Reconcile the user-facing documentation under docs/content/ with the current source-of-truth in the codebase.

When should I use Update Docs?

Update Docs fits situations like: code changes touched config fields; CLI subcommands/args; miniKupo routes; any other user-visible behavior whose docs may now be stale.

How do I install Update Docs in Claude Code?

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

How do I install Update Docs in Codex?

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

Can I use Update Docs 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 txpipe/dolos --skill update-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/update-docs, .gemini/skills/update-docs, .github/skills/update-docs and .opencode/skills/update-docs in your project.

What does Update Docs need to run?

Going by SKILL.md and its folder, Update Docs needs the command-line tools its instructions call (rg and git).

Does Update Docs access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Update Docs 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 Update Docs use?

Update Docs is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Update Docs use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Update Docs?

Skills that share tags, products or a category with Update Docs: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update Docs?

txpipe (a GitHub organization) maintains it in txpipe/dolos, which has 138 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

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