Repository navigation
Conversation
…pport
- CLI: `target <name> --add-include/--add-exclude/--remove-include/--remove-exclude`
- SKILL.md `targets` frontmatter restricts sync to specified targets
- Cross-mode matching (e.g. "claude" matches "claude-code" project target)
- Web UI: inline filter editor on Targets page, target badges on Skills pages
- API: PATCH /api/targets/{name} for filter updates
- Fix drift detection in doctor/status/handler to account for skill-level targets
- `check` warns about unknown target names in skill-level targets field
- Docs: update skill-format, target command, configuration, creating-skills
…ackward compat Project targets now use the same short names as global targets (e.g., "claude" instead of "claude-code"). Old project_name values are preserved as aliases so existing configs continue to work. - Add Aliases field to targetSpec (deprecated, remove once safe) - Update 11 targets in targets.yaml: project_name = global_name - LookupProjectTarget falls back to alias lookup - Fix 3 callers that bypassed LookupProjectTarget - Extend MatchesTargetName and KnownTargetNames with alias support - Add TestLookupProjectTarget_Alias - Update all integration tests, docs, CLI help, and FAQ
When installing from a monorepo where skills live in a nested directory (e.g. skills/vue-best-practices/), specifying just the skill name as subdir (owner/repo/vue-best-practices) would fail because the exact path doesn't exist at the repo root. Now resolveSubdir scans all SKILL.md files and matches by basename, falling back gracefully with an ambiguity error when multiple candidates share the same name.
Add config.BaseDir() as single source of truth for base directory resolution. Replace all hardcoded ~/.config/skillshare paths. Path resolution priority: 1. SKILLSHARE_CONFIG env var (unchanged) 2. $XDG_CONFIG_HOME/skillshare (any platform) 3. %AppData%/skillshare (Windows only) 4. ~/.config/skillshare (Linux, macOS fallback) - Add config.BaseDir() with XDG_CONFIG_HOME + Windows %AppData% support - Update BackupDir(), TrashDir(), init default source to use BaseDir() - Show resolved base directory in doctor output - Add unit tests and integration tests for XDG override - Document XDG_CONFIG_HOME and update Windows paths in docs
Bump version 0.11.7 → 0.13.0 and document new features: - Target-level skill filtering (--add-include/--add-exclude) - Skill-level targets frontmatter field - Unified project target names (with alias backward compat) - XDG Base Directory support ($XDG_CONFIG_HOME) - Fuzzy subdirectory resolution for monorepo installs - Improved list UX (grouped display, --verbose/-v) - diff project mode support - check targets field validation - Target count 46+ → 48+
Replace the embedded SPA (go:embed + build tags) with runtime download from GitHub Releases. The binary no longer bundles UI assets — they are downloaded on first `skillshare ui` launch and cached at ~/.cache/skillshare/ui/<version>/. - Delete embed.go / embed_dev.go; add spa_disk.go with placeholder handler - Simplify ensureUIAvailable(): cache check before dev-mode fallback - Pre-download UI assets in `skillshare upgrade` (best-effort) - Remove Node stages from production and CI Dockerfiles - Keep Node stage in sandbox for playground UI cache pre-population - Remove ui-embed-check CI job and -tags dev build flag - Update Makefile, mise.toml, GoReleaser, release workflow
Separate backups/trash into XDG_DATA_HOME and logs into XDG_STATE_HOME instead of keeping everything under XDG_CONFIG_HOME. Add automatic migration at startup to move existing data to the new locations. Fix Windows path resolution: DataDir() and StateDir() now fall back to %AppData% on Windows (matching BaseDir()), preventing incorrect use of ~/.local/share and ~/.local/state paths. Add MigrateWindowsLegacyDir() to move pre-v0.13.0 data from ~\.config\skillshare\ to %AppData%\skillshare\ on Windows. Update doctor, oplog, backup, trash, and all tests/docs accordingly.
Summary of ChangesHello @runkids, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This release focuses on significant architectural and usability improvements, primarily by adopting XDG Base Directory standards for better file system organization and introducing more granular control over skill distribution. Users will benefit from a smaller binary, more flexible skill installation from monorepos, and enhanced management of target-specific filters, both via the command line and the Web UI. The changes also unify target naming conventions and improve the display of listed skills, making the tool more intuitive and powerful. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This is a substantial release that introduces several major features and architectural improvements. The implementation of XDG compliance with automatic migration is well-handled, especially the logic to update the source path in the config file. The runtime UI download is a great change to reduce binary size, and the implementation in internal/uidist appears robust with checksum validation and path traversal protection. The unification of project target names with alias support for backward compatibility is a thoughtful improvement. I've identified a couple of areas with code duplication between different commands (doctor/check and list/list_project) that could be refactored for better maintainability. Overall, this is a high-quality and impactful set of changes.
| // checkSkillTargetsField validates that skill-level targets values are known target names | ||
| func checkSkillTargetsField(source string, result *doctorResult) { | ||
| discovered, err := sync.DiscoverSourceSkills(source) | ||
| if err != nil { | ||
| return | ||
| } | ||
|
|
||
| knownNames := config.KnownTargetNames() | ||
| knownSet := make(map[string]bool, len(knownNames)) | ||
| for _, n := range knownNames { | ||
| knownSet[n] = true | ||
| } | ||
|
|
||
| var warnings []string | ||
| for _, skill := range discovered { | ||
| if skill.Targets == nil { | ||
| continue | ||
| } | ||
| for _, t := range skill.Targets { | ||
| if !knownSet[t] { | ||
| warnings = append(warnings, fmt.Sprintf("%s: unknown target %q", skill.RelPath, t)) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| if len(warnings) > 0 { | ||
| for _, w := range warnings { | ||
| ui.Warning("Skill targets: %s", w) | ||
| } | ||
| result.addWarning() | ||
| } | ||
| } |
There was a problem hiding this comment.
This function checkSkillTargetsField is nearly identical to warnUnknownSkillTargets in cmd/skillshare/check.go. To improve maintainability and reduce code duplication, consider refactoring this logic into a shared helper function. The shared function could take the sourceDir and return the list of warnings, and then each call site could handle the output (e.g., printing warnings and/or updating the doctor result).
| // displayProjectSkillsCompact displays project skills in compact mode, grouped by directory. | ||
| // Reuses extractGroupDir() and displayName logic from list.go via projectSkillEntry → skillEntry adapter. | ||
| func displayProjectSkillsCompact(skills []projectSkillEntry) { | ||
| // Check if any grouping is needed | ||
| hasGrouping := false | ||
| for _, s := range skills { | ||
| if extractGroupDir(s.RelPath) != "" { | ||
| hasGrouping = true | ||
| break | ||
| } | ||
| } | ||
|
|
||
| if !hasGrouping { | ||
| // Flat display | ||
| maxNameLen := 0 | ||
| for _, s := range skills { | ||
| if len(s.Name) > maxNameLen { | ||
| maxNameLen = len(s.Name) | ||
| } | ||
| } | ||
| for _, s := range skills { | ||
| suffix := getProjectSkillSuffix(s) | ||
| format := fmt.Sprintf(" %s→%s %%-%ds %s%%s%s\n", ui.Cyan, ui.Reset, maxNameLen, ui.Gray, ui.Reset) | ||
| fmt.Printf(format, s.Name, suffix) | ||
| } | ||
| return | ||
| } | ||
|
|
||
| // Group by parent directory | ||
| groups := make(map[string][]projectSkillEntry) | ||
| for _, s := range skills { | ||
| dir := extractGroupDir(s.RelPath) | ||
| groups[dir] = append(groups[dir], s) | ||
| } | ||
|
|
||
| var dirs []string | ||
| for k := range groups { | ||
| if k != "" { | ||
| dirs = append(dirs, k) | ||
| } | ||
| } | ||
| sort.Strings(dirs) | ||
| if _, ok := groups[""]; ok { | ||
| dirs = append(dirs, "") | ||
| } | ||
|
|
||
| for i, dir := range dirs { | ||
| if dir != "" { | ||
| if i > 0 { | ||
| fmt.Println() | ||
| } | ||
| fmt.Printf(" %s%s/%s\n", ui.Gray, dir, ui.Reset) | ||
| } else if i > 0 { | ||
| fmt.Println() | ||
| } | ||
|
|
||
| maxNameLen := 0 | ||
| for _, s := range groups[dir] { | ||
| name := projectDisplayName(s, dir) | ||
| if len(name) > maxNameLen { | ||
| maxNameLen = len(name) | ||
| } | ||
| } | ||
|
|
||
| for _, s := range groups[dir] { | ||
| name := projectDisplayName(s, dir) | ||
| suffix := getProjectSkillSuffix(s) | ||
| if dir != "" { | ||
| format := fmt.Sprintf(" %s→%s %%-%ds %s%%s%s\n", ui.Cyan, ui.Reset, maxNameLen, ui.Gray, ui.Reset) | ||
| fmt.Printf(format, name, suffix) | ||
| } else { | ||
| format := fmt.Sprintf(" %s→%s %%-%ds %s%%s%s\n", ui.Cyan, ui.Reset, maxNameLen, ui.Gray, ui.Reset) | ||
| fmt.Printf(format, name, suffix) | ||
| } | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
The logic for grouping skills by directory in displayProjectSkillsCompact is very similar to the helper functions (groupSkillEntries, displayName, etc.) in cmd/skillshare/list.go. To avoid code duplication, you could create a small adapter to convert []projectSkillEntry to []skillEntry and then reuse the grouping and display logic from list.go. This would make the display logic consistent and easier to maintain.
- Add CHANGELOG.md entry for v0.13.0 (Added/Changed/Fixed/Breaking) - Add RELEASE_NOTE_v0.13.0.md for GitHub release - README: update Recent Updates table, fix Windows paths to %AppData% - upgrade.md: document UI asset pre-download - install.md: document fuzzy subdirectory resolution for monorepos - check.md: document targets field validation warnings - intro.md, configuration.md, windows.md: fix remaining Windows paths
Ubuntu CI runners set XDG_CONFIG_HOME system-wide, causing config.BaseDir() in subprocesses to resolve outside the sandbox. Redirect XDG_CONFIG_HOME/DATA_HOME/STATE_HOME to sandbox paths so every test exercises the XDG codepath with proper isolation.
- Extract findUnknownSkillTargets() into target_helpers.go, shared by check and doctor commands - Reuse buildSkillEntries() + displaySkillsCompact() in project list, removing duplicate projectSkillEntry type and display functions - Silence MigrationSkippedDestinationExists warning that fired on every run after a successful migration
…rver Split ListenAndServe into Listen + Serve so port conflicts are detected before the browser is opened. Previously, openBrowser ran first and could connect to an old skillshare ui process on the same port.
Show exact commands (cd ui && pnpm run dev, make ui-dev) instead of a vague mention of Vite, so developers know how to start the frontend.
…m paths Move GetCacheDir() from version package to config.CacheDir(), consistent with BaseDir()/DataDir()/StateDir() pattern including Windows fallback. Add XDG_CACHE_HOME and cache paths to website docs.
…p paths All install methods now include the web dashboard via runtime download. Remove outdated Homebrew-only limitation notes. Add XDG data/state/cache directories to uninstall instructions.
skillshare v0.13.0 Release Notes
Release date: 2026-02-16
TL;DR
v0.13.0 is a platform and architecture release:
targetsfield restricts which targets a skill syncs to%AppData%paths on Windows, automatic migrationclaude, notclaude-code)What's New
1) Skill-level
targetsfieldControl which targets receive a specific skill via SKILL.md frontmatter:
This skill will only sync to Cursor, even if Claude and other targets are configured. Combined with per-target
include/excludefilters from v0.12.6, you now have fine-grained control at both the skill and target level.This feature (along with v0.12.6's target filters) was inspired by Discussion #22 — a user wanted to install different versions of the same skill from one repo and route each to its own target. With skill-level
targets+ per-targetinclude/exclude, this is now fully supported.CLI validation:
skillshare checkwarns about unknown target names in thetargetsfield.2) Target filter CLI + Web UI
Edit target include/exclude filters without touching
config.yaml:The Web UI Targets page also has an inline filter editor.
3) XDG Base Directory support
skillshare now follows the XDG Base Directory Specification:
~/.config/skillshare/%AppData%\skillshare\~/.local/share/skillshare/%AppData%\skillshare\~/.local/state/skillshare/%AppData%\skillshare\~/.cache/skillshare/%AppData%\skillshare\Override with
XDG_CONFIG_HOME,XDG_DATA_HOME,XDG_STATE_HOME.Migration is automatic — on first run, existing backups/trash/logs are moved to the new locations. Windows installs at
~\.config\skillshare\are migrated to%AppData%\skillshare\with config source path rewrite.4) Unified project target names
Project mode now uses the same short names as global mode:
claude-codeclaudegemini-cligeminiopencode-commandsopencodeOld names still work as aliases for backward compatibility. If your
.skillshare/config.yamluses old names, everything continues to function — but newinit -pwill use the short names.5) Runtime UI download
The
skillsharebinary no longer bundles frontend assets. On firstskillshare uilaunch, assets are downloaded from the matching GitHub Release and cached at~/.cache/skillshare/ui/<version>/.skillshare ui --clear-cache— reset cached assetsskillshare upgrade— pre-downloads UI assets for the new versionThis reduces the binary from ~5MB to ~3MB.
6) Fuzzy subdirectory resolution for monorepo installs
When installing a skill from a monorepo:
If
vue-best-practices/doesn't exist at the repo root, skillshare now scans all SKILL.md files and matches by directory basename. If multiple skills share the same name, an ambiguity error is shown with the full paths.7) Improved
listdisplaySkills are now grouped by directory with tree-style formatting:
Use
--verbose/-vfor detailed output with metadata.Breaking Changes
All breaking changes have automatic migration — no manual action required for most users.
~\.config\→%AppData%\claude-code→claude, etc.skillshare uiVerification
All changes covered by unit tests + integration tests. Run
make checkto verify.