Skip to content
Development
Skill

/build-workspace-docs

Use when regenerating README.md and WORK_AREAS.md in a managed library workspace. Always dry-run first to preview changes.

From plugin
moizibnyousaf-ai-agent-skills
1.1k17 skills3 agents
Install
$ npx -y skills add MoizIbnYousaf/Ai-Agent-Skills --skill build-workspace-docs --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/build-workspace-docs

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when regenerating README.md and WORK_AREAS.md in a managed library workspace. Always dry-run first to preview changes.

SKILL.md

build-workspace-docs.SKILL.md
name: build-workspace-docs
description: Use when regenerating README.md and WORK_AREAS.md in a managed library workspace. Always dry-run first to preview changes.
category: workflow
version: 4.1.0

Build Workspace Docs

Goal

Keep workspace documentation in sync with the skills catalog after adding, removing, or curating skills.

Guardrails

  • Always use `--dry-run` before regenerating docs to preview what will change.
  • Only run from inside an initialized library workspace (a directory with `.ai-agent-skills/config.json`).
  • Never hand-edit the generated sections of README.md or WORK_AREAS.md. The CLI will overwrite them.
  • Use `--format json` to capture structured results for automation pipelines.

Workflow

1. Preview what would change.

npx ai-agent-skills build-docs --dry-run

2. Regenerate the docs.

npx ai-agent-skills build-docs

3. Verify the output.

npx ai-agent-skills build-docs --dry-run --format json

The JSON output includes `currentlyInSync` to tell you whether docs were already up to date.

When to Run

  • After `add`, `catalog`, `vendor`, or `curate` commands that change the skills catalog.
  • After bulk imports from a remote library.
  • Before committing workspace changes to git.

Gotchas

  • Running outside a workspace will fail with a clear error. Use `init-library` to create one first.
  • The generated docs use HTML comment markers (`<!-- GENERATED:...:start/end -->`) as boundaries. Do not remove these markers from the template sections.
Read more
Ships withmoizibnyousaf-ai-agent-skills

Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills

Get the whole plugin