Public docs maintenance

From compartmentdev/compartment · View interactive version

Public docs maintenance is an AI agent skill from the GitHub repository compartmentdev/compartment. Maintain the public Starlight docs site for material changes to shipped Compartment workflows, using generated reference where possible and concise task- and decision-focused guides elsewhere.

How to use this skill

Skill file

Public Docs Maintenance

Use this skill when work touches public-docs/ or materially changes shipped user workflows, public contracts, or operator decisions.

Source of truth

Public docs intent

Docs threshold

What to include

Workflow

  1. Identify whether the change materially affects workflows, public contracts, generated reference inputs, or operator decisions. Otherwise, leave public docs alone.
  2. Decide whether the source belongs in generated reference, curated guides, or both.
  3. Regenerate reference output first when the source is deterministic.
  4. Update the smallest correct curated pages next.
  5. Keep public pages short, task-shaped, and focused on user actions or operator decisions.
  6. Link from guides to generated reference instead of repeating long option inventories.
  7. If a page title or URL changes, search the public docs for references to the old title or path and update them.
  8. Before finishing, run pnpm docs:generate when generated reference is in scope and pnpm docs:check before handing off a public-docs change.

Guardrails

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.