원클릭으로
원클릭으로
| name | update-docs |
| description | Update CLI documentation pages to match source code changes |
Update documentation pages in the pipecat-ai/docs repository to reflect source code changes in pipecat-cli. Analyzes the diff, maps changed source files to their corresponding doc pages, and makes targeted edits.
Identify changed files from the PR diff. Filter to files that could affect documentation:
src/pipecat_cli/commands/** (CLI command definitions)src/pipecat_cli/registry/service_metadata.py (service definitions)src/pipecat_cli/prompts/** (interactive prompt flow)src/pipecat_cli/generators/** (project generation logic)src/pipecat_cli/templates/** (Jinja2 project templates)src/pipecat_cli/config_validator.py (non-interactive config validation)src/pipecat_cli/main.py (top-level CLI app and global options)Ignore files on the skip list: __init__.py, registry/_configs.py, registry/_imports.py, registry/service_loader.py.
Read the mapping file at .claude/skills/update-docs/SOURCE_DOC_MAPPING.md. Use the direct mapping table to find which doc page each changed source file corresponds to.
For each mapped pair:
Identify what changed by category:
commands/init.py or main.py): Look for new typer.Option() calls, removed parameters, changed defaults or help textservice_metadata.py): New services added, services removed, renamed enum values, new categories, changed pip extrasprompts/questions.py): New prompts added, prompts removed, changed prompt text or choicesconfig_validator.py): New validation rules, changed error messages, new accepted config keysgenerators/project.py or templates/): New files generated, changed file contents, new template variablesFor each doc page that needs updates, edit only the sections that need changes. Preserve all other content exactly as-is.
Options (<ParamField> entries):
Examples (CLI usage examples):
"Discover Available Options" JSON:
service_metadata.py changed (services added/removed/renamed), update the sample --list-options JSON output to reflect the current service list"Generated Project Structure" (file tree diagram):
generators/project.py changed the set of generated files, update the tree diagramInteractive Setup (bullet list of prompts):
prompts/questions.py changed the prompt flow, update the bullet list describing the interactive setup stepsNon-interactive / Config file sections:
config_validator.py or commands/init.py changed accepted config keys or flag names, update the config file example and flag referenceAfter completing reference doc edits, check if any guides need updates.
For each changed source file, collect changed flag names, service names, and config keys from the diff. Search the guides directory:
grep -rl "flag_name\|service_name" DOCS_PATH/guides/
For each guide that references changed CLI content:
After all edits are complete, print a summary:
## Documentation Updates
### Updated reference pages
- `api-reference/cli/init.mdx` -- Updated Options (added `--new-flag`), updated service list in examples
### Updated guides
- `guides/features/some-guide.mdx` -- Updated CLI example (renamed `--old-flag` to `--new-flag`)
### Skipped files
- `src/pipecat_cli/registry/_configs.py` -- auto-generated
Before finishing, verify: