A skill your agent uses for ALL documentation-related workflows: rst style guide, changelog updates, C/C++ API reference (Doxygen)

Apache-2.0Auto-check passedDevelopment

Install Docs

skills CLI
$ npx skills add pigweed-project/pigweed --skill docs -a claude-code

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

GitHub CLI
$ gh skill install pigweed-project/pigweed 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/pigweed-project/pigweed.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs .claude/skills/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
docs
GitHub stars
548
Token cost
~804 tokens
SKILL.md length
438 words
Files
4
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses for ALL documentation-related workflows: rst style guide, changelog updates, C/C++ API reference (Doxygen)

  • Works in 3 steps: Summarize the user's main goal in a few… → If the user's main goal is not… → Run ALL workflows that are relevant to…
  • ALL documentation-related workflows: rst style guide
  • SKILL.md covers Usage and Workflows
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Docs is an agent skill from pigweed-project/pigweed. Use for ALL documentation-related workflows: rst style guide, changelog updates, C/C++ API reference (Doxygen)

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `TEST.md`).

It sits in Development, covering Changelog and release notes. It works with C++. The repository describes itself as: Modern software development for embedded systems. The licence is Apache-2.0.

When your agent uses it

  • ALL documentation-related workflows: rst style guide
  • Changelog updates
  • C/C++ API reference (Doxygen)

Example prompts

  • “/docs”

Workflow steps

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

  1. Summarize the user's main goal in a few sentences.
  2. If the user's main goal is not docs-related and there is still
  3. Run ALL workflows that are relevant to the user's main goal.

What it can do on your machine

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

    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 loads about 804 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 438 words of instructions outside code blocks.

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

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 pigweed-project/pigweed at commit 9893a45, republished under its Apache-2.0 licence (© pigweed-project). 438 words, ~804 tokens.

Download SKILL.mdSave it as .claude/skills/docs/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
docs
description
Use for ALL documentation-related workflows: rst style guide, changelog updates, C/C++ API reference (Doxygen)

Docs

Pigweed has many docs automation workflows. Rather than list them all here, this skill helps agents decide which workflows are relevant and then routes them to the full instructions.

Usage

  1. Summarize the user's main goal in a few sentences.

  2. If the user's main goal is not docs-related and there is still work to be done, STOP HERE.

    [!WARNING]

    The docs workflows may reduce your ability to solve the user's main goal because they create high risk of context pollution.

    Examples of WIP main goals unrelated to docs:

    • The root cause of a bug has not yet been found.
    • The user is exploring a new API and it's not yet clear that they're happy with the design.
    • Software architecture or system design research.
    • Code implementations or refactors and tests are still failing.
  3. Run ALL workflows that are relevant to the user's main goal.

Workflows

Each of the sections below represents a workflow. Summary:

  • rst: Align with Pigweed's reStructuredText (reST) style guide.
  • changelog: Update the Pigweed changelog.
  • doxygen: Create C/C++ API reference content.
  • security: Annotate a vulernability false positive.
  • bulletin: Create a security bulletin for a fixed vulnerability.

All workflows follow this pattern:

  • Triggers: Hints about when to run the workflow. Values in double quotes represent example prompts.
  • Guards: Warnings about when to NOT run the workflow.
  • Path: The path to the full instructions.
Show full SKILL.md (212 more words)Show less
rst

Triggers:

  • *.rst files are in context.
  • "format the rst"
  • "rest formatting"
  • The user is creating a significant amount of new documentation and has asked for help getting it ready to publish.
  • A workflow (such as bulletin) explicitly requires formatting of generated RST files

Guards:

  • Do not waste time on reST formatting for first draft content that is likely to change a lot, unless required as a completion step by a workflow.
  • When the main goal requires only minor docs updates, do not touch reST that's unrelated to the main goal.

Path: //docs/agents/rst/AGENTS.md

changelog

Triggers:

  • "create a changelog update for mar 2026"

Guards:

  • "summarize the rust 1.95 changelog"
  • "what is the changelog process for the new API we just created?"
  • "analyze this codebase in relation to the c++ 2026 changelog"

Path: //docs/agents/changelog/AGENTS.md

doxygen

