Dokumentation
Auf dieser Seite
  1. Optional CLI Guide Router
  2. Read Path
  3. Documentation Map
  4. Guide Topic Map
  5. Agent Routing Rules
  6. Tracker References
  7. Public Boundary
  8. Maintenance Checklist

pm-cli Documentation

This directory is the public documentation home for pm-cli. It is organized for progressive disclosure: read the smallest page that answers the current question, then follow links only when more detail is needed.

Optional CLI Guide Router

pm guide is provided by the optional guide-shell package. Install it when local in-CLI documentation routing is useful:

pm package install guide-shell --project
pm guide
pm guide quickstart
pm guide commands --depth standard
pm guide sdk --depth deep --format markdown
pm guide release --json

Read Path

Reader First page Then read
New user Quickstart Command Reference
New maintainer Onboarding Agent Guide, Testing, Releasing
Coding agent Agent Guide Configuration, then command help
Maintainer Contributing Testing, Releasing, Architecture
Package author Packages and Extensions SDK, starter extension
Codex or ChatGPT plugin implementer Codex Plugin Native ChatGPT and Codex Plugin Implementation Plan
Codex user Codex Plugin Agent Guide, then Command Reference
Claude Code user Claude Code Plugin Agent Guide, then Command Reference
Machine client pm contracts --json CLI Scripting Contract, Command Reference, optionally pm install guide-shell --project && pm guide commands

Documentation Map

Additional SDK, operations, and generated contracts:

Guide Topic Map

Optional pm guide topic Primary docs
quickstart Quickstart, Command Reference
commands Command Reference, Configuration
workflows Agent Guide, Testing
sdk SDK, SDK context contracts, Architecture
extensions, packages Packages and Extensions, starter extension
skills Agent Guide plus .agents/skills/*
harnesses Agent Guide plus .agents/skills/HARNESS_COMPATIBILITY.md
release Releasing, CHANGELOG

Community files:

Agent Routing Rules

  1. Start with Agent Guide for workflow rules.
  2. Use Command Reference for command families, not exhaustive flag memory.
  3. Use pm <command> --help --json or pm contracts --command <name> --flags-only --json for exact flags.
  4. Use Architecture only when changing internals or debugging behavior.
  5. Use SDK and Packages and Extensions only when authoring or troubleshooting packages/extensions.

Tracker References

Current documentation structure work is tracked through:

Legacy documentation baseline references (closed):

When changing docs, link files back to the active item:

pm docs <item-id> --add path=docs/README.md,note="documentation index"
pm comments <item-id> "Docs updated; links and build verified."

Public Boundary

Public docs must not link to ignored local operations artifacts, unpublished evidence logs, credentials, host-specific runbooks, or private service details. Keep those materials local and out of packaged releases.

Maintenance Checklist

  • Keep links relative and GitHub-compatible.
  • Keep README short; move detail into focused pages.
  • Put a short "Agent Quick Context" near the top of deep docs.
  • Prefer commands that agents can copy exactly.
  • Use pm item IDs as durable references when docs explain tracked work.
  • Run pnpm quality:docs-links before closing documentation tasks. Every Markdown page under docs/ must be reachable transitively from this index, and links to heading fragments must resolve. Fenced examples do not create navigation edges.
  • A deliberately standalone page requires an individual path and nonempty reason in scripts/release/docs-reachability-exceptions.json; stale exceptions fail. This policy is tracked by pm-s4y3z4 and pm-esbt.

Aus docs/README.md in pm 2026.9.28. Auf GitHub ansehen