Tooluck logoTooluck
SKILL.md

skillshare-update-docs

Agent skill fromrunkids/skillshare

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.

How to install skillshare-update-docs

install skillshare-update-docs
# install the skillshare pack with the skills CLI
npx skills add runkids/skillshare

# or add only this skill to Claude Code: copy the folder

.skillshare/skills/skillshare-update-docs/

# into

~/.claude/skills/skillshare-update-docs/ (all projects)

.claude/skills/skillshare-update-docs/ (one project)

.skillshare/skills/skillshare-update-docs/SKILL.md

MITFull file
1Sync 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`.
2
3**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`).
4
5Before 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.
6
7## Workflow
8
9### Step 1: Detect Changes
10
11```bash
12# Auto-detect recently changed code
13git diff HEAD~1 --stat -- cmd/skillshare/ internal/
14
15# Also check for structural changes that affect concept/reference docs
16git diff HEAD~1 --stat -- internal/config/targets.yaml internal/audit/rules.yaml
17```
18
19Map changed files to affected documentation using this guide:
20
21**Command docs** (`website/docs/reference/commands/`):
22- `cmd/skillshare/<cmd>.go` → `website/docs/reference/commands/<cmd>.md`
23- Flag changes, new subcommands, output format changes
24
25**Concept docs** (`website/docs/understand/`):
26- `internal/audit/` → `understand/audit-engine.md`
27- `internal/sync/` → `understand/sync-modes.md`, `understand/source-and-targets.md`
28- `internal/install/tracked.go` → `understand/tracked-repositories.md`
29- `internal/config/` → `understand/declarative-manifest.md`
30…

Excerpt shown under the repository's MIT license.

More skills in skillshare

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates