Skip to main content

search

Change library search or comparison-screen change filtering. Use when SearchIndex ranking, limits, or ChangeSearchIndex behaviour is wrong.

Jump to install

Source facts

Repository
hoangsonww/Diffuse-Native-Apps
Last source activity
August 20, 2026 at 04:16
Detected SKILL.md language
English
Stars
2
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
search
description
Change library search or comparison-screen change filtering. Use when SearchIndex ranking, limits, or ChangeSearchIndex behaviour is wrong.
# Search `SearchIndex` is capability-agnostic: snapshots, sections, entities, properties. Adding a collector must not require search-code edits. - Empty or whitespace queries return nothing for snapshot search. - All terms must match (AND). - Ranking: exact title > prefix > substring > whole-word haystack. Ties break by newer date, then id. - `ChangeSearchIndex` empty query returns **all** changes (filter field, not a library search). Tests: `Tests/Domain/SearchIndexTests.swift` and search invariants. Do not introduce a ranking ML model.
View on GitHub