agentsclimarketplace

Ghdoc

Skill wlame/mkdocs-skill/skills/ghdoc

This skill should be used when the user asks to "add documentation", "set up docs", "create a docs site", "add mkdocs", "generate github pages docs", "scaffold documentation", "update the docs", "refresh documentation", "audit docs", "check docs compliance", or mentions wanting MkDocs, ProperDocs, Material theme, or unified documentation. Provides the organization documentation standard, unified page structure, color schemes, page templates, audit checklist, and maintenance procedures for generating and maintaining documentation sites.From its SKILL.md

Install
npx -y skills add wlame/mkdocs-skill --skill ghdoc

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

10.0 KB, as published. Nobody here has run it

ghdoc — Organization Documentation Standard

This skill encodes the organization-wide documentation standard for MkDocs + Material for MkDocs sites deployed to GitHub Pages. Use it when generating, reviewing, or modifying documentation sites.

Quick Reference

Stack: MkDocs 1.6.x + Material for MkDocs 9.7.x + curated plugins Theme: Material with light/dark toggle (auto-detected from OS preference) Fonts: Inter (text) + JetBrains Mono (code) Build: mkdocs build --strict in CI — zero warnings allowed Deploy: GitHub Pages via actions/deploy-pages (unversioned) or mike + gh-pages branch (versioned)

Engines

The site generator is a parameter, not a hardcoded choice. All generated files (config, requirements, workflow, just recipes) take their package, CLI, and theme names from this table:

Enginepip packagesCLI binaryConfig fileTheme nameStatus
mkdocs (default)mkdocs + mkdocs-materialmkdocsmkdocs.ymlmaterialOrg baseline — pinned, proven
properdocsproperdocs + mkdocs-materialxproperdocsproperdocs.ymlmaterialxOpt-in — drop-in MkDocs fork; mike versioning unverified

ProperDocs is the community continuation fork of MkDocs (March 2026, led by the former top MkDocs maintainer) and MaterialX the matching continuation of the Material theme. Config files and plugins are compatible; switching engines later is a name swap, not a migration. See the "Engines and succession" section of references/mkdocs-standard.md for the full context and migration triggers.

State Marker

Every generated site config carries a machine-readable marker as the first line of mkdocs.yml (or properdocs.yml), recording the choices made at generation time so that re-runs, audits, and updates are deterministic:

# ghdoc: version=<skill version> engine=<engine> color-scheme=<scheme> versioned=<yes|no> updated=<YYYY-MM-DD>

Rules:

  • written by /ghdoc at generation, refreshed (version + updated date) by /ghdoc-update;
  • parsed with a line match on ^# ghdoc: — space-separated key=value pairs, no other format;
  • commands read it to recover prior choices instead of re-asking the user;
  • a repo whose config has no marker predates the marker or wasn't generated by ghdoc — audits report this as a warning, and /ghdoc-update offers to infer the values and stamp it.

Unified Page Structure

Every repository's docs must contain these sections (adapt to what applies). This table is the single source of truth for which pages exist and when — commands and agents decide inclusion from the "When" column, not from their own lists:

PagePurposeWhen
index.mdTagline, key features, quick-start snippet, nav linksAlways
about.mdPurpose, design goals, why it exists, alternatives comparisonAlways
getting-started.mdZero-to-working in < 10 minutesAlways
use-cases/2–5 real-world scenarios with full walkthroughs (index.md + one page per scenario)Always
concepts/architecture.mdSystem components, responsibilities, Mermaid diagramIf more than 2 components
concepts/data-flow.mdHow data moves through the system, sequence diagramsIf data flow is non-trivial
reference/cli.mdEvery command, subcommand, flag, with examplesIf CLI tool; split into reference/cli/<command>.md when > 6 top-level commands
reference/api.mdEvery endpoint: method, path, request/response, authIf REST API; split per-resource when > 10 endpoints
reference/configuration.mdEvery config key: type, default, env var, exampleIf more than 5 config keys
reference/api-reference.mdGenerated from docstrings via mkdocstringsIf Python package with public API
operations/deployment.mdInstall, Docker, k8s, production checklistIf deployable
operations/monitoring.mdMetrics, logs, health checks, alertsIf observable
faq.mdReal questions with clear answersOnly if real questions exist (GitHub issues/discussions, support history, or user-provided) — never invent questions
troubleshooting.mdError messages verbatim + fix stepsIf real error messages/failure modes were found in source or issues
changelog.mdVersion history (import from CHANGELOG.md if it exists)Always
contributing.mdHow to contribute, dev setup, PR processAlways

Page Content Requirements

