Agent skill

Docs Update Or Create

by LedgerHQ in LedgerHQ/ledger-live

Guidelines that must be followed when creating or updating docs in this repo.

MITAuto-check passedAgent Workflows

Install Docs Update Or Create

skills CLI
$ npx skills add LedgerHQ/ledger-live --skill docs-update-or-create -a claude-code

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

GitHub CLI
$ gh skill install LedgerHQ/ledger-live docs-update-or-create --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/LedgerHQ/ledger-live.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs-update-or-create .claude/skills/docs-update-or-create && 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
docs-update-or-create
GitHub stars
622
Token cost
~748 tokens
SKILL.md length
361 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Guidelines that must be followed when creating or updating docs in this repo.

  • Works in 5 steps: Understand the topic of knowledge and… → Gather existing knowledge on that topic → Agree on the best format and location… → …
  • Tasks that involve Subagents
  • SKILL.md covers 📝 Process to follow, 📜 Guidelines, 💡 Principles and 🔎 Validation
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Docs Update Or Create is an agent skill from LedgerHQ/ledger-live. Guidelines that must be followed when creating or updating docs in this repo. Applies to AGENTS.md, README.md, /docs//.md, skill and sub-agent files.

Its SKILL.md is about 750 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 Agent Workflows, covering Subagents and Technical documentation. The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.

When your agent uses it

  • Tasks that involve Subagents
  • Tasks that involve Technical documentation

Example prompts

  • “Use the docs-update-or-create skill to guideline that must be followed when creating or updating docs in this repo”
  • “/docs-update-or-create”

Workflow steps

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

  1. Understand the topic of knowledge and its purpose
  2. Gather existing knowledge on that topic
  3. Agree on the best format and location for it to live
  4. Write/update the files, inline with what's agreed
  5. Validate the results and refine as necessary

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    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

Docs Update Or Create loads about 748 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 361 words of instructions outside code blocks.

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

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 LedgerHQ/ledger-live at commit 30d7883, republished under its MIT licence (© LedgerHQ). 361 words, ~748 tokens.

