Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 69% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 1% | 0% |
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).
bash# 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.yaml
Map 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:
bash grep -n 'flag\.\|Usage\|Args' cmd/skillshare/<cmd>.go
website/docs/commands/<cmd>.md
--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:
bashcd website && npm run build
Confirm 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.mdOther measured skills in the registry, with their headline benchmark lift.