# Documentation

> Update code2prompt documentation when public behavior or architecture changes.

- Skill: `mufeedvh/documentation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mufeedvh/documentation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mufeedvh/documentation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: mufeedvh (https://skillmd.com/u/mufeedvh)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/mufeedvh/documentation

---


# Documentation

Update docs when a change affects public APIs, CLI flags/defaults/output, configuration,
template variables, feature flags, installation, or user workflows.

- Use `//!` for module purpose and boundaries.
- Use `///` for useful public API semantics, errors, or examples.
- Use inline comments only for non-obvious intent, constraints, or tradeoffs.
- Keep the root README, Python README, and website examples consistent with their surface.
- Update localized pages when in scope; otherwise report which copies may be stale.

Do not add comments that merely restate the code.

For changed CLI documentation, compare against:

```bash
cargo run --quiet -- --help
```

Run the relevant verification skill after documentation-sensitive changes.