Download SKILL.mdSave it as .claude/skills/docs-update-or-create/SKILL.md (or your agent's skills folder).
name
docs-update-or-create
description
Guidelines that must be followed when creating or updating docs in this repo. Applies to AGENTS.md, README.md, **/docs/**/*.md, skill and sub-agent files.

Create or Update Docs

Create minimal docs, avoid duplication and make content discoverable. Treat docs for both human and AI agents together. Follow our principles of progressive disclosure, locality and canonicalization.

📝 Process to follow

  1. Understand the topic of knowledge and its purpose
  2. Gather existing knowledge on that topic
  3. Agree on the best format and location for it to live
  4. Write/update the files, inline with what's agreed
  5. Validate the results and refine as necessary

📜 Guidelines

These guidelines define some boundaries within which to operate. They do not dictate everything. Follow them, but also use judgement and creativity to find the best way to document knowledge in each case.

❌ BAD:

  • Avoid long files containing multiple levels of details
  • Avoid overloading context with rarely used knowledge
  • Avoid duplicating knowledge in multiple files
  • Avoid documenting community-obvious knowledge
  • Avoid preserving old structure for its own sake

✅ GOOD:

  • Add docs that measurably improve agent performance
  • Do document repeatable workflows, commands and behaviours
  • Capture what is peculiar to this repo, domain, or team
  • Only add docs that solve real problems
  • Delete files that have no unique value after changes
  • Use emojis, checkboxes and formatting sparingly to make docs more appealing
Show full SKILL.md (163 more words)Show less
Keep it short
  • Keep it short and direct. Treat 100 lines as a target (not a hard limit)
  • Keep each file at one level of detail.
  • Link to narrower docs when detail must branch.
  • Use short inline examples when they replace explanation.
  • Link longer examples instead of embedding them.
Use frontmatter
  • Skill and agent definitions should use frontmatter to be discoverable by tools.
  • Frontmatter for READMEs is optional. If it's useful for you, include it
  • Tool-discoverable docs and skills should have name and description
  • Add allowed-tools, or compatibility only when they help.
  • Use disable-model-invocation: true for user-invoked skills (commands)
  • Use user-invocable: false for agent-only skills
Frontmatter Example for a skill
yaml
---
name: desktop-swap-guidance
description: Read when editing swap flows in Ledger Live Desktop.
---

💡 Principles

🔎 Validation

  • Make sure links point to the canonical source
  • Ensure it is discoverable by agents and humans
  • Search for duplicated key phrases with rg
  • Check long docs with wc -l.
  • Verify AGENTS.md stays minimal.

© LedgerHQ, MIT. 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 .agents/skills/docs-update-or-create of LedgerHQ/ledger-live.

Open the folder on GitHubat commit 30d7883

Compare with similar skills

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

Docs Update Or Create compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Update Or Create this skillLedgerHQ/ledger-live622—~748Automated safety check: PassMIT
Claude Docs Consultantcentminmod/my-claude-code-setup2.7k—~959Automated safety check: PassMIT
Document Featureiopsystems/rezolus275—~2.2kAutomated safety check: PassCustom licence
Docs Syncncatbot/NcatBot116—~1.3kAutomated safety check: PassCustom licence
Codebase Question ResearchWirasm/prp2.3k—~2.8kAutomated safety check: PassMIT
Olore Claude Code Latestolorehq/olore104—~901Automated safety check: PassMIT

Similar skills

  • Claude Docs Consultant

    centminmod/my-claude-code-setup

    Consult official Claude Code documentation from code.claude.com using selective fetching.

    2.7k GitHub stars~959 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Document Feature

    iopsystems/rezolus

    Write or update the CLI --help text and README section for a new or changed rezolus feature (a subcommand, flag, mode, or behavior change), then prove the help is usable by dispatching a fresh…

    275 GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Docs Sync

    ncatbot/NcatBot

    整体/局部防腐检查:Docs 内部链接断裂、README 索引不同步、guide↔reference 内容不一致、examples 导入过时、Code↔Docs API 对齐。逐文件检查,最大化并发 subagent。Use when: docs 防腐、docs 链接、docs 断链、断链检查、docs 审计、docs audit、code docs 对齐、reference 过时、guide…

    116 GitHub stars~1.3k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Answers how-and-where questions about a codebase by running parallel explorer agents and writing a research document where every claim cites file and line.

    2.3k GitHub stars~2.8k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Local claude-code documentation reference (latest). An agent skill from olorehq/olore.

    104 GitHub stars~901 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Technical Documentation

    vincentkoc/dotskills

    Build, review, and audit technical docs and agent instruction files.

    107 GitHub stars~2.4k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from LedgerHQ/ledger-live

All 50 skills in this repo
  • Impacting PRs

    LedgerHQ/ledger-live

    Find which open PRs are impacted by a migration/sunset/refactor and notify their authors — blocking review when the old path is already gone from develop, heads-up comment when it is only deprecated…

    622 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Cloud Sync Module

    LedgerHQ/ledger-live

    Write, review or debug a cloudSyncModule.ts — a CloudSyncDataManager that syncs one slice of user data through Ledger Sync (Cloud Sync).

    622 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Codeownership

    LedgerHQ/ledger-live

    Maintain CODEOWNERS file and team directories. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~687 tokensUpdated today
    Auto-check passed
  • Coin Families Contract

    LedgerHQ/ledger-live

    Coin-specific families logic must live in families/. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Data Layer Advanced

    LedgerHQ/ledger-live

    Structure a Ledger Wallet data layer where one API response serves several entities.

    622 GitHub stars~509 tokensUpdated today
    Auto-check passed
  • Debug Rn Native Crash

    LedgerHQ/ledger-live

    Investigate native React Native crashes (Fabric/Hermes/iOS) in ledger-live-mobile when JS error logs are missing or unhelpful.

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

Categories

Questions about Docs Update Or Create

What does Docs Update Or Create do?

Guidelines that must be followed when creating or updating docs in this repo. Docs Update Or Create is an agent skill from LedgerHQ/ledger-live. Guidelines that must be followed when creating or updating docs in this repo.

When should I use Docs Update Or Create?

Docs Update Or Create fits situations like: tasks that involve Subagents; tasks that involve Technical documentation.

How do I install Docs Update Or Create in Claude Code?

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

How do I install Docs Update Or Create in Codex?

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

Can I use Docs Update Or Create 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 LedgerHQ/ledger-live --skill docs-update-or-create -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-update-or-create, .gemini/skills/docs-update-or-create, .github/skills/docs-update-or-create and .opencode/skills/docs-update-or-create in your project.

What does Docs Update Or Create need to run?

SKILL.md names no scripts, command-line tools or credentials: Docs Update Or Create is instructions for the agent only.

Does Docs Update Or Create 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 Docs Update Or Create 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 Docs Update Or Create use?

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

About 748 tokens (SKILL.md is roughly 3k 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 Docs Update Or Create?

Skills that share tags, products or a category with Docs Update Or Create: Claude Docs Consultant (centminmod/my-claude-code-setup, 2.7k stars), Document Feature (iopsystems/rezolus, 275 stars), Docs Sync (ncatbot/NcatBot, 116 stars) and Codebase Question Research (Wirasm/prp, 2.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Update Or Create?

LedgerHQ (a GitHub organization) maintains it in LedgerHQ/ledger-live, which has 622 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 8, 2026.

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