index.md

  • Tagline in H1 (one sentence: what it does and for whom)
  • 2-paragraph purpose (problem it solves, how it solves it)
  • Feature grid or bullet list (4–8 key features)
  • Quick-install snippet in a code block
  • Nav cards or links to key sections

about.md

  • Detailed project purpose (not a repeat of README)
  • Design philosophy (key trade-offs made)
  • Comparison table vs. alternatives (if relevant)
  • Known limitations
  • Project status and roadmap (if public)

getting-started.md

  • Prerequisites checklist
  • Install steps (tabbed by method: pip, docker, binary, etc.)
  • Minimal working example (< 20 lines of real code)
  • Expected output with a code block
  • Link to next steps

use-cases/*.md (one page per scenario)

  • Scenario description (who is doing what, why)
  • Full working example with realistic data
  • Step-by-step walkthrough
  • What to expect (output, side effects)
  • Common variations
  • Link to relevant reference pages

reference/cli.md

  • One H2 per top-level command
  • Syntax line: command subcommand [flags]
  • Table of flags: flag, type, default, description
  • Collapsible examples block (??? details) for each command
  • Exit codes if non-standard

reference/api.md

  • One H2 per resource/group
  • For each endpoint: METHOD /path as H3, description, auth requirements
  • Request: headers, query params, body schema as code block
  • Response: status codes, body schema, example response
  • Tabbed examples (curl, Python, Go, etc.)

reference/configuration.md

  • Table per config section: key, type, default, env var, description
  • Full example config file in a code block
  • Notes on precedence (file vs. env vars vs. CLI flags)

Baseline Plugin Set

Load references/mkdocs-standard.md for the full pinned configuration.

Baseline (every repo):

search, tags, privacy, git-revision-date-localized, git-authors, redirects, glightbox

Add if Python package: mkdocstrings, mkdocstrings-python, autorefs Add if versioned releases: mike

Color Scheme Options

See references/color-schemes.md for full palette configurations.

NamePrimaryAccentPersonality
indigo (default)indigoblueProfessional, trustworthy
tealtealcyanModern, clean, technical
blue-greyblue-greyblueMuted, sophisticated
deep-purpledeep purplepurpleCreative, bold
orangeorangeamberEnergetic, open-source

Mermaid Diagram Standards

Use flowchart TD for architecture overviews:

flowchart TD
    A[Input] --> B[Component]
    B --> C{Decision}
    C -->|yes| D[Output A]
    C -->|no| E[Output B]

Use sequenceDiagram for data flow:

sequenceDiagram
    participant Client
    participant API
    participant DB
    Client->>API: POST /resource
    API->>DB: INSERT
    DB-->>API: id
    API-->>Client: 201 Created

Content Writing Rules

These rules are the single source of truth for page content quality — content agents read this section directly rather than receiving paraphrased copies:

  • Every code example must be copy-pasteable with real command/function names from the source.
  • CLI flags must be verbatim from source code — never invented.
  • Config keys must match actual config schemas exactly.
  • Mark unknown content as <!-- TODO: add <description> --> — never invent facts.
  • Use !!! tip for non-obvious best practices and !!! warning for known gotchas — only where a genuine one exists. Never manufacture a tip or warning to decorate a page; a fabricated admonition is worse than none.
  • Use !!! note for important context that isn't a warning.
  • Use ??? (collapsible) for exhaustive parameter lists — show the 3 most common inline.
  • Use tabbed content for OS-specific or method-specific variants.
  • Add a ## Related pages section at the bottom linking to 2–4 related pages.
  • FAQ and troubleshooting entries must come from real sources (issues, discussions, error strings in code, user input) — an invented "frequently asked question" is a fact fabrication.

Additional Resources

  • references/mkdocs-standard.md — full organization standard: rationale, governance, engines-and-succession narrative
  • references/unified-structure.md — detailed content spec for each page type
  • references/color-schemes.md — full Material palette configurations for each color scheme
  • references/page-templates.md — ready-to-fill markdown templates for every page type
  • references/repo-analysis.md — shared repository-analysis procedure (used by /ghdoc and /ghdoc-update)
  • references/fact-check.md — procedure for verifying documented claims against source
  • references/audit-checklist.md — the compliance checks behind /ghdoc-audit
  • examples/mkdocs.yml — complete config template with all options (canonical feature flags)
  • examples/requirements-docs.txt — canonical pinned dependency list
  • examples/docs-workflow.yml — CI workflow, unversioned docs (Pages artifact deploy)
  • examples/docs-versioned-workflow.yml — CI workflow, versioned docs (mike + gh-pages branch)

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.