skillhub/openspec/changes/separate-market-skill-sources/proposal.md
XiaoSeS 629be65109
Some checks are pending
Security / Dependency Review (push) Waiting to run
Security / CodeQL (java-kotlin) (push) Waiting to run
Security / CodeQL (javascript-typescript) (push) Waiting to run
Security / CodeQL (python) (push) Waiting to run
feat(search): separate platform and GitHub market discovery (#1100)
* feat(search): add compatible source filtering for marketplace

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

* feat(market): expose source selection with compatible discovery defaults

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

* docs(search): record source filtering implementation and local acceptance

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

* feat(market): refine discovery controls and incremental browsing

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

---------

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-11-17 14:25:03 +08:00

25 lines
1.3 KiB
Markdown

# Proposal
## Why
Issue #1095 reports GitHub-synchronized packages overwhelming the default market. Distinguish platform content from GitHub synchronization without changing existing API/CLI defaults, visibility or package coordinates.
## What Changes
- Add an optional ALL / PLATFORM / GITHUB search source, evaluated from the current Skill's GitHub-managed flag before ranking, count and pagination.
- The market defaults to PLATFORM and provides compact source selection; explicit namespace links preserve scoped discovery. Favorites retain their existing all-source behavior.
- Return authoritative source information for market cards. `/github` explicitly selects GitHub source while retaining its catalog scope.
- Apply PLATFORM to automatic homepage popular/latest lists; preserve explicitly curated configuration.
- Keep omitted API source and CLI/compat search behavior at ALL. No data migration, deduplication or access-policy change.
## Capabilities
### New Capabilities
- `skill-search-source`: Compatible source filtering and source-aware market discovery.
### Modified Capabilities
None.
## Impact
Search SPI/PostgreSQL adapter, portal application/controller/summary, React market/router/query keys/cards, automatic homepage queries, generated OpenAPI and bilingual docs. No new production dependency, service or schema migration.