FuzzyMatch
Fuzzy String matching/scoring algorithm thingy
Install / Use
/learn @jbt/FuzzyMatchREADME
Fuzzy String Matching
fuzzyMatch calculates a score for an item (a string or an object with string-valued properties)
against a string search term. The term does not necessarily have to be a substring of the item,
but instead the score is calculated against dominant parts of the search object. For example, the
string FuzzyStringMatching would score highly against the term FSM. If you've ever used the
Go To Anything feature in Sublime Text, you'll know what I mean.
The idea is that you use this function to give a rank to each item in a searchable array, which can then be used to find the most relevant item in the array quickly.
The algorithm is somewhat arbitrary based on the use-case against which it was originally written, but essentially it is tailored towards matching initial characters in camelCased strings highly, as well as consecutive substrings.
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
