Docs

From pigweed-project/pigweed · View interactive version

Docs is an AI agent skill from the GitHub repository pigweed-project/pigweed. Use for ALL documentation-related workflows: rst style guide, module metadata and categories, changelog updates, C/C++ API reference (Doxygen)

How to use this skill

Skill file

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:

with the design.

  1. Run ALL workflows that are relevant to the user's main goal.

Workflows

Each of the sections below represents a workflow. Summary:

(//<module>/module.toml and //docs/common/metadata/categories.toml).

All workflows follow this pattern:

represent example prompts.

rst

Triggers:

and has asked for help getting it ready to publish.

RST files

Guards:

is likely to change a lot, unless required as a completion step by a workflow.

reST that's unrelated to the main goal.

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

metadata

Triggers:

Guards:

metadata or categories in //<module>/module.toml or

//docs/common/metadata/categories.toml.

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

changelog

Triggers:

Guards:

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

doxygen

Triggers:

@endsubmodule annotations

Guards:

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

security

Triggers:

Guards:

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

bulletin

Triggers:

Guards:

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.