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.
96
96%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
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 only updates website/docs/. It does NOT write Go code (use implement-feature) or CHANGELOG (use changelog).
# 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:
grep -n 'flag\.\|Usage\|Args' cmd/skillshare/<cmd>.goRead the corresponding doc page:
website/docs/commands/<cmd>.mdCompare and fix:
--flag in docs must have a matching grep hit in 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:
cd website && npm run buildConfirm no broken links or build errors.
List all changes made with rationale:
== Documentation Updates ==
Modified:
website/docs/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)website/docs/, skills/skillshare/SKILL.md, and README.md053ecb4
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.