Agent skill

Public Docs Maintenance

by compartmentdev in 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.

Apache-2.0Auto-check passedFrontend & Design

Install Public Docs Maintenance

skills CLI
$ npx skills add compartmentdev/compartment --skill public-docs-maintenance -a claude-code

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

GitHub CLI
$ gh skill install compartmentdev/compartment public-docs-maintenance --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/compartmentdev/compartment.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/public-docs-maintenance .claude/skills/public-docs-maintenance && 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
public-docs-maintenance
GitHub stars
205
Token cost
~1.3k tokens
SKILL.md length
631 words
Files
2
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

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.

  • Works in 8 steps: Identify whether the change materially… → Decide whether the source belongs in… → Regenerate reference output first when… → …
  • Tasks that involve Static sites and blogs
  • SKILL.md covers Source of truth, Public docs intent, Docs threshold and What to include, plus 2 more sections
  • Calls pnpm

What it does

Public Docs Maintenance is an agent skill from 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.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design, covering Static sites and blogs. The repository describes itself as: Compartment is a self-hosted deployment system for small software on infrastructure your team controls. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Static sites and blogs

Example prompts

  • “/public-docs-maintenance”

Workflow steps

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

  1. Identify whether the change materially affects workflows, public contracts, generated reference inputs, or operator decisions. Otherwise…
  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.

What it can do on your machine

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

    • pnpm

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm, 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

Public Docs Maintenance loads about 1.3k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 631 words of instructions outside code blocks.

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

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 compartmentdev/compartment at commit 15373e7, republished under its Apache-2.0 licence (© compartmentdev). 631 words, ~1,266 tokens.

