Update website docs to match recent code changes, cross-validating every flag against source. Use this skill whenever the user asks to: update documentation, sync docs with code, document a new flag or command, fix stale docs, or update the README. This skill covers all website/docs/ categories (commands, reference, understand, how-to, troubleshooting, getting-started) plus the built-in skill description and README. If you just implemented a feature and need to update docs, this is the skill to use. Never manually edit website docs without cross-validating flags against Go source first.
Sync website documentation with recent code changes. $ARGUMENTS specifies scope: a command name (e.g., install), commit range, or omit to auto-detect from git diff HEAD~1.
Scope: This skill updates website/docs/, the built-in skill (skills/skillshare/), and README.md. It does NOT write Go code (use implement-feature) or CHANGELOG (use changelog).
Before acting, run python3 scripts/ai-context.py documentation. That topic is the source of truth for documentation ownership, code cross-validation and verification; this skill retains the update workflow.
# Auto-detect recently changed code
git diff HEAD~1 --stat -- cmd/skillshare/ internal/
# Also check for structural changes that affect concept/reference docs
git diff HEAD~1 --stat -- internal/config/targets.yaml internal/audit/rules.yamlMap changed files to affected documentation using this guide:
Command docs (website/docs/reference/commands/):
cmd/skillshare/<cmd>.go → website/docs/reference/commands/<cmd>.mdConcept docs (website/docs/understand/):
internal/audit/ → understand/audit-engine.mdinternal/sync/ → understand/sync-modes.md, understand/source-and-targets.mdinternal/install/tracked.go → understand/tracked-repositories.mdinternal/config/ → understand/declarative-manifest.md.skillshare/ project config changes → understand/project-skills.mdskills/skillshare/SKILL.md format → understand/skill-format.mdReference docs (website/docs/reference/):
internal/config/targets.yaml → reference/targets/internal/audit/rules.yaml → reference/commands/audit-rules.mdreference/appendix/ for CLI quick-reference tablesHow-to guides (website/docs/how-to/):
how-to/daily-tasks/, how-to/advanced/, how-to/recipes/how-to/sharing/Troubleshooting (website/docs/troubleshooting/):
troubleshooting/common-errors.mdtroubleshooting/faq.mdGetting started (website/docs/getting-started/):
getting-started/first-sync.mdgetting-started/quick-reference.mdLearn (website/docs/learn/):
learn/with-<tool>.mdFor each affected command:
Read the Go source to extract actual flags and behavior. Commands parse arguments by hand, so flags appear as string literals ("--force") in the parse function of cmd/skillshare/<cmd>.go; ss <cmd> --help inside the devcontainer lists them too.
Read the corresponding doc page:
website/docs/reference/commands/<cmd>.mdCompare and fix:
--flag in docs must appear as a string literal in the command's sourceApply changes following existing doc conventions:
If changes affect user-visible CLI behavior:
skills/skillshare/SKILL.mdReview README.md for sections that may need updates:
docker exec "$CONTAINER" bash -c 'cd /workspace/website && pnpm run build'Confirm no broken links or build errors.
List all changes made with rationale:
== Documentation Updates ==
Modified:
website/docs/reference/commands/install.md
- Added --into flag documentation
- Updated install examples
skills/skillshare/SKILL.md
- Added --into to feature list (desc: 987/1024 chars)
Build: PASS (no broken links)Apply the documentation topic. Keep this adapter scoped to documentation; use the implementation or release workflows for other changes.
7043ca3
Also appears in
last in sync Sep 14, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.