skillshare icon indicating copy to clipboard operation
skillshare copied to clipboard

[Request] Add a profile feature

Open Ajaymamtora opened this issue 5 months ago • 2 comments

Hi, please could you add a profile feature where skills are assigned to a profile, where you can easily switch between these profile/presets?

Ajaymamtora avatar Jun 05 '26 08:06 Ajaymamtora

The gap here is quick switching between named selections. As in #156, filters can express the selection today, but switching means editing each target's filters and syncing. The selection has no name, and each switch rewrites the config.

The proposed model is:

  1. Named profiles: in the global or project config, each with skill include/exclude patterns using the existing target-filter syntax.
  2. One active name per config and machine, stored outside the shared config.
  3. The profile narrows existing ignore, target-filter and routing rules; it does not change source skills or install anything.
  4. skillshare profile use <name> plans and applies eligible skill targets; the dashboard can preview and confirm the same operation.
  5. Existing writers preserve modified deployed copies and unmanaged content during profile-aware sync. Discarding a modified managed copy requires an explicitly requested, verified snapshot first.

There is no active profile by default. Setups without profiles keep their current behaviour, apart from an output fingerprint added to skillshare's copy manifest. Definitions can travel with the config; the active name stays local. Machines sharing definitions must all upgrade before using them, because older binaries ignore profile state and can drop the section on save.

Five points for your direction:

  1. Whether you want this at all, given your answer in #156.
  2. Delivery of the core slice: one pull request of about 5,400 lines, a stack you merge in an order you name, or a reference you implement from. CONTRIBUTING says implementation is normally yours. The current plan keeps that core as one reference PR with ordered commits, alongside usable CLI and dashboard follow-ups.
  3. Whether the edit-preserving rule should apply to every copy-mode sync, not only when a profile is active. The proposed design keeps existing behaviour for users without profiles.
  4. The name profile beside audit --profile.
  5. An empty profile selecting nothing.

#202 is labelled pending, not approved. I am preparing an unapproved reference implementation at the author's request; that is not a claim of maintainer approval. The proposal and implementation PRs are drafts for review. Merging is your decision.

salmonumbrella avatar Nov 13 '26 03:11 salmonumbrella

Hosted follow-up, not a change to this issue: https://github.com/runkids/skillshare/issues/896. One active profile per machine stays the laptop model. A container with two callers needs both profiles live at once.

salmonumbrella avatar Nov 14 '26 00:11 salmonumbrella