Guide

Install the agent skills

Install both repository-aware skills so an agent can publish existing documentation now and still generate missing coverage from source when needed.

Install the skills

Install DocsPress skills bash
npx skills add Automattic/docspress --all --full-depth
npx skills list

The CLI discovers both nested skills, installs them for the supported project agents, and records the source in skills-lock.json. Commit the generated skill files and lock file with the repository so future agents receive the same repeatable contract instead of a one-time prompt hidden in chat history.

Ask the agent to inspect first

Prompt Coding agent Code Thinking
Use $docspress-install for this repository. Inspect the current docs tree and workflows before changing anything. Reuse existing Markdown. If no usable docs exist, invoke $generate-docs-from-source. Prepare a manual draft dry run and report every external action that still needs approval.
$docspress-install $generate-docs-from-source @repository skills-lock.json docs/ .github/workflows/
Installation prompt for a repository-aware coding agent.

The skills instruct the agent to preserve unrelated worktree changes, derive claims from code and tests, use the DocsPress Gutenberg blocks correctly, avoid plaintext credentials, and stage WordPress writes behind explicit approvals.

Verify the installation

Confirm the project installation through the same CLI:

Verify DocsPress skills bash
npx skills list
Success
The repository can teach the agent

The next agent can discover the same installation, authoring, validation, and safety workflow from versioned files.

2 skills installed