Triggers:

  • A target in //docs/doxygen has failed to build
  • The user is attempting to create new C/C++ API reference content
  • The user is adding code examples to Doxygen comments

Guards:

  • "search the doxygen docs"

Path: //docs/agents/doxygen/AGENTS.md

security

Triggers:

  • "add a security note to MySymbol in my_file.h"

Guards:

  • "add a comment to MySymbol"
  • "analyze this security note"

Path: //docs/agents/security/AGENTS.md

bulletin

Triggers:

  • "create a security bulletin"
  • "update the security bulletin"

Guards:

  • "what CL fixed b/8675309"
  • "search the security bulletins"

Path: //docs/agents/bulletin/AGENTS.md

© pigweed-project, 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

SKILL.md and 3 other files in .agents/skills/docs of pigweed-project/pigweed.

  • SKILL.md
  • TEST.md
  • tests/after.rst
  • tests/before.rst

Open the folder on GitHubat commit 9893a45

Compare with similar skills

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.

Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs this skillpigweed-project/pigweed548—~804Automated safety check: PassApache-2.0
pybind11 Release Preparationpybind/pybind1118k—~1.7kAutomated safety check: PassCustom licence
pybind11 Release Publicationpybind/pybind1118k—~2.5kAutomated safety check: PassCustom licence
D2mcpp Authoringmcpp-community/d2mcpp1.8k—~2.7kAutomated safety check: PassCustom licence
Swig Conventionsswig/swig6.3k—~2.7kAutomated safety check: PassCustom licence
Skia Analystmono/SkiaSharp5.6k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Walks a maintainer through publishing a pybind11 release after the preparation PR merges, with preflight checks, confirmations before each push and a GitHub release.

    18k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • D2mcpp Authoring

    mcpp-community/d2mcpp

    Authoring conventions, design principles, and file formats for the d2mcpp (D2X) Modern C++ tutorial project.

    1.8k GitHub stars~2.7k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…

    6.3k GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Skia Analyst

    mono/SkiaSharp

    Analyze Skia features for SkiaSharp - produces a unified analysis of what shipped (upstream engine benefits, PR links, migration guides) and what's missing (impact/priority/effort scoring, hidden…

    5.6k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed

More from pigweed-project/pigweed

  • Oncall

    pigweed-project/pigweed

    Pigweed oncall rotation runbooks and maintenance workflows (such as rolling CIPD client tools for b/315378787).

    548 GitHub stars~992 tokensUpdated today
    Auto-check passed
  • Run Presubmit Checks

    pigweed-project/pigweed

    Run presubmit checks on each commit in a stack, automatically fixing any issues.

    548 GitHub stars~981 tokensUpdated today
    Auto-check passed
  • Ghish

    pigweed-project/pigweed

    Use the ./gh CLI (gh-ish) for all Gerrit code reviews (CLs, pwrev), LUCI Buildbucket CI checks and tryjobs, Buganizer issues (b/, pwbug.dev), and pushing changes using GitHub CLI syntax.

    548 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Saleae Analyzer

    pigweed-project/pigweed

    Expert in using a Saleae logic analyzer to test or debug embedded systems by analyzing bus protocols like I2C, SPI, and UART.

    548 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Docs

What does Docs do?

A skill your agent uses for ALL documentation-related workflows: rst style guide, changelog updates, C/C++ API reference (Doxygen). Docs is an agent skill from pigweed-project/pigweed.

When should I use Docs?

Docs fits situations like: ALL documentation-related workflows: rst style guide; changelog updates; C/C++ API reference (Doxygen).

How do I install Docs in Claude Code?

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

How do I install Docs in Codex?

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

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

What does Docs need to run?

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

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

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

About 804 tokens (SKILL.md is roughly 3.2k 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?

Skills that share tags, products or a category with Docs: pybind11 Release Preparation (pybind/pybind11, 18k stars), pybind11 Release Publication (pybind/pybind11, 18k stars), D2mcpp Authoring (mcpp-community/d2mcpp, 1.8k stars) and Swig Conventions (swig/swig, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs?

pigweed-project (a GitHub organization) maintains it in pigweed-project/pigweed, which has 548 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.

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