Download SKILL.mdSave it as .claude/skills/public-docs-maintenance/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
public-docs-maintenance
description
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.

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

  • AGENTS.md
  • public-docs/
  • scripts/docs/public-docs/public-docs-map.mjs
  • generated reference inputs from packages/cli/src/commands/** and packages/contracts/src/contracts/**
  • current-state engineering docs under docs/ only as implementation context, not as publishable copy

Public docs intent

  • The public site is for Compartment users and operators, not repo contributors.
  • Public docs explain commands, configuration choices, externally visible behavior, limits, and user responsibilities.
  • Engineering docs, architecture docs, runtime topology, proposal specs, and review follow-ups stay outside the public site.

Docs threshold

  • Do not document every user-visible change.
  • Update public docs only when users must change what they do, understand a public contract, make a configuration/security/compatibility decision, or account for externally visible lifecycle behavior.
  • Public contract and generated-reference inputs still count; regenerate reference without adding prose when that is enough.
  • Example: a checkbox default changing does not need a docs paragraph unless it changes setup steps, permissions, security, compatibility, or another operator decision.

What to include

  • Style preferences:
    • write directly and concretely;
    • use active voice and second person when it helps;
    • prefer current commands, current file names, and observable outcomes over implementation mechanics;
    • avoid hype, filler, and generic “why this matters” padding.
  • Code standards:
    • prefer real compartment CLI commands;
    • prefer minimal valid YAML for compartment.yml and compartment.routes.yml;
    • do not use foo, bar, or placeholder hostnames when a concrete example is clearer.
  • Content requirements:
    • guides should usually include purpose, main steps, important constraints, externally visible automation, and next steps;
    • major shipped features usually need an updated overview plus at least one task guide;
    • generated reference or a small overview edit is not enough when users need a new workflow, public concept, or mental model;
    • reference pages should stay generated when the source is deterministic;
    • for curated docs pages, the last URL path segment should match the page title in a predictable normalized form;
    • CLI reference pages are the exception: when the title would create duplicate last path segments, add the smallest useful unique path part instead of forcing identical slugs;
    • do not duplicate generated reference content in long hand-written pages when a short explanation plus a reference link is enough;
    • describe background behavior by its user-visible effect, schedule, retention, expiry, limits, or required action; do not describe libraries, queues, database tables, process boundaries, or service topology unless those details change an installation or incident-response decision.
  • Product context:
    • Compartment is CLI-first;
    • installs, orgs, projects, environments, services, deployments, domains, variables, and access are the canonical public nouns;
    • internal docs under docs/specs/* may mix shipped decisions and future proposals; do not describe behavior as shipped unless current code or existing public docs confirm it.
Show full SKILL.md (190 more words)Show less

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

  • Do not publish docs/layers/**, docs/specs/**, or review-follow-ups.md through the public site.
  • Do not expose internal-only routes, internal tokens, or engineering-only runtime mechanisms. Publish only the observable behavior, configuration knobs, commands, limits, failure modes, and responsibilities that users need.
  • Do not claim behavior is available unless it is shipped in the current codebase.
  • Do not hand-edit files under public-docs/src/content/docs/reference/generated/ when the underlying generator should own them.

© compartmentdev, 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 1 other file in .codex/skills/public-docs-maintenance of compartmentdev/compartment.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 15373e7

Compare with similar skills

Public Docs Maintenance 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.

Public Docs Maintenance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Public Docs Maintenance this skillcompartmentdev/compartment205—~1.3kAutomated safety check: PassApache-2.0
Paperclip Pagepaperclipai/paperclip98k—~1kAutomated safety check: PassMIT
Pinmeglitternetwork/pinme3.7k—~3.8kAutomated safety check: NotesMIT
Sanity Best Practicesrobotostudio/turbo-start-sanity182—~940Automated safety check: PassMIT
Portable Text Serializationsanity-io/agent-toolkit1871 repos~1.1kAutomated safety check: PassMIT
QA Handoffjoshukraine/dotfiles429—~4.1kAutomated safety check: PassMIT

Similar skills

  • Paperclip Page

    paperclipai/paperclip

    Publish static HTML pages and asset folders to the Paperclip S3/CloudFront page host.

    98k GitHub stars~1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Pinme

    glitternetwork/pinme

    A skill your agent uses when the user mentions "pinme", or needs to upload files, store to IPFS, create/publish/deploy websites or full-stack services (including frontend pages, backend APIs…

    3.7k GitHub stars~3.8k tokensUpdated 25 days ago
    Frontend & DesignAuto-check: notes
  • Sanity Best Practices

    robotostudio/turbo-start-sanity

    Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, Blueprints, and…

    182 GitHub stars~940 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Portable Text Serialization

    sanity-io/agent-toolkit

    Official

    Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text.

    187 GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • QA Handoff

    joshukraine/dotfiles

    Generate a hands-on QA testing guide as a self-contained HTML page — for Rails apps or static (Hugo) sites.

    429 GitHub stars~4.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Vue Nuxt

    ericrisco/rsc-harness

    A skill your agent uses when building or reviewing a Vue 3 + Nuxt 4 app — <script setup reactivity, SSR/SSG/hybrid routeRules, the app/+server/ layout, SSR-safe fetching (useFetch/useAsyncData) and…

    156 GitHub stars~4.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from compartmentdev/compartment

All 12 skills in this repo
  • Audit Type Ownership

    compartmentdev/compartment

    Audit type ownership and boundary placement in the compartment repo: misplaced or duplicated types, query/service leaks, root export surface, and phased move plans.

    205 GitHub stars~745 tokensUpdated 1 mo ago
    Auto-check passed
  • Open PR And Monitor

    compartmentdev/compartment

    Open or reuse a repo PR and monitor it with a five-minute Codex heartbeat until it is ready, terminal, or blocked.

    205 GitHub stars~470 tokensUpdated 1 mo ago
    Auto-check passed
  • Review A Change

    compartmentdev/compartment

    A skill your agent uses when the user invokes $review-a-change or asks for a compartment repo code review; always use the delegated subagent review path by splitting review into separate parallel…

    205 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Review Reuse And Dedup

    compartmentdev/compartment

    A skill your agent uses when reviewing compartment repo changes for existing helper reuse, extractable pure utilities, duplicated logic, repeated constants, hardcoded values, or repeated variable…

    205 GitHub stars~753 tokensUpdated 1 mo ago
    Auto-check passed
  • Compartment Smoke Test

    compartmentdev/compartment

    Run or delegate a browser-first smoke test of the local compartment through browser-use as a real user: boot or reuse the local stack, install or log in, deploy the repo smoke fixtures, verify CLI…

    205 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Develop A Feature

    compartmentdev/compartment

    Implement repo changes by starting with preflight feature review, then editing the smallest owning surface on one canonical path and running only diff-triggered checks.

    205 GitHub stars~554 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Public Docs Maintenance

What does Public Docs Maintenance do?

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. Public Docs Maintenance is an agent skill from 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.

When should I use Public Docs Maintenance?

Public Docs Maintenance fits situations like: tasks that involve Static sites and blogs.

How do I install Public Docs Maintenance in Claude Code?

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

How do I install Public Docs Maintenance in Codex?

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

Can I use Public Docs Maintenance 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 compartmentdev/compartment --skill public-docs-maintenance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/public-docs-maintenance, .gemini/skills/public-docs-maintenance, .github/skills/public-docs-maintenance and .opencode/skills/public-docs-maintenance in your project.

What does Public Docs Maintenance need to run?

Going by SKILL.md and its folder, Public Docs Maintenance needs the command-line tools its instructions call (pnpm).

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

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

About 1.3k tokens (SKILL.md is roughly 5.1k 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 Public Docs Maintenance?

Skills that share tags, products or a category with Public Docs Maintenance: Paperclip Page (paperclipai/paperclip, 98k stars), Pinme (glitternetwork/pinme, 3.7k stars), Sanity Best Practices (robotostudio/turbo-start-sanity, 182 stars) and Portable Text Serialization (sanity-io/agent-toolkit, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Public Docs Maintenance?

compartmentdev (a GitHub organization) maintains it in compartmentdev/compartment, which has 205 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on August 20, 2026.

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