From 7c533f20122083a11ebecd1211ce342aa7569b23 Mon Sep 17 00:00:00 2001 From: Willie Date: Tue, 17 Mar 2026 23:47:40 +0800 Subject: [PATCH] docs: update sync and doctor pages for .skillignore visibility - sync: add ignored_count/ignored_skills to JSON example, note about .skillignore filtering - doctor: add Skillignore to environment checks table, update example output with skillignore line and visual spacing --- website/docs/reference/commands/doctor.md | 6 ++++++ website/docs/reference/commands/sync.md | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/website/docs/reference/commands/doctor.md b/website/docs/reference/commands/doctor.md index 92f5ff495..9d884677d 100644 --- a/website/docs/reference/commands/doctor.md +++ b/website/docs/reference/commands/doctor.md @@ -29,7 +29,12 @@ skillshare doctor Checking environment ✓ Config: ~/.config/skillshare/config.yaml + → Config directory: ~/.config/skillshare + → Data directory: ~/.local/share/skillshare + → State directory: ~/.local/state/skillshare + ✓ Source: ~/.config/skillshare/skills (12 skills) + ✓ Skillignore: 2 patterns, 1 skills ignored ✓ Link support: OK ✓ Git: initialized with remote @@ -54,6 +59,7 @@ Summary |-------|-----------------| | Config | Config file exists and is valid | | Source | Source directory exists and is readable | +| Skillignore | `.skillignore` active patterns and ignored skill count | | Link support | System can create symlinks | | Git | Repository status and remote configuration | diff --git a/website/docs/reference/commands/sync.md b/website/docs/reference/commands/sync.md index d8ca4e9ef..0feaae88e 100644 --- a/website/docs/reference/commands/sync.md +++ b/website/docs/reference/commands/sync.md @@ -113,6 +113,8 @@ skillshare sync --json "local": 2, "updated": 0, "pruned": 1, + "ignored_count": 2, + "ignored_skills": ["_team/vendor/lib", "test-draft"], "dry_run": false, "duration": "0.234s", "details": [ @@ -136,6 +138,8 @@ skillshare sync --json } ``` +The `ignored_count` and `ignored_skills` fields show skills excluded by `.skillignore`. These are filtered at discovery time and never reach any target. See [.skillignore](/docs/reference/targets/configuration#skillignore) for pattern syntax. + ### What Happens ```mermaid